Here are simple steps to complete the external NTP server setup.
1. Found a reliable External/public NTP servers List
2. Open PowerShell windows (as an administrator)
3. Check the status of current NTP configuration
-
- C:\> w32tm /query /configuration
-
- C:\> w32tm /query /status
4. Configure NTP server
-
- C:\>w32tm.exe /config /manualpeerlist:”0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org” /syncfromflags:manual /reliable:YES /update
- C:\>w32tm.exe /config /manualpeerlist:”0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org” /syncfromflags:manual /reliable:YES /update
-
- C:\>w32tm.exe /config /update = If above new NTP configuration is not applied, try it.
- C:\>Restart-Service w32time = To restart w32time service.
5. Check a status of new NTP configuration
-
- C:\> w32tm /query /configuration
- C:\> w32tm /query /configuration
6. Check a status of NTP sync
-
- C:\> w32tm /query /status
Nothing changed?
Error#1 “The computer did not resync because no time data was available”
Try “w32tm /resync”, if you get the below error
This problem occurs if a Group Policy object for a Windows Time Service object is configured incorrectly.
Error#2 – Missing Windows Time service
PS C:\Windows\system32> w32tm.exe /query /configuration
The following error occurred: The specified service does not exist as an installed service. (0x80070424)
- C:\> w32tm /register