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: How to remove Control Panel items by editing registry?


29 Apr 2010   #1

Windows 7 Pro 64-bit
 
 
How to remove Control Panel items by editing registry?

Hi.
I want to remove some control panel items (.cpl) from the Control Panel list.
I own a bit tweaked version of Windows 7 and I cant access gpedit, so I have to do it in the registry.
I've started to looking into

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Panel\donít load

and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace

where I've deleted some of the entrys but they still show up in Control Panel.
Any ideas?


My System SpecsSystem Spec
.

29 Apr 2010   #2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Under the key HKEY_CURRENT_USER\Control Panel\ create a key and name it "don't load".

Now, under the key HKEY_CURRENT_USER\Control Panel\don't load, create a new string value and give it the name of the applet which you want to hide. Google for the applet names, they'll all have the extension .cpl. E.g. if you want to get rid of "Phone and Modem", the name will be "Modem.cpl".

Set the value of this string to "no".
My System SpecsSystem Spec
29 Apr 2010   #3

Windows 7 Pro 64-bit
 
 

Quote   Quote: Originally Posted by Bill2 View Post
Under the key HKEY_CURRENT_USER\Control Panel\ create a key and name it "don't load".

Now, under the key HKEY_CURRENT_USER\Control Panel\don't load, create a new string value and give it the name of the applet which you want to hide. Google for the applet names, they'll all have the extension .cpl. E.g. if you want to get rid of "Phone and Modem", the name will be "Modem.cpl".

Set the value of this string to "no".

Thank You for the answer.
I will try that. Now the question is: how to know what .cpl corresponds to what. I've tried some research on the web but there is nothing that really agitate that.
And I've found a line:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\don't load

Is that the same thing? I'm quite confused.
My System SpecsSystem Spec
.


29 Apr 2010   #4

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

1) These pages have a long list of the .cpl names.

Create your own custom Windows Vista Control Panel | Microsoft Windows | TechRepublic.com

Add Or Remove Control Panel Applets in Windows 7 & Vista

2) I tried adding the dont load subkey to the HKLM key you mentioned (there was none initially. This is an XP machine i'm using right now, sorry), then added a string value for sysdm.cpl (system properties) but it didnt work. But doing it the HKCU way works. In any case, also see this article.

Restore Missing Items in Windows Vista Control Panel - How-To Geek
My System SpecsSystem Spec
29 Apr 2010   #5

Windows 7 Pro 64-bit
 
 

This is so weird I found this:

How to Hide / Show Specific Control Panel Applets / Icons in Windows? - Tweaking with Vishal

And non of that accualy works!?
My System SpecsSystem Spec
29 Apr 2010   #6

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

That site also talks about HKCU. Did you try it? The HKCU thing works on my (XP) machine.
My System SpecsSystem Spec
29 Apr 2010   #7

XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot
 
 

You're in luck, I just wrote a program for adding custom stuff to the Control Panel not so long ago..


Each Clsid (the long strings) listed under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\Namespace\" for the Control Panel will have a matching CLSID with the same string name listed under "HKEY_Classes_Root\CLSID", they each require the relevant keys removing from there also.

Did you make backups of the keys that you have already removed by any chance because it would be alot easier? (you don't need to re-apply the backups, just open them up in Notepad for the CLSID's)

If you havn't got the backups then you could try searching for each CPL's full name in the registry and check if each find falls under the "HKEY_Classes_Root\CLSID" tree. If they are under that key AND have "System.ApplicationName", "InfoTip", "Shell" and "DefaultIcon" as subkeys then these are typically the CPL's.

Hope this helps,
Sean.


(I'm sure you don't need me to say this but always backup when playing in the registry!)

EDIT: Just went through my favourites for the link, the info was taken from here when I wrote my app: http://msdn.microsoft.com/en-us/library/bb776843(VS.85).aspx
My System SpecsSystem Spec
29 Apr 2010   #8

Windows 7 Pro 64-bit
 
 

Damn...
Thank you fot help.
I'm getting to work. The sad thing is I didnt made backups :-)

Edit: Is there a way to do this? There are lots of keys there.
My System SpecsSystem Spec
29 Apr 2010   #9

XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot
 
 

You could always try a recent System Restore Point to place the keys back that you removed if the search part of my solution takes too long..
My System SpecsSystem Spec
29 Apr 2010   #10

Windows 7 Pro 64-bit
 
 

Haha, no restore point either. I'll have to do it the hard way and I hope it would work 100%

Edit: I have problems with deleting/editing some of the keys under "HKEY_Classes_Root\CLSID
My System SpecsSystem Spec
Reply

 How to remove Control Panel items by editing registry?




Thread Tools



Similar help and support threads for2: How to remove Control Panel items by editing registry?
Thread Forum
Solved Editing the sound in Control panel Sound & Audio
Command Line Open Control Panel\All Control Panel Items General Discussion
Registry, MMC or Control Panel? General Discussion
all control panel items icon missing General Discussion
Add Control Panel, MSConfig, Registry Editor, Services Customization
control panel and recently used items General Discussion
Green text in all control panel items General Discussion

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:45 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33