Commit d7d587f9 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

add NTP config (win8)

parent 9e1ff0e0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
rem Windows-8-Zeitsynchronisation umstellen
sc config w32time start=auto
net stop w32time
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
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /v SpecialPollInterval /t REG_DWORD /d 10800 /f
net start w32time
w32tm /config /update /manualpeerlist:"ntp0.fau.de,0x9 ntp1.fau.de,0x ntp1.t-online.de,0x9" /syncfromflags:MANUAL
w32tm /resync /nowait