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
Dzomlija

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
Flavius

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
Flavius

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
Flavius

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




Similar help and support threads
Thread Forum
Keyboards no longer work on Windows 7, but the function keys work
Hi everyone, this is a really puzzling problem that I've never seen before or even heard of. Basically, my battery backup for my PC has recently conked out and there was a temporary power outage in my building. So the battery backup didn't kick in (my fault for not replacing it) and the PC was...
Hardware & Devices
Wireless Adapter won't work on windows 7 but will work on windows 10.
Hello. I have an Asus M52 precision Desktop Computer. I have a USB Wireless Adapter called Belkin N300. Here's a photo of the USB Adapter: https://i5.walmartimages.com/asr/dc60e7c7-472f-470b-9870-3db1185af059_1.47ef153c09769d84491936dddd99d25d.jpeg The computer originally came with windows 8...
Network & Sharing
Keyboard and USB dont work in windows but work in BIOS
Keyboard and USB dont work in windows but work in BIOS, i have also tried a ps/2 keybaord also not working in windows, i have tried safe mode, disabling driver sig enforcement, using different mice/keyboards, restored bios to default settings, ran sfc /scannow no errors detected, and still no luck...
Hardware & Devices
Windows won't boot, startup won't work, safe mode dosent work
Today my laptop was working fine but then I shut it down and turned it on again, when I turned it back on, after the Starting Windows and windows logo disappear I get a blue screen for half a second then my computer try's to reboot, I've tried to use startup reapir but u just have a crusor with a...
General Discussion
Applications that work with Vista should work with Windows 7 , there are exceptions.
Microsoft ranks Windows 7 features most likely to affect app-compatibility | All about Microsoft | ZDNet.com While Microsoft officials have said that applications that work with Vista should work with Windows 7 , there are exceptions. The 45-page “Windows Application Quality Cookbook”...
News


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 18:27.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App