Get Windows NTP Configuration

Here are the most important commands to query the NTP configuration:

w32tm /query /configuration
w32tm /query /status
w32tm /query /peers
w32tm /resync /rediscover
time /t

/configuration: Shows the defined settings
/status: Shows the current status, e.g:

  • Leap Indicator
  • Precision
  • Last Successful Sync Time
  • Source
  • Poll Interval

/peers: Lists the defined NTP servers
/resync: Forced Sync
time /t: Shows the current system time

IMPORTANT:
Some commands must be executed as administrator.

More information about w32tm:
https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings

5 1 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments