Scripting Registry changes

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.
 
T

Torgeir Bakken (MVP)

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]
 
T

Torgeir Bakken (MVP)

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]
 

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