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





Thread Tools




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 05:39 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33