The subinacl will not work for Windows 7

Page 1 of 2 12 LastLast

  1. yxq
    Posts : 57
    Vista and Windows 7
       #1

    The subinacl will not work for Windows 7


    Hello,
    I want to get full control for the Registry key using subinacl.exe tool, but it will not work.
    subinacl /subkeyreg "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /grant=administrators=f /setowner=administrators
    Can anyone tell a good tools that change the Registry key permission and support for Windows 7? thank you.
    And the SetACL also will not work!
    SetACL - Windows permission management
      My Computer


  2. Posts : 1,261
    Windows 7 Professional 32-bit SP1
       #2

    yxq said:
    Hello,
    I want to get full control for the Registry key using subinacl.exe tool, but it will not work.
    subinacl /subkeyreg "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /grant=administrators=f /setowner=administrators
    Can anyone tell a good tools that change the Registry key permission and support for Windows 7? thank you.
    And the SetACL also will not work!
    SetACL - Windows permission management
    First question: Why do you need to change permissions to registry keys?
    Second Question: Why don't you just run RegEdit as Administrator?
      My Computer


  3. yxq
    Posts : 57
    Vista and Windows 7
    Thread Starter
       #3

    1. I want to do a tweak for the key.
    2. want to programically to do that.
    Thank you
      My Computer


  4. Posts : 748
    Windows 7 Professional x64 PL
       #4

    These commands in SetACL should be following

    setacl -on "HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -rec yes -actn setowner -ownr "n:Administrators"
    setacl -on "HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -rec yes -actn ace -ace "n:Administrators;p:full"


    If it is non-english system you have to type "Administrators" in the same language what is system language version
    Last edited by Flavius; 30 Nov 2009 at 03:10. Reason: estimated inheritance
      My Computer


  5. yxq
    Posts : 57
    Vista and Windows 7
    Thread Starter
       #5

    Flavius said:
    These commands in SetACL should be following

    setacl -on "HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -rec yes -actn setowner -ownr "n:Administrators"
    setacl -on "HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -rec yes -actn ace -ace "n:Administrators;p:full"

    If it is non-english system you have to type "Administrators" in the same language what is system language version
    Thank you.
    The NO1 seem to work.
    The NO2 returned the error:
    ERROR in command line: Invalid number of entries in parameter for option -ace specified: n:Administrators;p:full
      My Computer


  6. Posts : 748
    Windows 7 Professional x64 PL
       #6

    For me second command work fine too.Are you sure did you correct type command in console?Very easy to mistake.Suggestions:Just copy command from post and paste directly to console.
      My Computer


  7. yxq
    Posts : 57
    Vista and Windows 7
    Thread Starter
       #7

    Yes, i copied to the command line to cmd window. And the NO1 command line cause the error window "SetACL 2 final has stopped working", i tried on Windows 7 32bit and 64bit, the same result. Did you try the command line on Windows 7?
      My Computer


  8. Posts : 748
    Windows 7 Professional x64 PL
       #8

    yxq said:
    Yes, i copied to the command line to cmd window. And the NO1 command line cause the error window "SetACL 2 final has stopped working", i tried on Windows 7 32bit and 64bit, the same result. Did you try the command line on Windows 7?
    Yes I do -both x32 and x64.I can't explain why do you have problem with this tool .

    May try use set-acl command from PowerShell....
      My Computer


  9. yxq
    Posts : 57
    Vista and Windows 7
    Thread Starter
       #9

    Did you try the same Registry key in Windows 7?
      My Computer


  10. yxq
    Posts : 57
    Vista and Windows 7
    Thread Starter
       #10

    Same result in Powershell
      My Computer


 
Page 1 of 2 12 LastLast

  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 21:47.
Find Us