How to modify permissions registry path


  1. Posts : 2
    Windows 7 64bit
       #1

    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 Computer


  2. Posts : 2,039
    Several, including Windows 7 x64 Ultimate
       #2

    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


  3. Posts : 2
    Windows 7 64bit
    Thread Starter
       #3

    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


 

  Related Discussions
Our Sites
Site Links
About 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 20:26.
Find Us