Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Control Panel - Add or Remove from Navigation Pane

24 May 2011   #10
coucou

Windows 7 Ultimate x32
 
 

Well though

Thank you


My System SpecsSystem Spec
24 May 2011   #11
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

You're most welcome.
My System SpecsSystem Spec
26 May 2011   #12
coucou

Windows 7 Ultimate x32
 
 

Hi Brink,

Sorry for bothering you again.

I've added that registry to my tweaks registery file MyTweaks.bat (launching MyTweaks.reg). When MyTweaks.bat file is launched by Autounattend.xml (SynchronousCommand).

I noticed that ControlPanel registry is not applied.
1) Is there a command "Run as Administrator" (.bat or .cmd) to force that registry to be applied?

2) As other few registries are not applied too, allthoug they were tested working.
Do you think if I launch that MyTweaks.bat file as RunOnce/RunOnceEx all the registries will be applied?
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\MyTweaks]
"MyTweaks"="c:\Windows\Setup\scripts\MyTweaks.bat"
Regards
My System SpecsSystem Spec
26 May 2011   #13
JDobbsy1987

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by coucou View Post
Hi Brink,

Sorry for bothering you again.

I've added that registry to my tweaks registery file MyTweaks.bat (launching MyTweaks.reg). When MyTweaks.bat file is launched by Autounattend.xml (SynchronousCommand).

I noticed that ControlPanel registry is not applied.
1) Is there a command "Run as Administrator" (.bat or .cmd) to force that registry to be applied?

2) As other few registries are not applied too, allthoug they were tested working.
Do you think if I launch that MyTweaks.bat file as RunOnce/RunOnceEx all the registries will be applied?
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\MyTweaks]
"MyTweaks"="c:\Windows\Setup\scripts\MyTweaks.bat"
Regards
Does it help if you run the bat file from an elevated command prompt?

Elevated Command Prompt

Elevated Command Prompt Shortcut

Regards,
JDobbsy1987
My System SpecsSystem Spec
.

26 May 2011   #14
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by coucou View Post
Hi Brink,

Sorry for bothering you again.

I've added that registry to my tweaks registery file MyTweaks.bat (launching MyTweaks.reg). When MyTweaks.bat file is launched by Autounattend.xml (SynchronousCommand).

I noticed that ControlPanel registry is not applied.
1) Is there a command "Run as Administrator" (.bat or .cmd) to force that registry to be applied?

2) As other few registries are not applied too, allthoug they were tested working.
Do you think if I launch that MyTweaks.bat file as RunOnce/RunOnceEx all the registries will be applied?
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\MyTweaks]
"MyTweaks"="c:\Windows\Setup\scripts\MyTweaks.bat"
Regards

Coucou,

You would just need to remove that one line below from your MyTweaks.reg file. If you like, reupload it, and I'll remove it for you, then upload the modified version back for you.

Code:
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{21EC2020-3AEA-1069-A2DD-08002B30309D}]
My System SpecsSystem Spec
26 May 2011   #15
coucou

Windows 7 Ultimate x32
 
 

TNX JDobbsy1987 and Brink for yr reply.
Maybe I didn't express my self clearly.
Here bellow MyTweaks.bat. What to add/modify to make it elevated runnig
Code:
 
@ECHO OFF
ECHO.
REGEDIT /S "%systemroot%\Setup\Scripts\MyTweaks.reg"
EXIT
The following reg is not concerned
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{21EC2020-3AEA-1069-A2DD-08002B30309D}]
Here 2 regs among others to be Run as Admin
Code:
 
; 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
Regards
My System SpecsSystem Spec
26 May 2011   #16
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Coucou,

You should go ahead and post this issue with getting the BAT file to run elevated automatically in a new thread since it's no longer on topic with the tutorial. This way you will be able to get more help with it there.
My System SpecsSystem Spec
27 May 2011   #17
coucou

Windows 7 Ultimate x32
 
 

Hi Brink,

I posted a new thread HERE. I got a success runing MyTweaks.reg elevated, but still the following registries are NOT applied.
Code:
; 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
On reflection, I noticed that the problem is NOT (or not only) run elevate. It's the Permissions for Administrators group Full Control box not cheked Allow (step 5).
Is there any how to do that automatically?

Regards
My System SpecsSystem Spec
27 May 2011   #18
coucou

Windows 7 Ultimate x32
 
 

Finalyy I got it

I've downloaded SetAcl HERE

I got success with the bellow cmd
setacl.cmd
Code:
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 my system is french i had to type "Administrateurs" instead of "Administrators"

Regards
My System SpecsSystem Spec
27 May 2011   #19
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

That's great news Coucou. Those pesky language differences struck again.
My System SpecsSystem Spec
Comment

 Control Panel - Add or Remove from Navigation Pane




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Homegroup - Add or Remove from Navigation Pane
How to Add or Remove Homegroup from Navigation Pane in Windows 7 This will show you how to add or remove Homegroup in the Windows Explorer Navigation Pane in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's on the...
Tutorials
Favorites - Add or Remove from Navigation Pane
How to Add or Remove Favorites from Navigation Pane in Windows 7 This tutorial will show you how to add or remove the Favorites folder in the Windows Explorer Navigation Pane in Windows 7. The default folder for Favorites is the Links folder located at the location below. ...
Tutorials
How do I change the Control Panel Navigation Pane?
http://imageshack.com/a/img910/7154/pwagZH.jpg As you can see from the pic, I can barely see my Control Panel nav pane. I've searched and can't find how to change the background colour in Windows. My Explorer nav pane is just fine. What is the windows path or program to change this option? If...
Themes and Styles
Computer - Add or Remove from Navigation Pane
How to Add or Remove Computer from Navigation Pane in Windows 7 This will show you how to add or remove Computer in the Windows Explorer Navigation Pane in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's on the computer....
Tutorials
Network - Add or Remove from Navigation Pane
How to Add or Remove "Network" from the Windows 7 Navigation Pane This will show you how to add or remove Network in the Windows Explorer Navigation Pane in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's on the...
Tutorials
Control Panel - Rename in Windows 7 Navigation Pane
How to Rename "Control Panel" in Navigation Pane in Windows 7 and Windows 8 This tutorial will show you how to rename the Control Panel in the Navigation Pane when you have Show all folders checked, and the Control Panel desktop icon to any name that you like for all users in Windows 7 and...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App