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
Win 7 Ult x64 Start doesnt work Icons dont work
Attempted a restore in Safe Mode. System came back up with all icons as normal. Issue start button doesn't work, icons open file but there is not text or data...there is what appears to be wire frames where the information should be. All files still on drive but cannot access. Safe mode does...
General Discussion
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
Web browsers do not work, but skype and teamspeak work
Hello there! So this problem started yesterday afternoon. I didn't download anything, but suddenly I was unable to browse the web. I tried all the web browsers I have but no websites would load. But skype and teamspeak still work. Any help? Thanks.
Network & Sharing
Programs work when installed then don't work the next time I try
I'm not sure where this should be posted so I'm sorry if this is the wrong place. I am a newbie to Windows 7 and don't know it I have a problem with my computer or just a lack of knowledge of Windows 7 I just purchased a 64 bit window 7 with the professional upgrade. I am using an Intel core 7...
General Discussion
LIBusb, USB ports doesn't work. Safe mode also no work
After I install LIBusb I could work futher. But after I put him off en reboot an hour later my wired mouse en keyboard didn't work anymore. When I restart in safe mode both still doesnt work. OS: W7 Home Premium 64b Computer: HP Pavilion p6250 Please Help!!
Drivers
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 17:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App