Editing registrys using a group policy log in script

G

Guest

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?
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top