import registry for non-admin users

G

Guest

Hi,
I would like to know if it is poosible to import a
registry file when a non-admin users is logged in. If yes,
how. Please help.
Thanks,
 
M

Mark V

wrote in
Hi,
I would like to know if it is poosible to import a
registry file when a non-admin users is logged in. If yes,
how. Please help.

regedit.exe /s filename.reg

But here are some caveats:
* User must have execute permissions on regedit.exe
(and Read on the .reg file)
* System must not have any Policies preventing the user(s) from
running registry tools or modifiying the registry in general.
* The keys/values to be altered by the .reg file must also be
accessible and modifiable by the logged user account. IOW usually
FULL control (ACE: account or group:FULL)

This last one precludes changes in many cases in HKLM and in some
parts of HKCU. You may need to examine (and possibly alter) the
registry permissions in the keys you need them to alter.
regedt32.exe (W2K) is used for that. Caution is advised. Registry
backup is mandatory.
 
M

Mark V

wrote in
Hi,
I would like to know if it is poosible to import a
registry file when a non-admin users is logged in. If yes,
how. Please help.

regedit.exe /s filename.reg

But here are some caveats:
* User must have execute permissions on regedit.exe
(and Read on the .reg file)
* System must not have any Policies preventing the user(s) from
running registry tools or modifiying the registry in general.
* The keys/values to be altered by the .reg file must also be
accessible and modifiable by the logged user account. IOW usually
FULL control (ACE: account or group:FULL)

This last one precludes changes in many cases in HKLM and in some
parts of HKCU. You may need to examine (and possibly alter) the
registry permissions in the keys you need them to alter.
regedt32.exe (W2K) is used for that. Caution is advised. Registry
backup is mandatory.
 

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