Windows/Time: Difference between revisions
< Windows
(Created page with "== tzutil == To set the time zone to "Pacific Standard Time", the command would be: tzutil /s "Pacific Standard Time" tzutil /s "Mountain Standard Time" To see a list of available time zones, use: tzutil /l == ntp == To change NTP servers and sync: net stop w32time w32tm /config /syncfromflags:manual /manualpeerlist:"ntp.example.com" net start w32time w32tm /config /update w32tm /resync /rediscover w32tm /query /status w32tm /query /peers w32tm /query /...") |
(→tzutil) |
||
Line 7: | Line 7: | ||
To see a list of available time zones, use: | To see a list of available time zones, use: | ||
tzutil /l | tzutil /l | ||
Get current: | |||
tzutil /g | |||
== ntp == | == ntp == |
Revision as of 19:14, 15 July 2025
tzutil
To set the time zone to "Pacific Standard Time", the command would be:
tzutil /s "Pacific Standard Time" tzutil /s "Mountain Standard Time"
To see a list of available time zones, use:
tzutil /l
Get current:
tzutil /g
ntp
To change NTP servers and sync:
net stop w32time w32tm /config /syncfromflags:manual /manualpeerlist:"ntp.example.com" net start w32time w32tm /config /update w32tm /resync /rediscover
w32tm /query /status
w32tm /query /peers
w32tm /query /source
w32tm /monitor /computers:ntp.example.com