Setting the Time on Windows Server Using NTP Server.

To configure an external time source on the PDC emulator, execute the following command (pool.ntp.org, used here only as an example):

w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL /update

Always restart the windows time service (w32time) when making any changes:

net stop w32time
net start w32time

To force synchronization with the external time source:

w32tm /resync

To verify the time source you just set:

w32tm /query /source

On Domain Members

To synch  a domain member server or workstation to the domain hierarchy, execute:

w32tm /config /update /syncfromflags:DOMHIER

restart W32Time Services:

net stop w32time
net start w32time

To verify time synchronization  is functioning:

w32tm /query /status
Advertisements
Tagged with: , , , ,
Posted in Windows

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

%d bloggers like this: