Jump to content

.exe to .cpl


Worf
 Share

Recommended Posts

Below are the registry entries you need. This example is for CPU-Z. Keep in mind that the CLSID has to be unique. Change it to some random number, to avoid conflicts with other CPL addons and such.

Windows Registry Editor Version 5.00

; Add CPU-Z to Control Panel

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}]
@="CPU-Z"
"InfoTip"="Shows detailed CPU and RAM information"
"{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000005

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\DefaultIcon]
@="%SystemRoot%\\System32\\cpuz.exe"

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

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

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open\command]
@="cpuz.exe"

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-111111111120}]
@="Add CPU-z to Control Panel"

Link to comment
Share on other sites

Below are the registry entries you need. This example is for CPU-Z. Keep in mind that the CLSID has to be unique. Change it to some random number, to avoid conflicts with other CPL addons and such.

Windows Registry Editor Version 5.00

; Add CPU-Z to Control Panel

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}]
@="CPU-Z"
"InfoTip"="Shows detailed CPU and RAM information"
"{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000005

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\DefaultIcon]
@="%SystemRoot%\\System32\\cpuz.exe"

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

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

[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open\command]
@="cpuz.exe"

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-111111111120}]
@="Add CPU-z to Control Panel"

Thank you Beats. :thumbsup_anim::)

Link to comment
Share on other sites

Use guidgen to generate unique registry guid for each CPL item instead of doing it manually, also you can referance this page to see what numbers/categories you want your cpl item placed in

http://support.microsoft.com/kb/292463

Here is how you put MS Virtual CDRom in the "Printers and Other Hardware" category

vcdrom.jpg

[VCdRom.AddReg]

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}",,,"%VCDROM%"

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}","InfoTip",,"%VCDROM_DESC%"

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x10001,2

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\DefaultIcon",,0x20000,"%%SystemRoot%%\system32\shell32.dll,-12"

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\Shell\Open\command",,,"vcdcontroltool"

HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\ShellFolder","Attributes",0x10001,0

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{8ECC055D-047F-11D1-A537-0000F8753ED1}",,,"%VCDROM%"

Here is how you put MS Timezone and Time Zone Editor in the "Date, Time, Language, and Regional Options" category

46941868.jpg

[TZEdit.AddReg]

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}",,,"%TZEDIT%"

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","InfoTip",0x20000,"@%%SystemRoot%%\system32\tzedit.exe,-1"

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x10001,6

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","LocalizedString",0x20000,"@%%SystemRoot%%\system32\tzedit.exe,-2"

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\DefaultIcon",,0x20000,"%%SystemRoot%%\explorer.exe,-253"

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\Shell\Open\command",,,"tzedit"

HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\ShellFolder","Attributes",0x10001,0

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}",,,"%TZEDIT%"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...