[wpkg-users] NTP

Rainer Meier r.meier at wpkg.org
Mon Oct 18 00:10:43 CEST 2010


Hi Mark,

On 15.10.2010 17:23, Mark_Israel at nps.gov wrote:
> 
> Is there any way to use NTP without using the NET command? The situation is
> that for security purposes the NET command is locked down and will not run
> on end users PC's. In this case it would be great to be able to eliminate
> the NET command and go straight to using NTP.

You might think import the following .reg file (or modify it slightly to add
more NTP servers:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]
@="0"
"0"="time.windows.com"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="time.windows.com,0x1"
"Type"="NTP"


This will configure the Windows Time service to use time.windows.com so thime is
automatically synchronized by Windows.


If you want to use w32tm to enforce a manual update the commands you listed look
pretty OK. Just try it in order to verify if it's working properly for you.



br,
Rainer



More information about the wpkg-users mailing list