Editing registrys using a group policy log in script

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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
 
Back
Top