Difference between revisions of "Enable NTP"

From TheBestLinux.com
Jump to navigation Jump to search
 
Line 3: Line 3:
 
Then, click Services in the left pane, and scroll down in the right pane and look to see if Windows Time is listed.
 
Then, click Services in the left pane, and scroll down in the right pane and look to see if Windows Time is listed.
 
<br>
 
<br>
[[File:manage_computer.jpg|left|Manage Computer]]
+
[[File:Manage_computer.jpg|left|Manage_computer]]
 
<br>
 
<br>
 
If it is not listed in the Services, enable it with the following command from a command line window by typing:
 
If it is not listed in the Services, enable it with the following command from a command line window by typing:

Latest revision as of 21:09, 14 October 2012

Check to see if the Windows Time service is enabled in Windows services, by right clicking on My Computer and then left clicking on Manage.
Then, click Services in the left pane, and scroll down in the right pane and look to see if Windows Time is listed.


If it is not listed in the Services, enable it with the following command from a command line window by typing:

C:\W32tm /register


Configure NTP servers in the registry, by editing this registry key using regedit:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters


Edit the NTPServer key giving it the value of:

0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org,0x08

These are the standard client NTP servers for the U.S. The 0x08 tells the Windows Time service to run in client mode.

Restart the Windows Time service from the command line:

net stop "Windows Time"

and then start it back up with:

net start "Windows Time"

Windows OS time will sync with the NTP time servers within a minute or so.
Windows will now keep perfect time!