Windows 7 Forums


Windows 7: The subinacl will not work for Windows 7

29 Nov 2009   #1
yxq

Vista and Windows 7
 
 
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 System SpecsSystem Spec

29 Nov 2009   #2

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by yxq View Post
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 System SpecsSystem Spec
29 Nov 2009   #3
yxq

Vista and Windows 7
 
 

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


30 Nov 2009   #4

Windows 7 Professional x64 PL
 
 

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 AM.. Reason: estimated inheritance
My System SpecsSystem Spec
30 Nov 2009   #5
yxq

Vista and Windows 7
 
 

Quote   Quote: Originally Posted by Flavius View Post
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 System SpecsSystem Spec
30 Nov 2009   #6

Windows 7 Professional x64 PL
 
 

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 System SpecsSystem Spec
30 Nov 2009   #7
yxq

Vista and Windows 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 System SpecsSystem Spec
30 Nov 2009   #8

Windows 7 Professional x64 PL
 
 

Quote   Quote: Originally Posted by yxq View Post
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 System SpecsSystem Spec
30 Nov 2009   #9
yxq

Vista and Windows 7
 
 

Did you try the same Registry key in Windows 7?
My System SpecsSystem Spec
30 Nov 2009   #10
yxq

Vista and Windows 7
 
 

Same result in Powershell
My System SpecsSystem Spec
Reply

 The subinacl will not work for Windows 7 problems?



Thread Tools



Similar help and support threads for: The subinacl will not work for Windows 7
Thread Forum
Will Windows 7 Debug/Checked Build key work with normal Windows 7 Windows Updates & Activation
Windows Live email in windows 7 message rules do not work. Browsers & Mail
Solved Quick search work in drives, but doesn't work in MyComputer Performance & Maintenance
LIBusb, USB ports doesn't work. Safe mode also no work Drivers
Applications that work with Vista should work with Windows 7 , there are exceptions. News


All times are GMT -5. The time now is 05:52 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32