w32tm [/? | /service | /testservice | /register | /unregister ] ? - this help screen. service - run as a real service. Must be called by the service control manager. testservice - pretend to run as a service. register - register to run as a service and add default configuration to the registry. unregister - unregister service and remove all configuration information from the registry. w32tm /monitor [/domain:] [/computers:[,[,...]]] [/alert:,[,...],] [/threads:] domain - specifies which domain to monitor. If no domain name is given, or neither the domain nor computers option is specified, the default domain is used. This option may be used more than once. computers - monitors the given list of computers. Computer names are separated by commas, with no spaces. If a name is prefixed with a '*', it is treated as a PDC. This option may be used more than once. alert - indicates a condition under which the program should return an error. Hex notation is supported. must be negative. This option may be used more than once. Alerts are evaluated in the order they are listed on the command line. Available alerts: MaxSpread,, - returns retval if the range of all offsets returned is greater than param1 seconds. MinServers,, - returns retval if the number of computers that successfully respond to an NTP query is less than param 1. threads - how many computers to analyze simultaneously. The default value is 3. Allowed range is 1-50. w32tm /ntte Convert a NT system time, in (10^-7)s intervals from 0h 1-Jan 1601, into a readable format. w32tm /ntpte Convert an NTP time, in (2^-32)s intervals from 0h 1-Jan 1900, into a readable format. w32tm /resync [/computer:] [/nowait] [/rediscover] [/soft] Tell a computer that is should resynchronize its clock as soon as possible, throwing out all accumulated error statistics. computer: - computer that should resync. If not specified, the local computer will resync. nowait - do not wait for the resync to occur; return immediately. Otherwise, wait for the resync to complete before returning. rediscover - redetect the network configuration and rediscover network sources, then resynchrionize. soft - resync utilizing existing error statistics. Not useful, provided for compatibility. w32tm /sysexpr Display when a pre-release copy of Windows expires. w32tm /stripchart /computer: [/period:] [/dataonly] [/file:] Display a strip chart of the offset between this computer and another computer. computer: - the computer to measure the offset against. period: - the time between samples, in seconds. The default is 2s dataonly - display only the data, no graphics. file: - write to file . samples: - collect samples, then stop. If not specified, samples will be collected until Ctrl-C is pressed. w32tm /config [/computer:] [/update] [/manualpeerlist:] [/syncfromflags:] [/LocalClockDispersion:] computer: - adjusts the configuration of . If not specified, the default is the local computer. update - notifies the time service that the configuration has changed, causing the changes to take effect. manualpeerlist: - sets the manual peer list to , which is a comma separated list of DNS and/or IP addresses. syncfromflags: - sets what sources the NTP client should sync from. should be a comma separated list of these keywords (not case sensitive): MANUAL - include peers from the manual peer list DOMHIER - sync from a DC in the domain hierarchy localclockdispersion: - sets the dispersion reported by the time service when its only source of time is the local clock. A value of 16 or greater means that the local clock is not trustworthy and no clients will sync from this server if it is relying on its local clock. w32tm /testif [ /gnsb [/computer:] | /vjc | /vuc ] Perform an interface test. gnsb - test 'get netlogon service bits'. vjc - call 'verify join config'. vuc - call 'verify unjoin config'. w32tm /tz Display the current time zone settings. w32tm /dumpreg [ /subkey: ] Displays the values associated with a given registry key. The default key is HKLM\System\CurrentControlSet\Services\W32Time (the root key for the time service). subkey - display the values associated with a subkey root key.