Configure time sync on Windows Computers

Posted: March 6, 2013 in Information, Windows General
Tags: , , , ,

A bunch of commands to set various Windows Time Sync options

Set internet time sync … 97(v=ws.10).aspx

  • On AD Domain Controller with PDC Emulator role get time from Internet
 w32tm /config / /syncfromflags:manual /reliable:yes /update
  • If you’ve just demoted the PDC Emulator AD Domain Controller and need to set the old one to sync from the domain again as a normal DC
net stop w32Time
w32tm /unregister
w32tm /register 
net start w32time
w32tm /resync
  • For DMZ workgroup computers or Virtual Host machines get time from Internet
 w32tm /config / /syncfromflags:manual /update
  • For domain members get time from Domain
 w32tm /config /syncfromflags:domhier /update
  • Check current status
 w32tm /query /status [/verbose]
  • Force time sync
 w32tm /resync
  • Compare time difference with another computer in real-time
 w32tm /stripchart /computer:[remote computer]
  1. […] then configured my server to synchronize the clock with a time source like is shown here or […]

  2. Preet says:

    gr8 blog thanks alot, the content is awesom3

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s