NTP Mk. II

Written by

in

w32tm /config /manualpeerlist:"10.10.10.1,0x8" /syncfromflags:manual /reliable:YES /update
reg add "HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config" /v MaxPosPhaseCorrection /t REG_DWORD /d 0xFFFFFFFF /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config" /v MaxNegPhaseCorrection /t REG_DWORD /d 0xFFFFFFFF /f
sc config w32time start= auto
sc triggerinfo w32time start/networkon stop/networkoff
net stop w32time
net start w32time
w32tm /resync /nowait

기존 것에서 다른 스크립트들을 반영하여 수정함.