At your service locally, around the globe: Partner for consulting, sales, training, service, support, spare parts.... covering the entire rage of Siemens for industry. You will find your personal contact person in our

How do you configure your PC as NTP server?

Entry

Associated product(s)

The Network Time Protocol (NTP) is a standard for synchronizing computer system clocks over package-based communication networks.

Although this is usually done via UDP, it can also be transported by other Layer 4 protocols such as TCP, for example. It was specially developed to enable reliable time relaying over networks with variable package runtimes.

The Simple Network Time Protocol (SNTP) is a simplified version of NTP. It is described in RFC 2030. The Network Time Protocol (NTP) is described in RFC 958.

Instructions for Windows 2000, Windows XP, Windows Server 2003 and Windows Server 2008 (32-bit) Follow the instructions to configure your local PC as NTP server. In this way you can synchronize other devices with the local PC.

Open the registry editor via "Start > Run... > regedit".

Search for the code "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters".

Set the "LocalNTP" value to 1.

Fig. 01

Note

If the "LocalNTP" value does not exist in your system, create a new DWORD value.

The value 0 means disabled, 1 means enabled

Restart the computer to make the changes effective.

Procedure for Windows 7 (32-bit and 64-bit), Windows Server 2008 R2 (64-bit) and 2012 R2 (64-bit)Follow the instructions to configure your local PC as NTP server. In this way you can synchronize other devices with the local PC.

Stop the "Windows Time" service under Start > Control Panel > System and Security > Administrative Tools > Services.

Fig. 02

Open the registry editor via "Start > Run... > regedit".

Search for the code "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer".

Set the "Enable" value to 1.

Fig. 03

Search for the code "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config".

Set the "AnnounceFlags" value to 5.

Fig. 04

Start the "Windows Time" again and set the start type to "Automatic".

Note

When using the Windows server 2012 R2 (64-bit), after Step 7 you have to set the start type to "Automatic (Delayed Start)" for the service to start automatically. The instructions below are for configuring the Windows Time service when using an internal hardware clock and an external time source:

If the firewall is enabled, it must be configured to permit external access to Port 123. This is necessary because the time server service expects external request messages.

WarningChanges in the Registry might lead to unexpected problems requiring you to reinstall your system. We cannot guarantee that problems arising from changes in the registry can be solved. Changes in the Registry are made entirely at the user's own risk.

Security information

In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about industrial security, please visit