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