simsrw73
New member
- Local time
- 6:57 PM
- Posts
- 3
- OS
- Windows 11 Pro
I just upgraded my GPU from Nvidia to AMD which caused some random crashing, even after using gpu driver removal tool, so I did a clean install of W11 Pro which seems to have fixed it. However the Windows NTP Client is not working now. It did work before.
"An error occurred while Windows was synchronizing with...."
I'm attempting to sync to a local router that is verified working by other devices on my network, but the standard remote ntp servers also fail.
I found this python script that retrieves time from ntp server and it works correctly from the same desktop both to local and remote ntp servers:
The "Windows Time" service is running. I've restarted it as well as rebooting several times.
I've unregistered/rebooted/registered the time service with no change. ( w32tm /unregister)
Windows Firewall is open for udp on port 123. I've tried completely disabling the firewall as well with no change.
w32tm log file
154160 22:51:25.3743332s - ---------- Log File Opened -----------------154160 - Pastebin.com
w32tm secondary log file (?)
154160 22:52:45.8059015s - ---------- Log File Opened -----------------154160 - Pastebin.com
What else can I check? What is causing the failure? What is that secondary log file which has the same name as the log file but with a guid appended to the name?
"An error occurred while Windows was synchronizing with...."
I'm attempting to sync to a local router that is verified working by other devices on my network, but the standard remote ntp servers also fail.
I found this python script that retrieves time from ntp server and it works correctly from the same desktop both to local and remote ntp servers:
Python:
import socket
import struct
import sys
import time
def RequestTimefromNtp(addr='192.168.99.1'):
REF_TIME_1970 = 2208988800 # Reference time
client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
data = b'\x1b' + 47 * b'\0'
client.sendto(data, (addr, 123))
data, address = client.recvfrom(1024)
if data:
t = struct.unpack('!12I', data)[10]
t -= REF_TIME_1970
return time.ctime(t), t
if __name__ == "__main__":
print(RequestTimefromNtp())
The "Windows Time" service is running. I've restarted it as well as rebooting several times.
I've unregistered/rebooted/registered the time service with no change. ( w32tm /unregister)
Windows Firewall is open for udp on port 123. I've tried completely disabling the firewall as well with no change.
w32tm log file
154160 22:51:25.3743332s - ---------- Log File Opened -----------------154160 - Pastebin.com
w32tm secondary log file (?)
154160 22:52:45.8059015s - ---------- Log File Opened -----------------154160 - Pastebin.com
What else can I check? What is causing the failure? What is that secondary log file which has the same name as the log file but with a guid appended to the name?
- Windows Build/Version
- Windows 11 Pro 22H2 22621.1194
My Computer
System One
-
- OS
- Windows 11 Pro
- Computer type
- PC/Desktop
- Manufacturer/Model
- Custom
- CPU
- i7-12700KF
- Motherboard
- Asus Rog Strix z690-A
- Memory
- 32GB