How to configure a Windows Server PC to be an NTP server.
The Network Time Protocol (NTP) in Windows can be configured to be a NTP server which will provide system clock information to other network client machines. This can be used to keep all machines on the network synchronized with the same system time. The following steps can be used to configure the Windows registry for NTP services.
BE VERY CAREFUL WHEN EDITING THE REGISTRY. IF THESE STEPS ARE NOT FOLLOWED EXACTLY, YOU MAY INADVERTENTLY ALTER SOMETHING WHICH CAN CORRUPT YOUR WINDOWS OPERATING SYSTEM. SCHNEIDER ELECTRIC CANNOT BE HELD RESPONSIBLE IF THESE DIRECTIONS ARE NOT FOLLOWED EXACTLY
- Click 'Start\Run' and enter "regedt32" into the text box. Press Enter to open the Windows registry editor.
- Double click the key labeled "AnnounceFlags" in the center detail pane. This opens a configuration dialog window.
- Enter "A" into the DWORD value text box. Click "OK" to save your settings.
- Double click the key labeled 'Enabled' in the center detail pane. This opens a configuration dialog window.
- Enter "1" into the DWORD value text box.
- Click "OK" to save your settings.
- Close the Windows registry editor.
The next steps do not involve the Windows Registry, they will assist in determining the PHY that Windows will use for the NTP Server. Windows does not allow user selection of the Network Connection (Adapter or PHY) for W32Time\NtpServer, it will select the Connection based on the Network Adapters list in the Device Manager.
For the Windows machine that will act as the NTP Server, open the 'Device Manager' and expand on the machines Network Adapters:
- Make note of the PCI Ethernet Controller in the list, it will most likely be the adapter that W32Time\NtpServer will use.
- Open the Network Connection window
- Select the appropriate Network Adapter that was found in the Device Manager list.
- Right click on the adapter and select 'Properties'.
- Click on the button labeled 'Use the following IP address' in the Internet Protocol (TCP/IP) Properties' window.
- Enter the IP address to be used for the NTP Server (i.e., 192.168.2.199)
- Click on OK to close the Internet Protocol (TCP/IP Properties' window. .
- Click on OK to close the 'Local Area Connection Property' window.
net stop w32time && net start w32time
- Disable any extra connection related items (i.e., QoS, Sharing, IPV6, etc.) that does not need to be running on the NTP Server.
- Click 'Start\Run'
- Enter the following into the command prompt:
Legacy KB System (APS) Data: RESL208384 V1.0, Originally authored by AlCh on 06/12/2012, Last Edited by AlCh on 06/12/2012
Related ranges: Modicon Premium