Sync domain controller time with Microsoft NTP servers

Workstation/server clocks wondering? What a pain..

So there are a ton of ways to do this, but this is what how I like to do it.

1. Open an elevated command prompt
2. Check your current time server : w32tm /query /configuration

This should return you something like:


NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (Local)
Type: NTP (Local)
NtpServer: (Local)

3. Set your time server : w32tm /config /syncfromflags:manual /manualpeerlist:””
4. Mark your time servers as reliable: w32tm /config /reliable:yes
5. Restart time services. net stop w32time -then- net start w32time

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Bitnami banner