Jump to content

Applying a reg tweaks


Recommended Posts

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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 month later...

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
Link to comment
Share on other sites

  • 1 month later...

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
Link to comment
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.
×
×
  • Create New...