NTP on Windows 10 Pro

Jake Sokol 96 Reputation points
2024-05-09T21:14:55.7533333+00:00

Hello Folks

I have a Windows 10 Pro standalone machine

I followed instructions here - https://www.thewindowsclub.com/change-time-server-windows-10 with the only difference being I deleted time.windows.com and time.nist.gov since I only want to use my local NTP server which is my firewall so registry shows it’s the only one currently

At this last command, w32tm /resync, I get the following output which seems to indicate it failed

Sending resync command to local computer

The computer did not resync because no time data was available.

When I go to back to the GUI and check my date time settings and force a sync, it tries to sync for a minute but then gives me this error

Time syncronization failed in red

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,301 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,918 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 16,691 Reputation points MVP
    2024-05-10T01:55:23.87+00:00

    Ensure that your firewall/NTP server is correctly configured and operational. Verify that it's listening on the correct port (UDP 123) and that it's reachable from your Windows 10 machine.

    Make sure that there are no firewall rules blocking outgoing traffic on UDP port 123 from your Windows 10 machine to the NTP server.

    Verify that your Windows 10 machine has network connectivity to the NTP server:

    ping <ntp_server_ip>
    
    

    Look for any relevant error messages in the Windows Event Viewer under "Windows Logs" -> "System".

    Ensure that the Windows Time service (w32tm) is configured correctly:

    w32tm /query /configuration
    
    

    Sometimes restarting the Windows Time service can resolve synchronization issues.

    net stop w32time
    net start w32time
    
    
    

    Try manually syncing with the NTP server using the following command:

    w32tm /resync /rediscover
    
    
    0 comments No comments

  2. Ian Xue (Shanghai Wicresoft Co., Ltd.) 33,301 Reputation points Microsoft Vendor
    2024-05-13T04:34:30.3933333+00:00

    Hi Jake,

    Thanks for your post. Before moving on, to narrow down this issue, can I know if your Windows time wrong or is there a problem? If it's just the synchronization failing, but your time and date is correct, it may be normal, it depends on the server. You can change the sync server in Windows+i>time and date>Add clocks for different timezones>internet time>change settings>select server>update now. OK.

    Also, you can troubleshoot the NTP time with the following solutions:

    Windows 10 Time Synchronization Failed – 6 Solutions - MiniTool Partition Wizard

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments