Hi everyone, I hope I’m right here with this question and you can help me with an issue that follows me since a few months now where I’m struggling with the NTP synchronization on my windows 10 PC…

The issue only happens with this one device, all other devices can sync their time with whichever ntp server I chose.

I’m even able to contact the ntp server via netcat on this exact device (Opensuse running via WSL), so it’s definitely not a network issue:

nc -u -vvv time.windows.com 123
Connection to time.windows.com 123 port [udp/ntp] succeeded!

I tried all the standard solutions:

  1. stop and restart the Windows Time service
  2. change ntp pool
  3. unregister and re-register via cmd:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync

Sending resync command to local computer
The computer did not resync because no time data was available.
  1. the peers seem to be listed correctly if I query them:
w32tm /query /peers
#Peers: 4

Peer: ch.pool.ntp.org,0x9
State: Active
Time Remaining: 32723.7373442s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)

Peer: ch.pool.ntp.org,0x9
State: Active
Time Remaining: 32723.7373539s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)

Peer: ch.pool.ntp.org,0x9
State: Active
Time Remaining: 32722.7359671s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)

Peer: ch.pool.ntp.org,0x9
State: Active
Time Remaining: 32722.8440001s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)
  1. Group Policies are also as the should be: Link to learn.microsoft
  2. Defining the servers in the registry Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
  3. Also, w32tm /stripchart can contact the server:
w32tm /stripchart /computer:ntp.metas.ch /samples:5 /dataonly
Tracking ntp.metas.ch [195.176.26.215:123].
Collecting 5 samples.
The current time is 15 Apr 2024 17:06:54.
17:06:54, +19.2982674s
17:06:56, +19.2985170s
17:06:58, +19.2983909s
17:07:00, +19.2982707s
17:07:02, +19.2982836s

In the meantime I even completely wiped the disk and reinstalled windows 10 from scratch, but no luck.

I really don’t know what else to do and where to look, since the error messages from windows are also not really helpful.

  • theit8514@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    IIRC, there is a maximum offset that the system can be from the time server before it will reject the update. If you manually correct the time +19s and change it back to automatic does it then stay in sync?

    • tuhriel@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Tried that as well, it’s only around 30 seconds off, which annoyingly is enough to mess up OTP challenges