Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has 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?

 
04-29-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
04-29-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
04-29-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
.


04-29-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
04-29-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
04-29-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
04-29-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

Last edited by Generator; 04-29-2010 at 10:58 AM.. Reason: fixed a typo.
My System SpecsSystem Spec
04-29-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
04-29-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
04-29-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

Last edited by asdf123; 04-29-2010 at 11:45 AM..
My System SpecsSystem Spec
Reply

 How to remove Control Panel items by editing registry? problems?



Thread Tools



Similar Threads for: How to remove Control Panel items by editing registry?
Thread Forum
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


All times are GMT -5. The time now is 11:45 AM.



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
  

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