Sunday, March 13, 2011

Useful Windows Time commands


Some helpful WIndows Time Service commands

Re-sync: w32tm /resync /nowait

Re-sync to computer: w32tm /resync /nowait /computer:computername

Double check if its working: w32tm /monitor /domain:mydomain.com

See settings: w32tm /dumpreg /subkey:parameters

Then look at the Type:

NoSync: The client does not synchronize time.

NTP: The client synchronizes time from an external time source. Review the values in the NtpServer line in the output to see the name of the server or servers that the client uses for time synchronization.

NT5DS: The client is configured to use the domain hierarchy for its time synchronization.

AllSync: The client synchronizes time from any available time source, including domain hierarchy and external time sources.

Registry settings found here: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters] "NtpServer"="" "Type"="NT5DS"

No comments: