Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:configuring_the_windows_time_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:configuring_the_windows_time_service [2017/10/30 00:02]
wikiadmin
wiki:configuring_the_windows_time_service [2017/10/30 00:04] (current)
Line 31: Line 31:
 This registry entry determines which peers W32Time will accept synchronization from. Change this REG_SZ value from NT5DS to NTP so the PDC Emulator synchronizes from the list of reliable time servers specified in the NtpServer registry entry described below. This registry entry determines which peers W32Time will accept synchronization from. Change this REG_SZ value from NT5DS to NTP so the PDC Emulator synchronizes from the list of reliable time servers specified in the NtpServer registry entry described below.
  
-  --HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags+<​code>​HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags</​code>​
  
 This registry entry controls whether the local computer is marked as a reliable time server (which is only possible if the previous registry entry is set to NTP as described above). Change this REG_DWORD value from 10 to 5 here. This registry entry controls whether the local computer is marked as a reliable time server (which is only possible if the previous registry entry is set to NTP as described above). Change this REG_DWORD value from 10 to 5 here.
  
-  --HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer+<​code>​HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer</​code>​
  
 This registry entry specifies a space-delimited list of stratum 1 time servers from which the local computer can obtain reliable time stamps. The list may consist of one or more DNS names or IP addresses (if DNS names are used then you must append ,0x1 to the end of each DNS name). For example, to synchronize the PDC Emulator in your forest root domain with tock.usno.navy.mil,​ an open-access SNTP time server run by the United States Naval Observatory,​ change the value of the NtpServer registry entry from time.windows.com,​0x1 to tock.usno.navy.mil,​0x1 here. Alternatively,​ you can specify the IP address of this time server, which is 192.5.41.209 instead. This registry entry specifies a space-delimited list of stratum 1 time servers from which the local computer can obtain reliable time stamps. The list may consist of one or more DNS names or IP addresses (if DNS names are used then you must append ,0x1 to the end of each DNS name). For example, to synchronize the PDC Emulator in your forest root domain with tock.usno.navy.mil,​ an open-access SNTP time server run by the United States Naval Observatory,​ change the value of the NtpServer registry entry from time.windows.com,​0x1 to tock.usno.navy.mil,​0x1 here. Alternatively,​ you can specify the IP address of this time server, which is 192.5.41.209 instead.
Line 41: Line 41:
 Now stop and restart the Windows Time service using the following commands: Now stop and restart the Windows Time service using the following commands:
  
-  --net stop w32time+<​code>​net stop w32time</​code>​
  
-  --net start w32time+<​code>​net start w32time</​code>​
  
 It may take an hour or so for the PDC Emulator to fully synchronize with the external time server because of the nature of the polling method W32Time uses. Depending on the latency of your Internet connection, the accuracy of the CMOS clock on your forest root PDC Emulator may be within a second or two of UTC. If you need more accurate time however, you can purchase a hardware time source like an atomic clock and connect it to your PDC emulator. It may take an hour or so for the PDC Emulator to fully synchronize with the external time server because of the nature of the polling method W32Time uses. Depending on the latency of your Internet connection, the accuracy of the CMOS clock on your forest root PDC Emulator may be within a second or two of UTC. If you need more accurate time however, you can purchase a hardware time source like an atomic clock and connect it to your PDC emulator.
Line 49: Line 49:
 Alternatively,​ if you don’t want to wait for time convergence to occur between your stratum 2 time server (your forest root PDC Emulator) and the external stratum 1 time server, you can run the following command on your PDC Emulator: Alternatively,​ if you don’t want to wait for time convergence to occur between your stratum 2 time server (your forest root PDC Emulator) and the external stratum 1 time server, you can run the following command on your PDC Emulator:
  
-  --w32tm /resync /rediscover+<​code>​w32tm /resync /rediscover</​code>​
  
 Tip  Tip 
wiki/configuring_the_windows_time_service.txt · Last modified: 2017/10/30 00:04 (external edit)