From LedHed's Wiki
Jump to: navigation, search
(Created page with ''''Stop the W32Time service:''' net stop w32time '''Configure the external time sources:''' w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.or...')
 
Line 1: Line 1:
 +
== Windows 2003 & XP ==
 +
 +
'''Stop the Windows Time service'''
 +
net stop w32time
 +
 +
'''Force a resync'''
 +
w32tm /resync
 +
 +
'''Set the time source'''
 +
net time /setsntp:<Time_Source>
 +
 +
'''View the current time source'''
 +
net time /querysntp
 +
 +
 +
Note: In most cases you dont need to stop the w32time service anymore.
 +
 +
 +
 +
 +
== Windows 2008 Server ==
 +
 
'''Stop the W32Time service:'''
 
'''Stop the W32Time service:'''
 
  net stop w32time
 
  net stop w32time
Line 15: Line 37:
  
  
== Reference ==
+
=== Reference ===
 
http://defaultreasoning.wordpress.com/2009/11/16/synchronize-time-with-external-ntp-server-on-windows-server-2008-r2/
 
http://defaultreasoning.wordpress.com/2009/11/16/synchronize-time-with-external-ntp-server-on-windows-server-2008-r2/
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 03:08, 28 January 2011

Windows 2003 & XP

Stop the Windows Time service

net stop w32time

Force a resync

w32tm /resync

Set the time source

net time /setsntp:<Time_Source>

View the current time source

net time /querysntp


Note: In most cases you dont need to stop the w32time service anymore.



Windows 2008 Server

Stop the W32Time service:

net stop w32time

Configure the external time sources:

w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org”

Make your PDC a reliable time source for the clients:

w32tm /config /reliable:yes

Start the w32time service:

net start w32time

The windows time service should begin synchronizing the time.

Check the external NTP servers in the time configuration by typing:

w32tm /query /configuration



Reference

http://defaultreasoning.wordpress.com/2009/11/16/synchronize-time-with-external-ntp-server-on-windows-server-2008-r2/