Set Windows 2012 R2 NTP settings using PowerShell

Enable NTP and restart service

PS C:\Users\Administrator> w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
コマンドは正しく完了しました。

PS C:\Users\Administrator> Stop-Service w32time
PS C:\Users\Administrator> Start-Service w32time

Configure time zone

PS C:\Users\Administrator> tzutil /l

(UTC-12:00) International Date Line West
Dateline Standard Time

(UTC-11:00) Coordinated Universal Time-11
UTC-11

(UTC-10:00) Aleutian Islands
Aleutian Standard Time

(UTC-10:00) Hawaii
Hawaiian Standard Time

....
(UTC+09:00) Chita
Transbaikal Standard Time

(UTC+09:00) Osaka, Sapporo, Tokyo
Tokyo Standard Time

(UTC+09:00) Pyongyang
North Korea Standard Time

(UTC+09:00) Seoul
Korea Standard Time
PS C:\Users\Administrator> tzutil /s "Tokyo Standard Time"

Leave a Reply