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
kasrock

Windows 7 64bit
 
 
How to modify permissions registry path

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 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
kasrock

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
.

Reply

 How to modify permissions registry path




Thread Tools




Similar help and support threads
Thread Forum
Office Click-to-Run Extensibility Component can't modify registry keys
In installing and re-installing Office 365 Home (64-bit install on Win 7 Pro 64-bit), I get approx. 137 Warnings in Event Viewer like the following: Product: Office 16 Click-to-Run Extensibility Component. The application tried to modify a protected Windows registry key ...
Microsoft Office
Windows 7 Path/Permissions error when trying to open files
Greetings! Using Windows 7 Pro on my Dell Laptop (9mos. new). When trying to run install files or open some shortcuts (Movavi) I get the error {shown in the attached screenshot} that says: "Windows cannot access the specified device,path or file. You may not have the appropriate...
General Discussion
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
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 12:49.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App