Control Panel Applets' CLSID


  1. Posts : 57
    Windows 10
       #1

    Control Panel Applets' CLSID


    Hi Guys,

    Does anyone know what the CLSIDs / GUIDs for the following applets in Control Panel:

    Control Panel Applets' CLSID-mail.png Control Panel Applets' CLSID-flash.png
    Mail Flash Player (32-bit)

    In addition, I would be extremely appreciative if you can advise how I can go about looking up an applet's GUID.

    Thank you,
    YanAndrew
      My Computer


  2. Posts : 478
    Microsoft Windows 10 Home
       #2

    Check the subkeys of:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace

    Most have recognizable names as the default value. For those without a name, copy the subkey name & search under:

    HKCR\CLSID

    for more info.
    PowerShell can help. Here's a quick list for the values named under 'NameSpace':

    Code:
    gci 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace'
    and this will look up unnamed values in HKCR\CLSID:

    Code:
    gci 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace' |
       ?{(gp $_.PSPath).'(default)' -like '' -and $_.PSChildName -like "{*}"} |
          %{gp "HKLM:\Software\Classes\CLSID\$($_.PSCHildName)"}
    Keith
      My Computer


  3. Posts : 57
    Windows 10
    Thread Starter
       #3

    Hello KeithM,

    Thank you very much. Unfortunately, the Mail applet is not listed because it is a Microsoft Outlook item, but thank you for your advice. I'm sure it'll come in handy at some point in the future.

    I'm gonna add you as a friend, hope you don't mind.


    Regards,
    YanAndrew
      My Computer


  4. Posts : 478
    Microsoft Windows 10 Home
       #4

    If this is related to your other post regarding changing icons, try this bit of PowerShell. It will create a GridView of all CLSIDs that have a'DefaultIcon' subkey. You can then use the filter controls of the GridView to search for string matches such as 'Outlook', 'Office', or 'cpl'. It should make your search easier.

    Code:
    gi HKCR:\CLSID\*\DefaultIcon |
       select @{N='ID';E={split-path $_.PSParentPath -Leaf}}, @{N='IconResource';E={$_.GEtValue('')}} |
          out-gridview
    Control Panel Applets' CLSID-screenshot-330-.png
    Control Panel Applets' CLSID-screenshot-329-.png

    Keith
      My Computer


  5. Posts : 478
    Microsoft Windows 10 Home
       #5

    Added a 'Name' column which displays the '(default)' value for the GUID-named key.
    Code:
    gi HKCR:\CLSID\*\DefaultIcon |
       select @{N='ID';E={split-path $_.PSParentPath -Leaf}},
                 @{N='Name';E={(gi $_.PSParentPath).GetValue('')}},
                 @{N='IconResource';E={$_.GetValue('')}} |
            out-gridview
    Control Panel Applets' CLSID-screenshot-331-.png

    Keith
      My Computer


  6. Posts : 57
    Windows 10
    Thread Starter
       #6

    Hello Keith,

    Thank you so much, I really appreciate the effort.

    However, I'm getting errors on Pwershell when I run the codes like this:

    Control Panel Applets' CLSID-powershell.png

    And since I'm no IT expert and a rare Powershell user, I've no idea where or what the error is. I'm trying to look for online code analyser to see that can help now.


    Regards,
    Andrew
      My Computer



  7. Posts : 478
    Microsoft Windows 10 Home
       #7

    My apologies --- PowerShell only defines HKCU & HKLM by default. To define HKCR as a registry drive, execute the following:
    Code:
    New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT | out-null
    and then the earlier posted commands will work (for the duration of that PowerShell session.

    Keith
      My Computer


  8. Posts : 57
    Windows 10
    Thread Starter
       #8

    Thank you, Keith.


    Regards,
    Andrew
      My Computer


  9. Posts : 478
    Microsoft Windows 10 Home
       #9

    You're welcome.

    Keith
      My Computer


 

Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:06.
Find Us




Windows 10 Forums