How to set Access Promision to specification registry keys

Discussion in 'Windows 8' started by Parsix, Dec 31, 2014.

  1. Parsix

    Parsix MDL Junior Member

    Aug 19, 2014
    98
    20
    0
    #1 Parsix, Dec 31, 2014
    Last edited by a moderator: Apr 20, 2017
    :eek:Hi, i need to access Permissions to specification keys in registry and set owner key to specification user (in Windows 8.1)
    I did not succeed

    paths: (default owner is trustedInstaller)

    Code:
    [HKEY_CLASSES_ROOT\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}]
    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}]
    
    I would use this method.
    1-I download subinacl.exe and copy it system32
    2-I run this command (for set access Permissions:

    Code:
        takeown /F %windir%\system32\subinacl.exe >nul
        icacls %windir%\system32\subinacl.exe /GRANT *S-1-1-0:F >nul
    
    3-and finaly irun this:

    Code:
        subinacl /subkeyreg HKEY_CLASSES_ROOT\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /setowner=%username% >nul
        subinacl /subkeyreg HKEY_CLASSES_ROOT\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /grant=%username%=F /grant=administrators=F >nul
        subinacl /subkeyreg HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /setowner=%username% >nul
        subinacl /subkeyreg HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /grant=%username%=F /grant=administrators=F >nul
        subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /setowner=%username% >nul
        subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /grant=%username%=F /grant=administrators=F >nul
        subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /setowner=%username% >nul
        subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} /grant=%username%=F /grant=administrators=F >nul
    
    not effected only for this path :g::
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}]
     
  2. CEW

    CEW MDL Member

    Jan 21, 2011
    204
    109
    10
    #2 CEW, Dec 31, 2014
    Last edited by a moderator: Apr 20, 2017
  3. Parsix

    Parsix MDL Junior Member

    Aug 19, 2014
    98
    20
    0
    #3 Parsix, Jan 2, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
  4. Mišulda

    Mišulda MDL Novice

    Jul 1, 2014
    7
    2
    0
    #4 Mišulda, Jan 2, 2015
    Last edited: Jan 2, 2015
    RegOwnershipEx

     
  5. Parsix

    Parsix MDL Junior Member

    Aug 19, 2014
    98
    20
    0
    i try it too, but not worked