Jump to content

How do I add something to Control Panel?


Recommended Posts

I would like to add 2 items to Control Panel, I would also like to put them in the category for Visual settings.

1. Xpizesettings

2. startwihuvisual.cmd

With the code below, both items appear in the classic Control Panel, but not in the Category!

Also, if I double click one of them they wont start!

I already tried reducing the number of '\' for the path, but it doesn't help.

I already have this:

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}]
@="Visuele extra's aanpassen"
"InfoTip"="Kies een passend loginscherm & logoff/shutdown dialoog bij het thema, wijzig de visuele 'Windows Vista' extra's"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\DefaultIcon]
@=

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open\command]
@="%SystemRoot%\\\\Resources\\\\wihuvisual\\\\startwihuvisual.cmd"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\ShellFolder]
"Attributes"=dword:00000020



[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}]
@="XPize Settings"
"InfoTip"="wijzig verschillende bureaublad instellingen!"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\DefaultIcon]
@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe,0"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open\command]
@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe"

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\ShellFolder]
"Attributes"=dword:00000020



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}]
@="Visuele extra's aanpassen"
"InfoTip"="Kies een passend loginscherm & logoff/shutdown dialoog bij het thema, wijzig de visuele 'Windows Vista' extra's"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\DefaultIcon]
@=

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open\command]
@="%SystemRoot%\\\\Resources\\\\wihuvisual\\\\startwihuvisual.cmd"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\ShellFolder]
"Attributes"=dword:00000020




[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}]
@="XPize Settings"
"InfoTip"="wijzig verschillende bureaublad instellingen!"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\DefaultIcon]
@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open\command]
@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\ShellFolder]
"Attributes"=dword:00000020



[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}]

Link to comment
Share on other sites


you cant use the variables in registry

only the correct path like %systemroot% you should change it to

C:\Windows

you can use variables in the registry. If you want to use %systemroot%

just put %%systemroot%% in your reg file. And besides when you import

a .reg file with %systemroot% it will be replaced with c:\windows

in the registry, or what ever your path to windows is.

Link to comment
Share on other sites

Download and install YourCPL.

YourCPL

I've used it to add Taskmanager (taskmgr.exe) and Microsoft Baseline security Analyzer (mbsa.exe) among other things. Enjoy.

Thanks!

But how is TweakUI added to Control Panel without the use of any .cpl file!?

it is just a (very popular) regtweak that adds it to control panel..

I used this regtweak to create my own (change the .exe, the discription and change "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}" into "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}"), but it didn't work because the path contained errors.

;Show TweakUI at Control Panel
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="TweakUI XP"
"InfoTip"="Starts the TweakUI program which, allows you to customize advanced options and Settings in Windows to your liking"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\tweakui.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command]
@="tweakui.exe"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]
@="Tweak UI

I used this regtweak to create my own (change the .exe, the discription and change "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}" into a new one:"{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}"), but it didn't work because the path contained errors.

This is the way to add any .exe to the Control Panel!

;Show Xpize at Control Panel
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}]
@="XPize Appearance desktop icons"
"InfoTip"="Change the way Icons are viewed on the Desktop!"
"{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000001
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\DefaultIcon]
@="%SystemRoot%\\System32\\shell32.dll,161"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\Shell\Open\command]
@="C:\\Windows\\Resources\\xpizesettings.exe"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}]
@="XPize Appearance desktop icons"

;Show WihuVisual at Control Panel
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}]
@="LogonScreens & Visual extra's"
"InfoTip"="Choose a logonscreen and logoff/shutdown dialog that fits your Theme. Modify the visual 'Windows Vista'-extras"
"{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000001
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\DefaultIcon]
@="%SystemRoot%\\System32\\shell32.dll,161"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\Shell\Open\command]
@="C:\\Windows\\Resources\\wihuvisual\\wihu.exe /skiprestart /skipsettings"
[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}]
@="LogonScreens & Visual extra's"

These are 2 examples, they show how to set the name that appears in Control Panel, the path for the icon and the path for the executable (and in the 2nd example you see switches will also work!).

Now I only would like to know how to add both of them to the Category "Appearance and Themes"!

Who knows?

EDIT: Found it myself, I updated the code above with a dword value for the first key.

It works perfectly!

Edited by ZileXa
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...