Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

coucou

Applying a reg tweaks

Recommended Posts

coucou    0

Hello,

I'm looking for how to apply automatically the following reg tweaks

; Remove Control Panel from the Windows 7 Explorer Navigation Panel
[HKEY_CLASSES_ROOT\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder]
"Attributes"=dword:a0900004

;--------------------------------------------------------------------------------
; Remove Favorites from the Windows 7 Explorer Navigation Panel
[HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder]
"Attributes"=dword:a9400100

In fact, to apply these registries, I should have the Full Control Permissions for Administrators Allow checked (see bellow images)

Is there any how to do that through command/batch/script file?

42302d1260997204-control-panel-add-remove-navigation-pane-step1.jpg

42303d1260997204-control-panel-add-remove-navigation-pane-step2.jpg

Regards

Share this post


Link to post
Share on other sites
coucou    0

TNX allen2

Apparently subinacl doesn't works for Win7 set-acl does.

As far I understand, it is a part of Windows PowerShell 2.0. Isn't it?

Couldn't fin a download link :}:

Regards

Share this post


Link to post
Share on other sites
coucou    0

I find SetAcl HERE

I got success with the bellow cmd :thumbup

setacl.cmd

setacl.exe -on "HKCR\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs"
setacl.exe -on "HKCR\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full"

setacl.exe -on "HKCR\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs"
setacl.exe -on "HKCR\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full"

As If my system is french i had to type "Administrateurs" instead of "Administrators"

Edited by coucou

Share this post


Link to post
Share on other sites
allen2    1

Glad you got it working with a third party tool.

As for set-acl (the Microsoft one) is a powershell command included in Windows 7.

Share this post


Link to post
Share on other sites
coucou    0

weird weird weird :blink::wacko:

The above setacl.cmd file was tested and used many times on Win7 x86 with success.

By using the same file on Win7 x64, although cmd return "SetACL finished successfully" after the command, still I've no permissions to modify that registry :blink:

and here the Reg I'm trying to modify

; Remove Control Panel from the Windows 7 Explorer Navigation Panel
; Add Control Panel "Attributes"=dword:a0000004

[HKEY_CLASSES_ROOT\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder]
"Attributes"=dword:a0900004
; for x64
[HKEY_Local_Machine\Software\Wow6432Node\Classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder]
"Attributes"=dword:a0900004

I'll appreciate any help

Regards

OOpsss

I was using SetACL.exe_x86 on a x64 machine

Edited by coucou

Share this post


Link to post
Share on other sites

Hello even am using SetAC.exe x64 on my windows 7 x64

SetACL.exe -on "HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn setowner -ownr "n:Administrators"

SetACL.exe -on "HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn ace -ace "n:Administrators;p:full"

and in the 2 lines it say "SetACL finished successfully." but nothing happens the registry is keeping the original ACL

any ideas please

regards

SORRY I tried again and it worked may be I had not refresh thanks anyway

Edited by cybercontroler

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×