Windows Server 2008R2/2012 Time Sync

I did a post HERE last year regarding verifying NTP settings on a Windows Server.  Now, I recently needed to go a step farther and force a server to time sync with a DC.  Here are the relevant commands:

To find out what server is the time server on your domain, run:
C:\> nltest /dsgetdc:DomainName /timeserv

To verify the domain time server (displayed in the previous output) is reachable, run:
C:\> nltest /server:ServerName /query

Finally, to force a time sync, run:
C:\> w32tm /resync /computer:LocalServerName /rediscover

You can also use the shorter version: w32tm /resync

The LocalServerName is the server/pc you would like to force the time sync on.

**If you are having time sync issues and you are running in a VMware environment, check the ntp status of the VMware host and verify that time is correct**

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s