Thursday, July 17, 2008

Windows domain using a ntp time server how to

If you want your Domain Controllers to be in sync especially if you are in Eastern Europe Contry's windows 2000 server does not know when the time changes on the other hand the windows 2003 server knows and where i work they are primary and aditional DC.
So what to do make them bouth use the same external ntp time server.

Step 1

Run-->cmd

Step 2

Type net time /setsntp:1.ro.pool.ntp.org (ntp_server adress)

Step 3 restart the time service

net stop w32time
net start w32time


Step 4

Verify the ntp server was added to registry.Type:
net time /querysntp

If you want to stop using ntp server type:
net time /setsntp
and restart the time server like i showd you above.

According to posts in Usenet newsgroups, the following sequence of commands (entered at the command prompt) fixes timekeeping problems under Windows XP:
net stop w32time
w32tm /unregister [ignore error message]
w32tm /unregister [enter a second time]
w32tm /register
net start w32time

No comments:

Post a Comment