plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

configure your PC as NTP server

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
AnteSavilt
Member 2
Member 2
AnteSavilt

Joined: 13 Feb 2018
Posts: 264
Location: Croatia

PostPosted: 30/07/2021 18:41    Post subject: configure your PC as NTP server Reply with quote

How do you configure your PC as NTP server?
https://support.industry.siemens.com/cs/document/22144502/
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 via 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 the following Windows operating systems:
Code:
Windows 2000
 Windows XP
 Windows Server 2003
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

configure your PC as NTP server configure your PC as NTP server
Fig. 01

Note
If the "LocalNTP" value does not exist in your system, produse a new DWORD value.
The value 0 means disabled, 1 means enabled
Restart the computer to make the changes effective.

Instructions for the following Windows operating systems:
Code:
Windows 7 (32-bit and 64-bit)
Windows 10 (32-bit and 64-bit)
Windows Server 2008 R2 (64-bit)
Windows Server 2012 R2 (64-bit)
Windows Server 2016 (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 via Start > Control Panel > System and Security > Administrative Tools > Services
configure your PC as NTP server configure your PC as NTP server
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
configure your PC as NTP server configure your PC as NTP server
Fig. 03

Search for the code
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config".
Set the "AnnounceFlags" value to 5
configure your PC as NTP server configure your PC as NTP server
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.
If, when using Windows 7 or the Windows Server 2008 R2, the "Windows Time" service always stops, follow these instructions:
https://support.microsoft.com/en-us/help/2385818
Follow the instructions below for configuring the "Windows Time" service when using an internal hardware clock and an external time source.
https://support.microsoft.com/en-us/help/816042
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro