How to modify permissions registry path

kasrock

New member
Local time
4:38 PM
Messages
2
Hello!
I need to be able to give permissions back to the users to edit the registry which has been disable by GPO.
I am trying this:

set KEY="HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
Icacls %KEY% /t /c /grant:r "USERS":f

I get: "The system cannot find the path specified"

When I try regini.exe

I get:
Error: Registry editing has been disable by your administrator

I am running cmd.exe as Administrator from a user on the Administrators group.

Does anyone has a suggestion? I have been trying to find a solution for many days but nothing on the web seems to work...

Thanks in advance!
 

My Computer My Computer

At a glance

Windows 7 64bit
OS
Windows 7 64bit
If you are the administrator, then you can just use the Group Policy Editor to give the users such rights, although no Admin in his right mind would normally give users registry editing rights. The disaster potential is just too great.

If you are not the administrator, then there is no way to give such rights.

Regards....Mike Connor
 

My Computer My Computer

At a glance

Several, including Windows 7 x64 Ultimate
OS
Several, including Windows 7 x64 Ultimate
I am the administrator, let me explain a little bit more what I am trying to do:

I am installing a software that requires the modification of the system Environment variable : Path, I need to add the path of Oracle instant klient, c:\oracle\oracle_instant.... and another variable TNS_NAMES with the same, after I added those variables I will put the permissions back to normal.

I cannot modify the permissions given by the GPO for exactly what you said, it would be too dangerous.
My plan was to send a startup script installing the software, changing the variables and then setting the permissions back to read mode.

Thanks for your answer!
 

My Computer My Computer

At a glance

Windows 7 64bit
OS
Windows 7 64bit
Back
Top