Configure NTP Server
原创
©著作权归作者所有:来自51CTO博客作者s415940414的原创作品,谢绝转载,否则将追究法律责任
Configure NTP Server for Time Sync.
[1] | Right-click [Start] button and open [run] and input [gpedit.msc] like follows. |
[2] | Select [Administrative Templates] - [System] - [Windows Time Service] - [Time Providers] on the left pane, and Open [Enable Windows NTP Server] on the right pane. |
[3] | Check a box [Enabled] which is upper-left like follows. |
[4] | Back to [Windows Time Service] on the left Pane, and click to Open [Global Configuration Settings]. |
[5] | Check a box [Enabled] which is upper-left and change [AnnounceFlag] to [5] like follows. Then Close Group-Policy-Editor. |
[6] | Run [Server Manager] and Open [Tools] - [Services]. |
[7] | Select [Windows Time] Service and click [Start the service] or [Restart the service]. Furthermore, Change [Startup type] to [Automatic] if it is not the value. |
[8] | If Windows Firewall is enabled, allow 123/UDP like follows. |
Configure NTP Client
[1] | Right-click [Start] button and open [run] and input [gpedit.msc] like follows. |
[2] | Select [Administrative Templates] - [System] - [Windows Time Service] - [Time Providers] on the left pane, and Open [Enable Windows NTP Client] on the right pane. |
[3] | Check a box [Enabled] which is upper-left like follows. |
[4] | Click to open [Configure Windows NTP Client] on the right pane. |
[5] | Check a box [Enabled] which is upper-left and change values for your environment. [NtpServer] ⇒ Hostname or IP address of your NTP Server. The value [0x9] is generally OK to keep default. [0x9] means [0x01] + [0x08]. They mean like follows. 0x01 SpecialInterval 0x02 UseAsFallbackOnly 0x04 SymmetricActive 0x08 NTP request in Client mode For [Type] section, It's OK to keep default [NT5DS] if your computer is in a Domain, but if not, change to [NTP]. For [SpecialPollInterval], set interval to sync time. |
[6] | Open [Server Manager] - [Tools] - [Services]. |
[7] | Select [Windows Time] Service and click [Start the service] or [Restart the service]. Furthermore, Change [Startup type] to [Automatic] if it is not the value. |