Windows Settings to This PC and Navigation Pane

Page 1 of 2 12 LastLast

  1. Posts : 521
    Win7 Pro X64, Win10 Pro x640
       #1

    Windows Settings to This PC and Navigation Pane


    (original post edited)

    I am still working on adding settings to This PC and Navigation Pane. I created the registry file below based on your reg file for adding Google Drive to Nav. Pane and a tutorial on WinHelpOnline. I got the hack to work, sort of. Settings Icons was added but didn't launch anything. Can anyone please help? Thanks!

    Windows Settings to This PC and Navigation Pane-settings2.png

    I generated a unique CLSID, {5109a410-7478-44c0-b5b0-964a7e07a9ff}, from Generate GUIDs online.
    Do I need separate keys with WOW6432Node keywords for 64-bit systems?
    For default icon, InProcServer32, and InitPropertyBag, do I have to use hex keywords?

    Other questions/comments are noted before the registry keys.

    Windows Registry Editor Version 5.00

    ; Add Windows Settings to This PC and Navigation Pane

    ; Add generated CLSID, named extension, set location of icon, defined info tip, added to navigation pane to make it visible, and set location in navigation pane

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"
    "DefaultIcon"="SystemSettingsBroker.exe"
    "InfoTip"="Windows Settings"
    "System.IsPinnedToNameSpaceTree"=dword:00000001
    "SortOrderIndex"=dword:00000042

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"
    "DefaultIcon"="SystemSettingsBroker.exe"
    "InfoTip"="Windows Settings"
    "System.IsPinnedToNameSpaceTree"=dword:00000001
    "SortOrderIndex"=dword:00000042

    ; Provide dll to host the extension. Is shell32.dll correct? and is threading model correct?

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\InProcServer32]
    @="%systemroot%\System32\shell32.dll"
    "ThreadingModel"="Both"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\InProcServer32]
    @="%systemroot%\System32\shell32.dll"
    "ThreadingModel"="Both"

    ; Define instance object

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance]
    "CLSID"="{5109a410-7478-44c0-b5b0-964a7e07a9ff}"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance]
    "CLSID"="{5109a410-7478-44c0-b5b0-964a7e07a9ff}"

    ; Provide the file system attributes of the target folder and set the path for the sync root (are they both correct?)

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance\InitPropertyBag]
    "Attributes"=dword:00000011
    "TargetFolderPath"="explorer ms-settings:"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance\InitPropertyBag]
    "Attributes"=dword:0000000f
    "TargetFolderPath"="explorer ms-settings:"

    ; Set the appropriate flags to control your shell behavior and set appropriate shell flags (are they both correct?)

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\ShellFolder]
    "Attributes"=dword:f080004d
    "FolderValueFlags"=dword:00000029

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\ShellFolder]
    "Attributes"=dword:f080004d
    "FolderValueFlags"=dword:00000029

    ; Register your extension in the namespace root

    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"

    ; Hide your extension from the Desktop

    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
    "{5109a410-7478-44c0-b5b0-964a7e07a9ff}"=dword:00000001

    ; Show Windows Settings in This PC in Folders section

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"
    "DescriptionID"=dword:00000003
    Last edited by bamajon1974; 26 Jun 2019 at 11:40. Reason: change to original post
      My Computer


  2. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, although this doesn't answer your precise question, this is available if of any interest:
    Add Settings to Context Menu in Windows 10

    and
    Win key + I
    opens Settings
      My Computers


  3. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #3

    I found a link to creating a custom folder under This PC which also creates links in the Navigation Pane from WinHelpOnline. There seems to be a lot of advanced registry editing for such a task. Has anyone made such a modification before?

    How to Add a Custom Folder under "This PC" in Explorer? >> Winhelponline
      My Computer


  4. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    More examples, closer to what you want: (ignore the rubbish label for the link). If you were to examine this, and info from the tutorial about creating a shortcut to Settings, you might be heading in the right direction:
    Access Denied


    Also there are context edit tools that can add entries...whether they address My PC specifically is another matter.
      My Computers


  5. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #5

    You mean create a shortcut and link that shortcut to This PC and the Navigation Pane through registry entries?

    I think the Winhelponline article is what I want but I don't really know how to interpret a lot of the lines. Brink said that a CSLID needs to be generated. I assume you generate a new CSLID and somehow link that CSLID to "explorer ms-settings:" in InitPropertyBags but I don't know what InProcServer32 or how to decipher what all of those hex values mean.
      My Computer


  6. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    No, I mean by taking selective information from different sources you should derive enough to achieve your aim.

    Thus- what command do you need? (See shortcut tutorial)
    - how do you obtain an icon?

    Then - how do you add a new context menu where you want?

    Try to put those two together..

    This shows how to create a new context menu entry for My PC:
    Access Denied

    As it involves making changes to the registry, make sure you back up keys first, and take due precautions
      My Computers


  7. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    Ok, I've (almost) done it, using a free tool:
    Easy Context menu v1.6

    This allows you to create new entries and add them to the program's options.

    The result first as an added option in the program:
    Windows Settings to This PC and Navigation Pane-snap-2019-06-18-22.35.06.png

    Here you see the added option for Settings.

    Here's how: (but amend this by not checking Settings - I got this wrong).
    Windows Settings to This PC and Navigation Pane-snap-2019-06-18-22.18.30.png

    And the effect:
    Windows Settings to This PC and Navigation Pane-untitled.png
      My Computers


  8. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #8

    Ahh I'm sorry let me clarify what I want to do: I want to add Settings to This PC Window and the left hand Navigation Pane as in the picture attached.

    - - - Updated - - -

    I made some progress. I managed to get Settings to appear on This PC and Navigation Pane but nothing launches. I generated a unique CLSID, {5109a410-7478-44c0-b5b0-964a7e07a9ff}, from Generate GUIDs online. I added the reg file below. Can someone please help determine what I did wrong? I think it has something to do with InProcServer32 incorrectly pointing to shell32.dll and InitPropertyBag Target dword incorrectly pointing to explorer ms-settings:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"
    "InfoTip"="Windows Settings"
    "System.IsPinnedToNameSpaceTree"=dword:00000001
    "DescriptionID"=dword:00000003

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    @="Windows Settings"
    "InfoTip"="Windows Settings"
    "System.IsPinnedToNameSpaceTree"=dword:00000001
    "DescriptionID"=dword:00000003


    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\DefaultIcon]
    @="SystemSettingsBroker.exe"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\DefaultIcon]
    @="SystemSettingsBroker.exe"


    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\InProcServer32]
    @="%systemroot%\\System32\\shell32.dll"
    "ThreadingModel"="Both"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\InProcServer32]
    @="%systemroot%\\System32\\shell32.dll"
    "ThreadingModel"="Both"


    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance]
    "CLSID"="{5109a410-7478-44c0-b5b0-964a7e07a9ff}"

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance]
    "CLSID"="{5109a410-7478-44c0-b5b0-964a7e07a9ff}"


    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance\InitPropertyBag]
    "Attributes"=dword:00000011
    "TargetFolderPath"=hex(2):6d,00,73,00,2d,00,73,00,65,00,74,00,74,00,69,00,6e,\
    00,67,00,73,00,3a,00,00,00
    ;(explorer ms-settings:)

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\Instance\InitPropertyBag]
    "Attributes"=dword:0000000f
    "Target"=hex(2):65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,20,00,6d,00,73,\
    00,2d,00,73,00,65,00,74,00,74,00,69,00,6e,00,67,00,73,00,3a,00,00,00
    ;(explorer ms-settings:)


    [HKEY_CLASSES_ROOT\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\ShellFolder]
    "Attributes"=dword:f080004d
    "FolderValueFlags"=dword:00000029
    "SortOrderIndex"=dword:00000000

    [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{5109a410-7478-44c0-b5b0-964a7e07a9ff}\ShellFolder]
    "Attributes"=dword:f080004d
    "SortOrderIndex"=dword:00000000


    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{5109a410-7478-44c0-b5b0-964a7e07a9ff}]
    Attached Thumbnails Attached Thumbnails Windows Settings to This PC and Navigation Pane-settings.png   Windows Settings to This PC and Navigation Pane-settings2.png  
      My Computer


  9. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    Best leave you with what you want to do, I think.
      My Computers


  10. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #10

    I did take information from this tutorial:
    Add Settings to Context Menu in Windows 10

    but adding to This PC right click menu is very different from adding to the explorer navigation pane and This PC window. I suppose I could try 3rd party tools but I want to try the manual way first.
      My Computer


 

  Related Discussions
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 18:15.
Find Us




Windows 10 Forums