Skip to content

Instantly share code, notes, and snippets.

@ebith
Created March 15, 2020 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebith/a5aa92ae384290113055576ab0f89f63 to your computer and use it in GitHub Desktop.
Save ebith/a5aa92ae384290113055576ab0f89f63 to your computer and use it in GitHub Desktop.
“Windows 10で時刻同期を完璧にする方法 お前らのやり方は間違っている - Windowsは好きですが何か” http://kfujieda.hatenablog.com/entry/2020/03/14/214544
sc triggerinfo w32time start/networkon stop/networkoff
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters" /v NtpServer /d ntp.nict.jp,0x8 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config" /v UpdateInterval /t REG_DWORD /d 100 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config" /v PhaseCorrectRate /t REG_DWORD /d 7 /f
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment