Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to modify permissions registry path

18 Apr 2011   #1

Windows 7 64bit
How to modify permissions registry path

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 System SpecsSystem Spec
18 Apr 2011   #2
Mike Connor

Several, including Windows 7 x64 Ultimate

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 System SpecsSystem Spec
18 Apr 2011   #3

Windows 7 64bit

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 System SpecsSystem Spec


 How to modify permissions registry path

Thread Tools

Similar help and support threads
Thread Forum
Can't modify registry key even after changing permissions
I'm trying to modify the HKEY_CLASSES_ROOT\InternetShortcut\shell key in the registry to add a "Open with Chrome" entry so that I can right-click a shortcut and choose whether to open it in IE (default) or Chrome. I know how to create and write this type of key/command, I've done it successfully...
General Discussion
Registry Permissions help
Hi.. i've recently installed a customized version of Windows 7 SP1. I removed some languages, added some programs, drivers, settings and a unattended script. It installed without issue and everything has been running fine. However, i've just noticed a potential major issue waiting to happen....
System Security
How do I get Registry permissions?
Using Win 7 Pro x64. Even though I am listed as an Owner in all of the Registry keys, I do not have permissions in all of those same keys. I have Admin rights. This is causing problems installing software. Most recently, I can't install Ghost 15. The install almost completes and then I get...
General Discussion
Registry Permissions HELP!!!
Ok I really don't understand this!! Why is it that subinacl.exe works on my version of Win 7 Home Premium and yet not on other people's Win 7 Home Premium?? Also, the files that I downloaded from this site to set the uac levels work fine on my machine (OS) but open something totally different on...
System Security
Registry Permissions
I'm Administrator in my PC, but when i try to give me permission of a key in the registry, it appears an error message. It doesn't happen with any other key.Any ideas? Thz^^
General Discussion
how get notepad++ path from windows registry
Registry.LocalMachine.OpenSubKey will not work because there is no subkey. However there is an entry called Default with the path in it under notepad++. How get the program's path from the Default value under notepad++? below calls do not work -- or maybe I am doing something wrong ...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:49.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App