Setting time on Windows XP via NTP

Windows XP has a built-in timesynchronization feature that’s designed to automaticallysynchronize your computer’s clock with an Internet time server on aregular basis. To access this feature, double-click the clock inthe notification area of the taskbar. From the Date And TimeProperties dialog box, select Internet Time. Make sure that theAutomatically Synchronize With An Internet Time Server check box isselected.

The Server drop-down list contains two timeservers: Microsoft’s time server at time.windows.com and the U.S.government’s atomic clock at time.nist.gov.

While you can manually type the name of anytime server that uses the Simple Network Time Protocol (SNTP) inthe Server text box, it’s more convenient to add time servers tothe list. However, this feature is available only onstand-alone Windows XP systems or systems that are a part of aworkgroup; it is not available on Windows XP Professional systemsthat are a part of a domain. Here’s how to add time servers:

  1. Launch the Registry Editor (Regedit.exe).
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current
    Version\DateTime\Servers.
  3. Right-click the Servers key, and select New | String value.
  4. Name the value 3, and press [Enter] twice to access the Edit StringValue dialog box.
  5. Type the address of the SNTP time server in the Value Data textbox, and click OK.
  6. Repeat Steps 3 through 5 for each additional SNTP time server youwant to add, incrementing the value name each time: 4, 5, 6, and soon.
  7. Close the Registry Editor.

For a list of acceptable SNTP time servers, see Microsoft Knowledge Base article Q262680.

Advertisements

Outlook crashes when printing

Outlook keeps its printing style settings in a file called OutlPrnt. You can run into several issues like these hangs and crashes when the file gets corrupted. On multiple occasions I’ve also seen messages been printed in right-to-left format instead of left-to-right due to OutlPrnt corruptions.

You can recover from this by renaming the OutlPrnt file to .old when Outlook is closed. You can find the file here;
Windows Vista and Windows 7

C:\Users\%username%\AppData\Roaming\Microsoft\Outlook\

Windows XP

C:\Documents and Settings\%username%\Application Data\Microsoft\Outlook\

Active Directory Saved Queries

Locked Out Users

(objectCategory=Person)(objectClass=User)(lockoutTime>=1)

Dial In Access

(&(&(&(&(objectCategory=person)(objectClass=user)(msNPAllowDialin=TRUE)))))

Disabled User Accounts

(&(objectCategory=person)(objectClass=user)
(userAccountControl:1.2.840.113556.1.4.803:=2))

No Expiring Accounts

(&(objectCategory=person)(objectClass=user)
(userAccountControl:1.2.840.113556.1.4.803:=65536))

Active Accounts

(&(&(objectCategory=person)(objectClass=user)
(!userAccountControl:1.2.840.113556.1.4.803:=2)))

Hidden Mailboxes

(&(objectCategory=person)(objectClass=user)(msExchHideFromAddressLists=TRUE))

How to Disable the System Beep in Windows 7

Click on Start and right click on My Computer. Choose Manage from the menu to open the Computer Management window.

In the left hand pane, expand the group labeled System Tools and click on Device Manager.

Not all devices in your PC are displayed in the Device Manager window by default. Some devices are hidden so you need to tell Window 7 to display the hidden devices. On the menu bar, click on View->Show Hidden Devices.

Back on the Computer Management window, locate and click on a group labeled Non-Plug and Play Drivers. Here you will find a long list of non-plug and play devices connected to your computer and recognized by Windows 7. Locate an item labeled Beep, right click on it, and select Properties from the menu.

On the Beep Properties window, click the Driver tab and change the Startup Type to Disabled.

Click the OK button and restart Windows 7. From now on, you will no longer be annoyed by the occasional system beep from within your PC’s case. If you ever have need for the system beep again, follow the instructions above but change the Startup Type to System instead. Then, your internal speaker will continue to function normally with Windows 7
Once the only sound of which PCs were capable, a computer’s internal speaker is now only a diagnostic tool to troubleshoot PCs with hardware errors. Using the Windows 7 Device Manager window, you can disable the System Beep and stop those annoying beeps from within your computer’s case.
This is a much better solution than removing the speaker from within your PC since you or another troubleshooter may need it diagnose some computer errors.

VBScript to change ‘My Computer’ to the actual Computer’s name

'==============================================================================
'LANG       : VBScript
'NAME       : computername.vbs
'DESCRIPTION: Changes My Computer to actual Computername
'==============================================================================
Option Explicit

Const HKEY_CLASSES_ROOT = &H80000000
Const HKEY_CURRENT_USER = &H80000001
Const HKEY_LOCAL_MACHINE = &H80000002
Const HKEY_USERS = &H80000003
Const HKEY_PERFORMANCE_DATA = &H80000004
Const HKEY_CURRENT_CONFIG = &H80000005
Const HKEY_DYN_DATA = &H80000006

Const REG_NONE = 0
Const REG_SZ = 1
Const REG_EXPAND_SZ = 2
Const REG_BINARY = 3
Const REG_DWORD = 4
Const REG_DWORD_LITTLE_ENDIAN = 4
Const REG_DWORD_BIG_ENDIAN = 5
Const REG_LINK = 6
Const REG_MULTI_SZ = 7
Const REG_RESOURCE_LIST = 8

Dim strComputer
Dim objReg
Dim strKeyPath
Dim strValueName
Dim strValue

'==============================================================================
'==============================================================================
'Main Body
On error resume next

strComputer = "."
'wscript.echo "Binding to Registry Provider"
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
strValueName = "LocalizedString"
strValue = "%COMPUTERNAME%"

'wscript.echo "Setting Registry Key"
objReg.SetExpandedStringValue HKEY_CLASSES_ROOT,strKeyPath,strValueName,strValue

if Err.Number <> 0 then
    wscript.echo ("Error # " & CStr(Err.Number) & " " & Err.Description)
End if

wscript.quit (Err.number)

Installing Microsoft Exchange Tools on Windows XP

To start out, you will need the Microsoft Exchange 2003 CD or a network location with it installed

  • On your Windows XP system, go to the your Exchange 2003 CD or network location and run the setup located
  • <drive>: \setup\i386\setup.exe
  • Once it loads on the Component Selection page, do the following:
  • Under Component Name, locate Microsoft Exchange. In the corresponding Action column, select Custom.
  • Under Component Name, locate Microsoft Exchange System Management Tools. In the corresponding Action column, select Install(see figure below).
    Microsoft Exchange System Management Tools installation option

  • Click Next.
  • The rest is just hitting next or install until your finished.

.