Reset NTP configuration on Domain Controllers

Hi all,

Not’s the first time I write talking about how to configure time service on Domain Controllers. With the below actions, you can reset time service settings and configure it to find the NTP Server (PDC is the best practice to configure as corporate NTP Server).

So let’s reset the time service on the non-PDCs back to their default:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

Then set the non-PDCs to sync to the default time hierarchy:

w32tm /config /syncfromflags:domhier /update
net stop w32time
net start w32time

To check the status use:

w32tm /query /status

Regards

Configuring time in a Forest

Hi friends,

Configure time on a forest it´s easy but here I put the command if you are with a lot of work and have not enought time to check it 😉

Command to configure time in your PDC Domain Controller:

w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:yes /update

Command to force sincronization from your PDC Domain Controller to external time server (time.windows.com in this example):

W32tm /resync /computer:time.windows.com /nowait

Restart your w32time service after these two actions

Configure time on the rest of your Domain Controllers:

w32tm /config /syncfromflags:domhier /update

Restart your w32time service after

This entry on the technet blog it´s very usefull!

http://blogs.technet.com/b/nepapfe/archive/2013/03/01/it-s-simple-time-configuration-in-active-directory.aspx

Regards!