Commit 7a3d7967 authored by Kirk Webb's avatar Kirk Webb

Fix Windows time setup - hopefully for the last time!

parent e9d568c1
......@@ -95,7 +95,8 @@ adduser root ;; %rootpass% ;; makeadmin
log Setting up the clock
addreg HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation ;; RealTimeIsUniversal ;; Dword ;; 1
runcmd w32tm.exe ;; /register
runcmd sc.exe ;; config w32time start= auto depend= tcpip ;; 0
runcmd sc.exe ;; config w32time start= auto ;; 0
runcmd sc.exe ;; triggerinfo w32time start/networkon stop/networkoff ;; 0
runcmd net.exe ;; start w32time
runcmd w32tm.exe ;; /config /manualpeerlist:%ntpserver% /syncfromflags:manual /update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment