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

3 Answers 3

up vote 16 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

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.