Add specific folders to Navigation Pane

Page 4 of 5 FirstFirst ... 2345 LastLast

  1. Posts : 56
    Windows 10 Pro 1903
       #31

    KeithM said:
    Hi. You're welcome. Happy to help, but need more info for troubleshooting. Appreciate the screenshot, but it doesn't reveal much but the folder names. I'm gussing it's a snip of the folders as they appear on the Desktop or in Explorer when viewing the Desktop

    Quetions:
    1. Are the folders appearinfg in the Navigation Pane as well?
    2. Did you generate unique CLSIDs for each folder?
    3. Did you create them under HKCU or HKLM?
    4. Afre they inserted into the Desktop Namespace under HKCU or HKLM?


    Please include in your reply:
    • Answers to above questions
    • Screenshot of context menu when right-clciking one of the folders
    • Registry exports of both newly-created GUID-named entries under HKCR:\CLSID
    This screenshot is of the folders appearing in the explorer.

    1. Yes, they do appear in the Navigation pane as well. Here's a screenshot:
    Add specific folders to Navigation Pane-wsl.png
    2. No, i didn't generate any CLSIDs for the folders, i did only for "WSL" (path: \\wsl$) shown in above screenshot with the help of
    WinAero Tweaker. They appear in the navigation pane as sub items when those distros are active and running.
    3. They were created under HKEY_CURRENT_USER and also under HKEY_CLASSES_ROOT & HKEY_USERS
    4. HKCU

    * Right-clicking on them does nothing when doing inside the "WSL" special folder, but when i open \\wsl$ (which opens under Network) regular context menu shows up. So my suspicion is something's wrong with folder permissions
      My Computer


  2. Posts : 989
    Microsoft Windows 10 Home
       #32

    AuraticTrance said:
    This screenshot is of the folders appearing in the explorer.

    1. Yes, they do appear in the Navigation pane as well. Here's a screenshot:
    Add specific folders to Navigation Pane-wsl.png
    2. No, i didn't generate any CLSIDs for the folders, i did only for "WSL" (path: \\wsl$) shown in above screenshot with the help of
    WinAero Tweaker. They appear in the navigation pane as sub items when those distros are active and running.
    3. They were created under HKEY_CURRENT_USER and also under HKEY_CLASSES_ROOT & HKEY_USERS
    4. HKCU

    * Right-clicking on them does nothing when doing inside the "WSL" special folder, but when i open \\wsl$ (which opens under Network) regular context menu shows up. So my suspicion is something's wrong with folder permissions
    OK, so `WSL` is the special folder/Naviagtion Pane creatioin, and the folders mentioned earlier are just the contents of that folder, right???

    So:
    • Post a .reg export of the HKCR\CLSID\<CLSID of WSL instance> key.
    • Are there any other items in the folder? Do they function normally? Can you place a simple text file in \\wsl$ and see if that can be opened?
      My Computer


  3. Posts : 56
    Windows 10 Pro 1903
       #33

    KeithM said:
    OK, so `WSL` is the special folder/Naviagtion Pane creatioin, and the folders mentioned earlier are just the contents of that folder, right???

    So:
    • Post a .reg export of the HKCR\CLSID\<CLSID of WSL instance> key.
    • Are there any other items in the folder? Do they function normally? Can you place a simple text file in \\wsl$ and see if that can be opened?
    Yes, WSL is the special folder and rest are it's contents.

    There will be no other items apart from the network share folders that appear. These network share folders are of the respective WSL distros and appear only when the distros are active and running.

    I cannot double-click on them to open but i can access them by clicking their folders in the navigation pane. No other file cannot be copied and pasted here in \\wsl$ (it doesn't function as a normal folder, it is actually a network location).

    Here's the reg export:
    export.reg
      My Computer


  4. Posts : 56
    Windows 10 Pro 1903
       #34

    @KeithM

    I figured out, it was the "InProcServer32" key that i'd to change accordingly.
      My Computer


  5. Posts : 989
    Microsoft Windows 10 Home
       #35

    AuraticTrance said:
    @KeithM

    I figured out, it was the "InProcServer32" key that i'd to change accordingly.
    Accordingly to what?!?!?!?

    Shell32.dll???

    I had been testing some things, but very limited in network paths. the dll specified in your export works identically for simple local file system paths.

    But the fact that Shell32.dll is the InProcServer for the Folder Shortcut classmade me wonder....
      My Computer


  6. Posts : 56
    Windows 10 Pro 1903
       #36

    KeithM said:
    Accordingly to what?!?!?!?

    Shell32.dll???

    I had been testing some things, but very limited in network paths. the dll specified in your export works identically for simple local file system paths.

    But the fact that Shell32.dll is the InProcServer for the Folder Shortcut classmade me wonder....
    Earlier it was set to "shdocvw.dll" by Winaero tweaker and i changed it to "%systemroot%\system32\NetworkExplorer.dll" taking the example from "Network" system folder
      My Computer


  7. Posts : 989
    Microsoft Windows 10 Home
       #37

    AuraticTrance said:
    Earlier it was set to "shdocvw.dll" by Winaero tweaker and i changed it to "%systemroot%\system32\NetworkExplorer.dll" taking the example from "Network" system folder
    Cool. I was unaware of that option. Thanks for sharing your findings!
      My Computer


  8. Posts : 56
    Windows 10 Pro 1903
       #38

    KeithM said:
    Cool. I was unaware of that option. Thanks for sharing your findings!
    EDIT
    In addition to "InProcServer32", "Attributes" DWORD should also be changed. Earlier it was set to "f080004d", then changing it to "b0040064" enabled right-clicking as well as double-clicking to open the folders

    - - - Updated - - -

    @KeithM

    I'm still unable to keep the sub-items pinned

    I've tried taking the example of the users libraries folder:
    Code:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}
    I created an entry for WSL (\\wsl$) and then created an entry for it's sub-item and specified the GUID value of WSL as the value for "ParentFolder" string.. but still unable to make it work

    - - - Updated - - -

    Also is it possible to redirect a UNC path to a shell location ? for eg: If i type in \\wsl$ it should open the newly created shell location

    I previously thought that creating a shell location for any path will automatically redirect to or resolve it as the new shell location but instead it is exactly opposite of what i thought
      My Computer


  9. Posts : 56
    Windows 10 Pro 1903
       #39

    One way to keep the sub-items pinned to this location would be to add them as network locations
    But, how do i get "Add Network Location" to show up in the context menu, i've tried mimicking This PC's properties but it doesn't work
    Add specific folders to Navigation Pane-ntwk.png
      My Computer


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

    Good afternoon @KeithM . I want to add User Folder, Recent Folders, and Recent Items to the File Explorer Navigation Pane and want to understand some of the registry details.

    These are the three registry keys to modify:

    User Folder
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]
    Recent Folders
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{22877a6d-37a1-461a-91b0-dbda5aaebc99}]
    Recent Items
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{4564b25e-30cd-4787-82ba-39e73a750b14}]
    Each key needs a "System.IsPinnedToNameSpaceTree"=dword:00000001 to appear on the navigation pane.

    Relevant Subkeys
    1. For User Folders:
    (a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Apartment
    (b) ShellFolder subkey: dwords Attributes = f084012d and FolderValueFlags=00500229

    2. For Recent Folders:
    (a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Apartment
    (b) ShellEx\ContextMenuHandlers\{A8E64375-B645-4314-9EFC-C085981786FA} subkey
    (c) ShellFolder subkey, dwords Attributes = 30040000, FolderValueFlags=00000800, and RestrictedAttributes= 00000032 dwords correct?

    3. For Recent Items:
    (a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Both
    (b) Instance subkey: string CLSID = {0C39A5CF-1A7A-40C8-BA74-8900E6DF5FCD}
    (c) Instance\InitPropertyBag subkey: dwords Filter=1, MaxItems =64, UserKnownFolder=1
    (d) ShellFolder subkey, dwords Attributes = 30040000, FolderValueFlags=00000410, and RestrictedAttributes= 00000032 dwords correct?

    Questions:
    (1) Why does User Folder and Recent Folders use apartment threading model and recent items use both? Does it matter?
    (2) Why does Recent Folders have Context Menu Handlers but not Recent Items and is it relevant to a navigation pane entry?
    (3) Why does Recent Items have Instance and InitPropertyBag subkeys and not Recent Folders and should the latter be modified similarly?
    (4) What is the difference between foldervalueflags=00000800 for Recent Folders and 00000410 for recent items and should they be the same?
    (5) Should the user folders have the same shellfolders and instance subkeys as recent folders and recent items?

    Thanks!
      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 09:55.
Find Us




Windows 10 Forums