3-STEP!! CONFIGURING NTP SERVER ON WINDOWS SERVER 2019
Step 1. "Enabled NtpServer"
1.1 Windows+R. In the Run window, type “service.msc” into the search box, and then hit Enter
And right-click on ‘Windows Time’ and select "Stop"
1.2 Windows+R. In the Run window, type “regedit” into the search box, and then hit Enter
1.3 Navigate to the path shown below:
HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ W32Time \ TimeProviders \ NtpServer
And Click (left click) on “Modify” Set the Value data to 1 and click OK.
__________________________
Step 2. "Announce Flags"
2.1 Navigate to the path shown below:
Computer>HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>W32Time>Config
At the right pane locate the ‘Announce Flags’ file.
2.2 And Back to Service page.
reboot the NTP server for the changes to take place. Head back to the services Window, right-click on ‘Windows Time’ and select "Start"
Step 3. Open UDP port 123 in Firewall
3.1 Click on the “Inbound Rule” button on the top left section and
Choose “New Rule”Choose port and click next.
Choose UDP, input the Specificnport "123" to be allowed NTP Service and click next.
Choose “Domain, Private, Public“. and click next
Place a name "NTP 123" for the rule, a description if you like and click Finish
Choose UDP, input the Specificnport "123" to be allowed NTP Service and click next.
Choose “Domain, Private, Public“. and click next
Place a name "NTP 123" for the rule, a description if you like and click Finish
Steps to change to alternative time server
ตอบลบStop the W32Time service.
Edit the config.
For operational master domain controllers, make a reliable time source.
Start the W32Time service.
C:\>net stop w32time
C:\>w32tm /config /syncfromflags:manual/manualpeerlist:0.asia.pool.ntp.org,1.asia.pool.ntp.org,2.asia.pool.ntp.org
C:\>w32tm /config /reliable:yes
C:\>net start w32time