The subinacl will not work for Windows 7

yxq

New member
Member
Local time
6:42 AM
Messages
57
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 My Computer

At a glance

Vista and Windows 7
OS
Vista and 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

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 My Computer

At a glance

Windows 7 Professional 32-bit SP1AMD A4/A63.00GB EDOVMware SVGA 3D
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Virtual Machine
OS
Windows 7 Professional 32-bit SP1
CPU
AMD A4/A6
Motherboard
Intel Corporation 440BX Desktop Reference Platform
Memory
3.00GB EDO
Graphics Card(s)
VMware SVGA 3D
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic Non-PnP Monitor on VMware SVGA 3D
Screen Resolution
1440x900
Hard Drives
1 x 60GB VMware Virtual SATA Hard Drive ATA Device
Antivirus
Kaspersky Total Security
1. I want to do a tweak for the key.
2. want to programically to do that.
Thank you
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
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:

My Computer My Computer

At a glance

Windows 7 Professional x64 PLAMD Athlon 4450eGoodRam DDR2 2x2048MB (FSB 800MHz)nVidia GeForce 9600GT (G94-300) 1024 MB
Computer Manufacturer/Model Number
Custom made
OS
Windows 7 Professional x64 PL
CPU
AMD Athlon 4450e
Motherboard
Giga-Byte GA-MA69G-S3H
Memory
GoodRam DDR2 2x2048MB (FSB 800MHz)
Graphics Card(s)
nVidia GeForce 9600GT (G94-300) 1024 MB
Monitor(s) Displays
SAMSUNG SyncMaster HS2P301688
Hard Drives
Seagate ST3750330AS 750GB
PSU
Corsair 550W
Cooling
AeroCool ExtremeEngine 3T
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 My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
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 My Computer

At a glance

Windows 7 Professional x64 PLAMD Athlon 4450eGoodRam DDR2 2x2048MB (FSB 800MHz)nVidia GeForce 9600GT (G94-300) 1024 MB
Computer Manufacturer/Model Number
Custom made
OS
Windows 7 Professional x64 PL
CPU
AMD Athlon 4450e
Motherboard
Giga-Byte GA-MA69G-S3H
Memory
GoodRam DDR2 2x2048MB (FSB 800MHz)
Graphics Card(s)
nVidia GeForce 9600GT (G94-300) 1024 MB
Monitor(s) Displays
SAMSUNG SyncMaster HS2P301688
Hard Drives
Seagate ST3750330AS 750GB
PSU
Corsair 550W
Cooling
AeroCool ExtremeEngine 3T
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 My Computer

At a glance

Vista and Windows 7
OS
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?
Yes I do -both x32 and x64.I can't explain why do you have problem with this tool :confused:.

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

My Computer My Computer

At a glance

Windows 7 Professional x64 PLAMD Athlon 4450eGoodRam DDR2 2x2048MB (FSB 800MHz)nVidia GeForce 9600GT (G94-300) 1024 MB
Computer Manufacturer/Model Number
Custom made
OS
Windows 7 Professional x64 PL
CPU
AMD Athlon 4450e
Motherboard
Giga-Byte GA-MA69G-S3H
Memory
GoodRam DDR2 2x2048MB (FSB 800MHz)
Graphics Card(s)
nVidia GeForce 9600GT (G94-300) 1024 MB
Monitor(s) Displays
SAMSUNG SyncMaster HS2P301688
Hard Drives
Seagate ST3750330AS 750GB
PSU
Corsair 550W
Cooling
AeroCool ExtremeEngine 3T
Did you try the same Registry key in Windows 7?
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
Same result in Powershell
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
You can believe me or not but I did it on Windows 7 x64 Pro PL (Retail version) and on Windows 7 x32 EN (build 7100) on the same key

Originanal permissions before making these commands:View attachment Perm.txt

Result after making first command View attachment Report1.txt

Result after making second command View attachment Report2.txt

Result after restoring original permissions View attachment Report3.txt

As I said I can't explain why it not working for you :shock:.Do you have the same results in safe mode?
 

My Computer My Computer

At a glance

Windows 7 Professional x64 PLAMD Athlon 4450eGoodRam DDR2 2x2048MB (FSB 800MHz)nVidia GeForce 9600GT (G94-300) 1024 MB
Computer Manufacturer/Model Number
Custom made
OS
Windows 7 Professional x64 PL
CPU
AMD Athlon 4450e
Motherboard
Giga-Byte GA-MA69G-S3H
Memory
GoodRam DDR2 2x2048MB (FSB 800MHz)
Graphics Card(s)
nVidia GeForce 9600GT (G94-300) 1024 MB
Monitor(s) Displays
SAMSUNG SyncMaster HS2P301688
Hard Drives
Seagate ST3750330AS 750GB
PSU
Corsair 550W
Cooling
AeroCool ExtremeEngine 3T
Thank you, i tested on other PCs, it works well!
But do not know why the home PC will not work, i will test on more PCs.
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
Hello Flavius:
Could you please tell how to get the full permission for a file like the Registry key?
Thank you
 

My Computer My Computer

At a glance

Vista and Windows 7
OS
Vista and Windows 7
You have on SetACL website manual,besides you can get all switcher options if you type:

setacl -help

straight to your question:

setacl -on "<exactly path to file>" -ot file -actn setowner -ownr "n:Administrators"
setacl -on "<exactly path to file>" -ot file -actn ace -ace "n:Administrators;p:full"


If you are already owner of file of course you can ignore first command.

I surmise from the context of question you have trouble with changing permissions on any file...Well it may happen.Not all work according to theory.Maybe some file is busy and you have to try in safe mode or even in safe mode with command prompt,from System account (example from forum:http://www.sevenforums.com/general-discussion/29848-denied-access-d-drive.html )

If owner of any object is TrustedInstaller and you can't change permission in any way according to theory prediction it will be great problem,it may be caused by also WIL restriction chml: a tool to control Windows Integrity Levels
Unfortunately I can't also find Holy Grail to rule & control all permissions :(
....
 

My Computer My Computer

At a glance

Windows 7 Professional x64 PLAMD Athlon 4450eGoodRam DDR2 2x2048MB (FSB 800MHz)nVidia GeForce 9600GT (G94-300) 1024 MB
Computer Manufacturer/Model Number
Custom made
OS
Windows 7 Professional x64 PL
CPU
AMD Athlon 4450e
Motherboard
Giga-Byte GA-MA69G-S3H
Memory
GoodRam DDR2 2x2048MB (FSB 800MHz)
Graphics Card(s)
nVidia GeForce 9600GT (G94-300) 1024 MB
Monitor(s) Displays
SAMSUNG SyncMaster HS2P301688
Hard Drives
Seagate ST3750330AS 750GB
PSU
Corsair 550W
Cooling
AeroCool ExtremeEngine 3T
Back
Top