Windows Time, net time, w32tm.exe, whatever

This one keeps biting me. I always forget what the dance is, but as I’ve just done one, this is what you do to set your Windows Server DC to get reliable time in the UK:

Get an elevated command prompt and do the following:

w32tm /config /manualpeerlist:”0.uk.pool.ntp.org,0x8 1.uk.pool.ntp.org,0x8 2.uk.pool.ntp.org,0x8 3.uk.pool.ntp.org,0x8″ /syncfromflags:MANUAL

and for DCs only:

w32tm /config /reliable:yes

or alternatively (but deprecated)

net time /setsntp:”0.uk.pool.ntp.org 1.uk.pool.ntp.org 2.uk.pool.ntp.org 3.uk.pool.ntp.org”

then

net stop “windows time”

net start “windows time”

w32tm /resync

Job done.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

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