Steps to Configure a Local NTP Server works on Windows 10 but not Windows 11
Following these steps: https://support.hpe.com/techlib/docs/otlink-wo/How-to-Configure-a-Local-NTP-Server.html
Which can basically be condensed down to:
- In the Services list, right-click on Windows Time and click Stop.
- Navigate to the registry key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
- If you do not see LocalNTP REG_DWORD in the list, create it using the following steps
- Right-click in the Registry Editor, select New, select DWORD, and enter LocalNTP (note that this name is case sensitive).
- Double-click LocalNTP, change the Value data to 1, select a Base of Hexadecimal, and click OK.
- Navigate to the registry key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders
- Select NtpServer, change the Value Data to 1, select a Base of Hexadecimal, and click OK.
- Navigate to the registry key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
- Double-click AnnounceFlags, change the Value data to 5, select a Base of Hexadecimal, and click OK.
- In the Services list, right-click on Windows Time and configure the following settings:
- Startup type: Automatic
- Service Status: Start
- OK
- Turn off firewall (will refine this once we can get it working)
On a Windows 10 PC, the NTP seems to work, while on a Windows 11 PC, it does not work, as confirmed with the ntpdate command:
ntpdate -q 192.168.1.239
server 192.168.1.239, stratum 4, offset -0.103800, delay 0.02821
30 Jul 10:55:28 ntpdate[2337]: adjust time server 192.168.1.239 offset -0.103800 sec
ntpdate -q 192.168.1.211
30 Jul 11:09:23 ntpdate[2344]: no server suitable for synchronization found
We are trying to narrow down differences between the PCs, but are really not seeing anything other than the OS. Has anyone ever done this successfully on Windows 11?