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
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)
Please log in to answer
Posted by:
zipsantro
16 years ago
Posted by:
AngelD
16 years ago
SetACL.exe should also be sufficient.
http://www.helge.mynetcologne.de/setacl/
http://setacl.sourceforge.net/html/examples.html (Search for the "Registry" example)
http://www.helge.mynetcologne.de/setacl/
http://setacl.sourceforge.net/html/examples.html (Search for the "Registry" example)
Posted by:
jmpouliot
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
jmpouliot
16 years ago
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.
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:
anonymous_9363
16 years ago
Posted by:
jmpouliot
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.