I have no idea what I'm doing.

Tuesday, November 3, 2009

Time server synchronization in Windows Server 2008

There's been a change in the way you configure your time server synchronization in 2008. Previously you'd use the net time command. So in 2003 you'd do something like:
net time /setsntp:timeserver1.domain.com,timeserver2.domain.com
net time /set

In Windows 2008 you use the w32tm command:
w32tm /config /syncfromflags:MANUAL /manualpeerlist:timeserver1.domain.com,timeserver2.domain.com
w32tm /config /update

You can query your current settings with the following relative commands:
net time /querysntp
w32tm /query /source

For non-domain PCs the workstation defaults to time.microsoft.com. There's an "Internet Time" tab (Windows 7) in the date/time properties dialog box.

No comments:

Post a Comment