Monday, May 21, 2012

Correct windows time issues via command prompt

This was applicable for me on a server 2003 computer.

There were no simple options to update the time automatically, as in later reiterations of windows.

The following commands were required. Each line indicates you should of pushed enter at the last line.

In a cmd window with permissions:

net stop w32time
w32tm /config /manualpeerlist:$domain,0x8 /syncfromflags:MANUAL /reliable:yes /update
net start w32time
w32tm /resync

you should get a success message.
$domain is any time service domian, for exmaple would make the command look like:
w32tm /config /,0x8 /syncfromflags:MANUAL /reliable:yes /update

Here is a list of time servers:

No comments:

Post a Comment