Differences

This shows you the differences between the selected revision and the current version of the page.

howtos:computers:windows:ntp 2009/12/02 10:50 howtos:computers:windows:ntp 2009/12/29 12:01 current
Line 5: Line 5:
:!: Note that you don't want to do this on a computer (PC or server) that is part of a domain, as this computer should pick up time from the Domain Controller. You **should** do this on the domain controller itself though. The DC, in turn, will hand out the correct time to the rest of the computers. :!: Note that you don't want to do this on a computer (PC or server) that is part of a domain, as this computer should pick up time from the Domain Controller. You **should** do this on the domain controller itself though. The DC, in turn, will hand out the correct time to the rest of the computers.
 +===== Method 1 =====
 +  * Run these commands
 +<code>
 +w32tm /config /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org" /syncfromflags:MANUAL /reliable:yes
 +w32tm /config /update
 +net stop W32Time && net start W32Time
 +w32tm /resync /rediscover
 +</code>
 +  * If the last part complains about //stale time//, set the computer's time **back** so it is about 3 minutes before the actual time. It may take up to 10 minutes for the time to sync, and after about a day it should be perfect. This is because NTP will only change the time by small intervals every second.
 +
 +===== Method 2 (alternative) =====
 +  * Only use this if Method 1 does not work, as it is more reliable.
  * Make a new text file (call it ntp.reg) and put the following in it:   * Make a new text file (call it ntp.reg) and put the following in it:
<code> <code>
Line 23: Line 35:
  net stop w32time && net start w32time   net stop w32time && net start w32time
 +===== See Also =====
 +  * [[http://support.microsoft.com/kb/314054|Microsoft KB 314054]]
 
howtos/computers/windows/ntp.txt · Last modified: 2009/12/29 12:01 by andrew
 
Recent changes RSS feed Driven by DokuWiki