Changes

Jump to: navigation, search

NTP client configuration

640 bytes added, 09:41, 13 December 2007
no edit summary
How to enable or disable NTP client on Windows.
 
<package id="ntp-client" name="NTP time synchronization" revision="1" priority="999" reboot="false" execute="once">
<install cmd='cmd /c sc config w32time start= auto' />
<install cmd='cmd /c net time /setsntp:192.168.0.1' />
<install cmd='cmd /c net time \\192.168.0.1 /set /yes' />
<install cmd='cmd /c net stop w32time & net start w32time' />
<install cmd='cmd /c w32tm /resync /nowait' />
<remove cmd='cmd /c net time /setsntp:time.windows.com' />
<remove cmd='cmd /c net stop w32time & net start w32time' />
<remove cmd='cmd /c w32tm /resync /nowait' />
</package>
 
or:
<package
34
edits

Navigation menu