Editing registrys using a group policy log in script

donald

Distinguished
Apr 7, 2004
42
0
18,530
Archived from groups: microsoft.public.win2000.group_policy (More info?)

I have a server running NTP and i want to set all of my clients to draw thier
time from it. I believe i need this key

HKLM_SYSTEM_CCS_SERVICES_WIN32TIME_PARAMATERS_NTPSERVER "ipaddress"

What would be the syntax used in a login script to change the key?
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.group_policy (More info?)

On Tue, 22 Mar 2005 09:45:19 -0800, Donald <Donald@discussions.microsoft.com> wrote:

>I have a server running NTP and i want to set all of my clients to draw thier
>time from it. I believe i need this key
>
>HKLM_SYSTEM_CCS_SERVICES_WIN32TIME_PARAMATERS_NTPSERVER "ipaddress"
>
>What would be the syntax used in a login script to change the key?

1. If the server running NTP is the PDC emulator, the clients already use it, either directly, or via a hierarchy.
2. If the server is not the PDC, implement NoSync on the PDC and have the PDC sync with your ntp server use net time \\ntpserver /set /yes
3. If you still insist, use net time \\ntpserver /set /yes in a logon script.
4. A logon script can't update a HKLM key as users don't have permission.


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com