Active Directory: Time Sync All DCs

Filed under: Active Directory, Tech Stuff — Written by Chrissy on Tuesday, October 17th, 2006 @ 4:16 pm

Near as I can figure, AD automatically sets each DC to sync time with the master DC. In order to make sure the master DC has the proper time and is set to be an available & reliable time source, run the following commands:

NET TIME /SETSNTP:time.windows.com
NET STOP W32TIME
NET START W32TIME
W32TM /config /reliable:YES
W32TM /resync /rediscover

Next, run the following command on the other DCs.

W32TM /resync /rediscover

And you're done!

5 Comments   -
  • Comment by Jason | January 17, 2007 @ 12:39 pm

    Thanks for this info... It saved me... I found you via Google...

  • Comment by Javier Callico | March 11, 2007 @ 2:46 pm

    Thanks for the article.

  • Comment by Pedro | March 19, 2007 @ 6:04 pm

    When I put in the last command master DC
    W32TM /resync /rediscover
    I get an error the computer did not resync because no time data was available.

  • Comment by Radek Dolezel | April 13, 2007 @ 8:47 am

    I have used the following sequence on my PDC emulator:
    1a) w32tm /config /update /syncfromflags:MANUAL /manualpeerlist:time.windows.com,0x1
    or
    1b) net time /setsntp:time.windows.com,0x1
    2) net stop w32time
    3) net time w32time
    4) net time /querysntp (for quick check)

    On all other ADs:
    1) w32tm /resync /rediscover

    RD

  • Comment by Anne-Marie | April 26, 2007 @ 2:20 pm

    Thanks for the info; I used Radek's suggestion (step 1a) and it worked like a charm.

Leave your comment