Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Applying a reg tweaks


  • Please log in to reply
9 replies to this topic

#1
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 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?

Posted Image

Posted Image

Regards


How to remove advertisement from MSFN

#2
allen2

allen2

    Not really Newbie

  • Member
  • PipPipPipPipPipPipPip
  • 1,812 posts
Subinacl or set-acl might solve this problem.

#3
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
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

#4
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
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, 15 July 2011 - 07:15 AM.


#5
allen2

allen2

    Not really Newbie

  • Member
  • PipPipPipPipPipPipPip
  • 1,812 posts
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.

#6
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
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, 15 July 2011 - 08:00 AM.


#7
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Have you selected the 64-bit SetACL 2.2.1 version for OS 64-bit ?

Edited by myselfidem, 15 July 2011 - 07:51 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#8
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts

Have you selected the 64-bit SetACL 2.2.1 version for OS 64-bit ?

Well though :thumbup
TNX anyway

#9
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks my friend ! ;)
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#10
cybercontroler

cybercontroler
  • Member
  • 2 posts
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, 16 August 2011 - 10:45 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN