Registry Permissions

G

Greg Swensson

How can I change permissions on a single registry key
using a script or batch file? I need to ad write
permissions to the local machine user. Any help would be
great, I'm running out of time to resolve this issue.
 
T

Torgeir Bakken (MVP)

Greg said:
How can I change permissions on a single registry key
using a script or batch file? I need to ad write
permissions to the local machine user. Any help would be
great, I'm running out of time to resolve this issue.

Hi

From a script:

Regini.exe (comes builtin with WinXP) or SetACL.exe (freeware) is an option:

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

SubInACL.exe can also be used for this, a new, bug-fixed version of
SubInACL.exe is available for download here (Win2k/WinXP/Win2k3):

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b



Using the IADsSecurityUtility object (comes builtin with WinXP)
is also an option:

IADsSecurityUtility
http://msdn.microsoft.com/library/en-us/adsi/adsi/iadssecurityutility.asp


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 
G

Greg Swensson

Thanks for the info. I had found the SetACL.exe but
hadn't even thought of looking for Regini.
 

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