How to Check the NTP Server in Windows 11 and 10

Query the Windows Time service with w32tm /query /source: it prints the time server your PC syncs with, in one line. For a quick look without commands, the Date & time page in Settings shows whether Windows sets the clock automatically, though not which server it uses.

These commands come from Microsoft’s Windows Time service documentation and work the same way in current versions of Windows 11 and in Windows 10.

Which command answers which question

The Windows Time service (W32Time) has one command-line tool, w32tm, and its /query option takes four switches. Each one answers a different question, so start with the row that matches yours:

Your question Command Microsoft’s description
Which server is my PC using right now? w32tm /query /source Displays the time source
Did the last sync work, and when? w32tm /query /status Displays the W32Time status
Which server is configured, and where did that setting come from? w32tm /query /configuration Displays the runtime configuration and the source of the settings
Which servers is it talking to, and are they responding? w32tm /query /peers Displays a list of peers and their status

Add /verbose to any of them for more detail. The full syntax is on Microsoft’s Windows Time service tools and settings page.

Open an administrator Command Prompt

Microsoft states that membership in the local Administrators group is required to run w32tm locally, so open the prompt with admin rights:

  1. Select Start and type cmd.
  2. Right-click Command Prompt and choose Run as administrator. Windows Terminal opened as administrator works too.
  3. Approve the User Account Control prompt. If you are asked for a password, the account you are using is not an administrator; ask whoever manages the PC.

Find the server in use

Type w32tm /query /source and press Enter. Windows prints a single line with the current time source. What you see depends on how the PC is set up:

  • A home PC that is not joined to a domain normally shows time.windows.com, Microsoft’s default for computers outside a domain (sometimes followed by a flag value such as ,0x9).
  • A work PC joined to a domain shows the name of a domain controller, because domain members sync from the organization’s domain hierarchy.
  • A virtual machine may name the host’s time provider instead. Microsoft’s own sample output shows “VM IC Time Synchronization Provider” for this case.
  • The PC’s own clock: if Source names the PC’s own clock rather than a time server, Windows is not getting time from a server; Microsoft notes that without an external source, the computer’s internal hardware clock governs the time.

Suppose a laptop shows time.windows.com at home and a long server name after it joins the company network. Nothing is wrong: the source changed because the PC became a domain member.

Read the sync status

Next, run w32tm /query /status. Microsoft does not define every line in prose, but its sample output shows these fields, and three of them are the ones most people need:

  • Source: the same server name as the /source command.
  • Last Successful Sync Time: the date and time of the last good sync. A recent time means syncing works; an old date suggests it has stopped.
  • Poll Interval: how often Windows checks the server. Microsoft notes the value is shown twice, and the number in parentheses, in seconds, is the one to read.

Other lines, such as Leap Indicator and Stratum, also appear. You do not need them to answer “which server,” and changing anything based on them is a job for an administrator.

Check the configuration and the peers

w32tm /query /configuration shows what Windows has been told to use, which can differ from what it is using at this moment. Two lines are worth finding:

  • NtpServer: the configured server list. Microsoft’s default is time.windows.com,0x9.
  • Type: NTP means the PC syncs from the servers in that list, which Microsoft describes as the setting for non-domain-joined computers. NT5DS means it follows the domain hierarchy, used for domain-joined computers.

Microsoft adds that on a domain member, a server set by Group Policy overrides the local setting, which is why this command (not the registry) is the reliable way to see the effective configuration. Then run w32tm /query /peers to list each peer Windows is talking to and its status. On a home PC you will usually see just one entry.

Home PC or domain PC: why the answer differs

Microsoft’s explanation of how the Windows Time service works sums it up: a workstation in a domain follows the Active Directory hierarchy and syncs with a domain controller in its local domain, while computers that aren’t joined to a domain get their time from time.windows.com by default.

For a domain PC, the time server is chosen centrally. If the source looks wrong on a work or school computer, report it to your IT team rather than changing it yourself, since the domain hierarchy decides the source and a local change may not stick.

See it in Settings or Control Panel

Settings does not name the time server, but it tells you whether automatic time is on. Select Start > Settings > Time & language > Date & time, and make sure Set time automatically is turned On, as Microsoft’s date and time settings page describes for both Windows 11 and Windows 10. If it is Off, Windows does not set the clock automatically, so turn it On before you trust the commands’ output.

Depending on your version, the Windows 11 Date & time page may also offer a button to sync right away and a line about the last sync. The classic Control Panel Date and Time dialog also has an internet time option that shows the server. Neither is described on Microsoft’s current help pages, so treat the w32tm commands as the definitive answer.

A wrong hour with a correct source usually means the time zone is off, not the server. Fix that by following how to change the time and time zone on Windows 11 or the equivalent steps to change the time and time zone on Windows 10. Windows 10 reached the end of support on October 14, 2025, according to Microsoft’s Windows 10 support notice, though its time service still works.

Not the server you expected?

Changing the server and forcing a sync are separate jobs, covered in detail in how to sync time on Windows 11. For reference, Microsoft documents both as commands that run in an administrator prompt:

  • w32tm /resync tells the computer to resynchronize its clock as soon as possible.
  • w32tm /config /manualpeerlist:"ntpserver.contoso.com clock.adatum.com" /syncfromflags:manual /update sets a manual server list. The server names are Microsoft’s placeholders; use the server your organization or provider gives you. Microsoft’s syntax takes a space-separated list inside quotation marks.

Registry and Group Policy settings for the time service exist too, but they are administrator tools; follow Microsoft’s tools and settings page linked above if you manage PCs that way. On a domain PC, leave all of this to IT.

NTP server answers

What is NTP?

Network Time Protocol is the standard way computers ask a server for the correct time. Microsoft’s page notes that the Windows NTP client uses UDP port 123.

Does the time server affect the 24-hour clock or my time zone?

No. The server only supplies accurate time. Display format is a separate setting, explained in how to set 24-hour time on Windows 10, and so is the zone, for example when you set Philippine time in Windows 10.

New to the command line? Moving between folders and running commands is explained in how to change directory in CMD on Windows 10 and 11. Next step: run w32tm /query /status now and check that the Last Successful Sync Time is recent.