MSFN Forum: Applying a reg tweaks - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Applying a reg tweaks should have ]Full Control Permissions

#1 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 27 May 2011 - 05:23 AM

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


#2 User is offline   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,737
  • Joined: 13-January 06

Posted 27 May 2011 - 06:01 AM

Subinacl or set-acl might solve this problem.

#3 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 27 May 2011 - 07:34 AM

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 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 27 May 2011 - 08:19 AM

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"

This post has been edited by coucou: 15 July 2011 - 07:15 AM


#5 User is offline   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,737
  • Joined: 13-January 06

Posted 27 May 2011 - 08:52 AM

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 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 15 July 2011 - 07:18 AM

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

This post has been edited by coucou: 15 July 2011 - 08:00 AM


#7 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 July 2011 - 07:43 AM

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

This post has been edited by myselfidem: 15 July 2011 - 07:51 AM


#8 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 15 July 2011 - 08:03 AM

View Postmyselfidem, on 15 July 2011 - 07:43 AM, said:

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

Well though :thumbup
TNX anyway

#9 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 July 2011 - 08:04 AM

Thanks my friend ! ;)

#10 User is offline   cybercontroler 

  • Group: Members
  • Posts: 2
  • Joined: 14-December 07

Posted 16 August 2011 - 10:33 PM

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

This post has been edited by cybercontroler: 16 August 2011 - 10:45 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy