Scripting Registry changes

  • Thread starter Thread starter dinger
  • Start date Start date
D

dinger

I need to write a logon script which will change a
registry entry. The problem I am facing is regarding
access rights. Not all users have administrative access
to their respective computers. So when they logon as
themselves, they cannot edit the registry.
Does anyone have any idea how I could accomplish this
change?
Any help would be greatly appreciated.
 
dinger said:
I need to write a logon script which will change a
registry entry. The problem I am facing is regarding
access rights. Not all users have administrative access
to their respective computers. So when they logon as
themselves, they cannot edit the registry.
Does anyone have any idea how I could accomplish this
change?

Hi

If you only need to set HKEY_LOCAL_MACHINE registry values,
and you are running Active Directory, you can do the changes
in a computer startup script (with a GPO) that runs as part
of the boot up process (before the user logs in). It runs under
the system context and has admin rights.


If you need to do this in a user logon script, here are some Runas
wrapper utilities or alternatives that might help you:

http://groups.google.com/[email protected]
 
dinger said:
I need to write a logon script which will change a
registry entry. The problem I am facing is regarding
access rights. Not all users have administrative access
to their respective computers. So when they logon as
themselves, they cannot edit the registry.
Does anyone have any idea how I could accomplish this
change?

Hi

If you only need to set HKEY_LOCAL_MACHINE registry values,
and you are running Active Directory, you can do the changes
in a computer startup script (with a GPO) that runs as part
of the boot up process (before the user logs in). It runs under
the system context and has admin rights.


If you need to do this in a user logon script, here are some Runas
wrapper utilities or alternatives that might help you:

http://groups.google.com/[email protected]
 
Back
Top