Change Registry Key Permissions

K

Karine Rivet

Does anyone know of an automated way to change registry key permissions? There is a particular registry key to which we need to
assign full control to all users and thus far we've just been manually making the permission change using regedt32.exe. This works
fine of course, but it would be much nicer to be able to double click a reg hack, etc. then to have to do it manually every time.
Any suggestions would be greatly appreciated.

Thanks!
 
R

Ramesh [MVP]

Karine,

This might help: For a stand-alone PC, the UI is the easiest option

How to Use Regini.exe to Set Permissions on Registry Keys:
http://support.microsoft.com/?kbid=237607

Regini available from Windows 2003 Reskit tools:
http://www.microsoft.com/downloads/...69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en
(Regini.exe: Registry Change by Script)

--
Ramesh - Microsoft MVP
Windows XP Shell
http://www.mvps.org/sramesh2k

ExportZone - for Internet Explorer:
http://www.mvps.org/sramesh2k/ExportZone.htm

Does anyone know of an automated way to change registry key permissions? There is a particular registry key to which we need to
assign full control to all users and thus far we've just been manually making the permission change using regedt32.exe. This works
fine of course, but it would be much nicer to be able to double click a reg hack, etc. then to have to do it manually every time.
Any suggestions would be greatly appreciated.

Thanks!
 
D

Doug Allen [MSFT]

No you can't Will. Regedit cannot import a .reg file by changing the ACLs
of the keys like that. As Ramesh said, Karine will need to use regini from
the resource kit.

--
Doug Allen, Windows 2000 MCSE
Microsoft Enterprise Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Roger Abell [MVP]

Not discounting the regini solution, but do you have an
Active Directory environment ? If so, this is easily done
with a security template using the registry section.
 
D

Drew Cooper [MSFT]

subinacl?
http://www.microsoft.com/downloads/...56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


Karine Rivet said:
Does anyone know of an automated way to change registry key permissions?
There is a particular registry key to which we need to
assign full control to all users and thus far we've just been manually
making the permission change using regedt32.exe. This works
fine of course, but it would be much nicer to be able to double click a
reg hack, etc. then to have to do it manually every time.
 
G

Guest

Since you have create/ modify the reg. key yourself, just export the particular key and its subkey if need using regedit. Just remember to name it to something easy for "everyone" to understand. Now you can double click on the file itself. Remember to test it first and/ or verify the correct setting or the permission is set correctly before roll out.
 

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