coucou Posted May 27, 2011 Posted May 27, 2011 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:a9400100In 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?Regards
coucou Posted May 27, 2011 Author Posted May 27, 2011 TNX allen2Apparently 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
coucou Posted May 27, 2011 Author Posted May 27, 2011 (edited) I find SetAcl HEREI got success with the bellow cmd setacl.cmdsetacl.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 July 15, 2011 by coucou
allen2 Posted May 27, 2011 Posted May 27, 2011 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.
coucou Posted July 15, 2011 Author Posted July 15, 2011 (edited) weird weird weird 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 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:a0900004I'll appreciate any helpRegardsOOpsssI was using SetACL.exe_x86 on a x64 machine Edited July 15, 2011 by coucou
myselfidem Posted July 15, 2011 Posted July 15, 2011 (edited) Have you selected the 64-bit SetACL 2.2.1 version for OS 64-bit ? Edited July 15, 2011 by myselfidem
coucou Posted July 15, 2011 Author Posted July 15, 2011 Have you selected the 64-bit SetACL 2.2.1 version for OS 64-bit ?Well though TNX anyway
cybercontroler Posted August 17, 2011 Posted August 17, 2011 (edited) 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 ACLany ideas pleaseregardsSORRY I tried again and it worked may be I had not refresh thanks anyway Edited August 17, 2011 by cybercontroler
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now