Some useful windows time service commands
Difference between w32tm and net time.
Windows 2000 used Simple Network Time Protocol (SNTP) and the net time command for time keeping. Windows XP and 2003 uses Network Time Protocol (NTP) and w32tm service for time keeping. As with most MS product, w32tm is backwards compatible.
What time server is being used on a machine?
Check the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer
How to update the time on a system?
w32tm /resync /rediscover
Configure a new time server?
w32tm /config /manualpeerlist:peer /syncfromflags:manual /update
Replace peer with the time server name.
Leave a comment