piszczynski>Aleks (Created page with " == NTP Services == Check NTP configuration: *w32tm /query /configuration (checks and shows the NTP configuration) *w32tm /query /peers (checks and shows the list of NTP serv...") |
piszczynski>Aleks No edit summary |
||
| Line 15: | Line 15: | ||
*ntpdate -q time.windows.com | *ntpdate -q time.windows.com | ||
*ntpq -p 192.168.1.1 | *ntpq -p 192.168.1.1 | ||
== NTP Registry details == | |||
Location of NTP server config: | |||
*HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers | |||
Location of w32tm service settings: | |||
*HKLM:\SYSTEM\CurrentControlSet\services\W32Time | |||
Revision as of 09:45, 13 October 2022
NTP Services
Check NTP configuration:
- w32tm /query /configuration (checks and shows the NTP configuration)
- w32tm /query /peers (checks and shows the list of NTP servers configured along with their status)
- w32tm /resync /nowait (forces the synchronization of time)
- w32tm /query /source (shows the source of the time)
- w32tm /query /status (shows the service status, use it to check whether the time is coming from the external NTP servers or the cmos clock)
Check NTP server response:
- w32tm /stripchart /computer:domainnameORipaddress /dataonly /samples:5
In Linux:
- ntpdate -q time.windows.com
- ntpq -p 192.168.1.1
NTP Registry details
Location of NTP server config:
- HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
Location of w32tm service settings:
- HKLM:\SYSTEM\CurrentControlSet\services\W32Time