/build/static/layout/Breadcrumb_cap_w.png

Modify registry access rights in command line

Hi everyone!

I am looking how to modify the Access list of a specific hive in the Windows registry to make my Tivoli Enterprise Console Client working correctly in my user without rights environment.

There is the hive :

HKEY_LOCAL_MACHINE - \Software\JavaSoft

I need to do in in a command line or in a vbs because I am deploying the application with SMS 2003.

Regards

0 Comments   [ + ] Show comments

Answers (9)

Posted by: zipsantro 15 years ago
Purple Belt
0
To change a registry value or registry permissions from a command line or from a script, use the Regini.exe(WINDOWS\SYSTEM32) utility.

Cheers!
Posted by: zipsantro 15 years ago
Purple Belt
0
Just google "Regini.doc" to get full details to use REGINI.EXE.
Posted by: AngelD 15 years ago
Red Belt
0
SetACL.exe should also be sufficient.
http://www.helge.mynetcologne.de/setacl/
http://setacl.sourceforge.net/html/examples.html (Search for the "Registry" example)
Posted by: jmpouliot 15 years ago
Second Degree Blue Belt
0
AngelD: How can I set the rights for "All users" with SetACL? Can I type only "All users"..?
Posted by: anonymous_9363 15 years ago
Red Belt
0
You need to use the name of an actual user and/or group, thus 'Everyone', Users' or 'Domain Users' are all valid.
Posted by: jmpouliot 15 years ago
Second Degree Blue Belt
0
ok thanks.

I see that if I want to grant permission for the registry, I need to do the following:

SetACL.exe \\servername\MACHINE\software /registry /grant S-1-1-0 /read /sid

How could I set the permission for the local machine on which I am deploying the script.

I tried setacle.exe hkey_local_machine\Software\abcd /registry /grant s-1-1-0 /write_owner /sid and it did not work.
Posted by: jmpouliot 15 years ago
Second Degree Blue Belt
0
Well I got it.
Posted by: anonymous_9363 15 years ago
Red Belt
0
User: JohnDoe
Domain: MyDomain
Target: HKEY_LOCAL_MACHINE\Software\Microsoft\Policies
Required permission: Full Control (there are fewer registry permissions than for file system)

SetACL.exe -on "HKEY_LOCAL_MACHINE\Software\Microsoft\Policies" -ot reg -actn ace -ace "n:MyDomain\JohnDoe;p:full"
Posted by: jmpouliot 15 years ago
Second Degree Blue Belt
0
I used this one:

setacl.exe MACHINE\SOFTWARE\Microsoft /registry /grant S-1-1-0 /write_owner /sid
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ