Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What is the command to sync a Windows server domain controller to its configured time source?

share|improve this question

4 Answers 4

up vote 18 down vote accepted

As Kyle said w32tm /resync is the modern way to do this. See this Link to Microsoft Knowledgebase for more information on the w32tm command.

There is also net time which is an older version but perhaps easier.

share|improve this answer

You can use the following command:

w32tm /resync

share|improve this answer

You can use w32tm /resync. but additionally.

Using w32tm /resync /rediscover will also "force redetection of network resourced before resynchronization."

Or using:

net time /set

Will prompt you to set the time to the DC. (Works for older versions of Windows)

share|improve this answer
For some reason w32tm /resync didn't work for me but net time /SET /Y did. I used /Y for net time because it apparently doesn't read stdin properly when going through sshd from cygwin. –  qwertzguy Jan 14 at 3:40

For those that still asking this question.

  1. To update, use the command below (2008 and 2012 server compatible)

    w32tm /config /manualpeerlist:"ntp_server" /syncfromflags:manual /reliable:yes /update

change the ntp_server with your source

  1. Restart the time service

    net stop w32time
    net start w32time
  2. Resync the time

    w32tm /resync
  3. Verify your sync status

    w32tm /query /status

Commands above should be fine if your sources are working correctly and/or your connection is OK (firewall or Microsoft Forefront can be an issue also). The commands below can help with troubleshooting

To list out peers

w32tm /query /peers

To list out NTP Sources:

w32tm /query /source
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.