Changes

NTP client configuration

715 bytes added, 21:54, 25 February 2006
m
no edit summary
How to enable NTP client on Windows.

<package
id="ntp-client"
name="ntp client configuration"
revision="1"
reboot="false"
priority="1"
execute="once">
<install cmd="\\radca\programy\ntp\install.bat" />
<upgrade cmd="\\radca\programy\ntp\install.bat" />
<remove cmd="\\radca\programy\ntp\uninstall.bat" />
</package>

install.bat:
sc config w32time start= auto
net time /setsntp:192.168.0.100
net stop w32time & net start w32time
w32tm /resync /nowait

uninstall.bat:
net time /setsntp:time.windows.com
net stop w32time & net start w32time
w32tm /resync /nowait

[[Category: Silent Installers]]
[[Category: Changing Windows settings]]