Windows 11 relies on the Windows Time service (W32Time) to keep your system clock accurate. By default, non-domain PCs sync with time.windows.com using the Network Time Protocol (NTP) over UDP port 123. However, you can easily configure a different public NTP server, an internal server on your network, or an ISP-provided time source to ensure precise timekeeping.

This guide explains every method for updating your NTP server, including Settings, Control Panel, and command-line tools, as well as troubleshooting tips for reliable synchronization.

Check if Your PC Uses Domain Time or Internet NTP

Before making changes, confirm whether your computer is domain-joined. Machines on a domain typically ignore manual NTP settings, syncing automatically from the domain hierarchy instead.

QuestionHow to CheckWhat It Means
Is the PC on a domain?Settings > System > About > “Domain or workgroup”If a domain is listed, time usually comes from domain controllers, not public NTP servers.
Current time sourceOpen elevated Command Prompt: w32tm /query /sourceDisplays the active time source. NTP hostname = using that server; “Local CMOS Clock” or domain DC = different logic.

Note: On domain-joined PCs, changing internet time servers in Settings or Control Panel often has no effect due to Group Policy and the NT5DS client mode.

Change Time Server Using Windows 11 Settings (Insider Builds)

In newer Insider builds, the time server can be updated directly via Settings.

READ 👉  Disable Windows 11 Warning: “These Files Might Be Harmful to Your Computer”
StepAction
1Open Settings (Win + I).
2Navigate to Time & language > Date & time.
3Expand Sync now under Additional settings.
4Click Change next to “Change the time server.”
5Enter your preferred NTP server (e.g., time.nist.gov, time.google.com) and press OK.
6Click Sync now again to force immediate synchronization.

Successful sync updates the “Last successful time synchronization” field with the new server name.

Tip: If this option is missing, simply click Sync now to update the time with the existing server.

Change Time Server via Control Panel

The classic Internet Time tab works on all Windows 11 editions.

StepAction
1Press Win + R, type timedate.cpl, and press Enter.
2Switch to the Internet Time tab.
3Click Change settings…
4Check Synchronize with an Internet time server.
5Enter or select a server (e.g., time.nist.gov, time.google.com).
6Click Update now to test, then OK to save.

Tip: Errors often resolve on a second attempt due to transient network issues.

Change Time Server Using Command Line (w32tm)

For advanced control or multiple servers, the w32tm tool offers precision.

ScenarioCommandEffect
Set a single NTP serverw32tm /config /syncfromflags:manual /manualpeerlist:"time.nist.gov" /updateConfigures a single manual server.
Set multiple NTP serversw32tm /config /syncfromflags:manual /manualpeerlist:"time.google.com time.cloudflare.com" /updateW32Time samples both servers.
Prioritize/fallback serversw32tm /config /syncfromflags:manual /manualpeerlist:"time.google.com,0x8 ntp.example.net,0x2" /updateFirst server = main, second = fallback.
Force immediate resyncw32tm /resync /rediscoverTriggers instant synchronization.

Note: All commands require an elevated Command Prompt or Windows Terminal session.

How Windows Stores NTP Server Settings

Windows tracks NTP configurations in the registry:

LocationKey/ValuePurpose
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\ServersString values 1, 2, 3… and (Default)List of hostnames; Default = currently selected server in Control Panel.
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServerNTP server list with flagsActual servers W32Time uses (e.g., ,0x9).
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\TypeNTP, NT5DS, NoSync, AllSyncDetermines source: manual, domain hierarchy, or all.

Warning: Editing the registry directly bypasses safety checks and can break time synchronization. Prefer Settings, Control Panel, or w32tm commands.

Switch Between Domain Time and Manual NTP

GoalCommand SequenceResult
Use only domain hierarchyw32tm /config /syncfromflags:domhier /update
net stop w32time
net start w32time
Switches to NT5DS, syncing from domain controllers.
Use only manual NTP serversw32tm /config /syncfromflags:manual /manualpeerlist:"time.google.com time.nist.gov" /update
w32tm /resync /rediscover
Ignores domain hierarchy and uses specified servers.

Important for authoritative time sources: PDC emulators sync externally, clients sync from them.

Troubleshooting Common Issues

SymptomLikely CauseFix/Check
“Time synchronization failed”NTP packets blockedEnsure UDP 123 is open; check ISP restrictions.
Old “Last successful sync” timestampCannot reach NTP serverTest alternate networks or servers.
“No time data available”NTP server unreachableVerify firewall rules and DNS resolution.
Time off despite syncLarge clock skew or limitsUse w32tm /query /status /verbose to check Phase Offset and MaxAllowedPhaseOffset.

Some ISPs block external NTP and provide internal servers—use the hostname they recommend.

Restart or Re-register Windows Time Service

If time service misbehaves, restart or re-register W32Time:

READ 👉  How to Blur a Face, Text, or Part of a Photo with Facepixelizer
ActionCommandsUse Case
Restartnet stop w32time
net start w32time
After changing NTP server or settings.
Unregister/Registernet stop w32time
w32tm /unregister
w32tm /register
net start w32time
Fix persistent errors or service issues.
Reapply manual serverw32tm /config /manualpeerlist:"time.google.com" /syncfromflags:manual /update
w32tm /resync /rediscover
Restore desired NTP server after re-registration.

Ensure any third-party firewall allows UDP 123 traffic.

When to Use a Local NTP Server

If your devices are offline or ISP blocks NTP, a local Windows or Linux server can act as the authoritative time source. Enable the NtpServer provider on that machine, open UDP 123, and mark it as reliable. Other PCs point to it using Control Panel or w32tm commands.

Conclusion

Understanding how Windows 11 obtains time—from domain hierarchy, public NTP servers, ISP hosts, or local servers—makes changing your NTP server straightforward and predictable. With Settings, Control Panel, or w32tm, you can configure your preferred time source and ensure accurate system clocks across all scenarios.

Did you enjoy this article? Feel free to share it on social media and subscribe to our newsletter so you never miss a post!

And if you'd like to go a step further in supporting us, you can treat us to a virtual coffee ☕️. Thank you for your support ❤️!
Buy Me a Coffee

Categorized in: