Add or Remove Linux from Navigation Pane in Windows 10  

Page 1 of 2 12 LastLast
    Add or Remove Linux from Navigation Pane in Windows 10

    Add or Remove Linux from Navigation Pane in Windows 10

    How to Add or Remove Linux in Navigation Pane of File Explorer in Windows 10
    Published by
    28 May 2020
    Designer Media Ltd


    How to Add or Remove Linux in Navigation Pane of File Explorer in Windows 10


    The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

    Starting with Windows 10 build 18342 (19H1) and Windows 10 build 18836 (20H1), Linux will be added to the navigation pane in File Explorer whenever you enable Windows Subsystem for Linux (WSL).

    You can find your WSL distroís files by accessing \\wsl$\{distro name}\ where {distro name} is the name of a running distro.

    Linux in the navigation pane allows you to quickly see all currently running WSL distros from wsl$. When you click/tap on the Distro shortcut in Linux, it will show all currently running WSL distros.

    If you like, you can remove Linux from the navigation without having to disable WSL.

    This tutorial will show you how to add or remove Linux in the navigation pane of File Explorer for your account in Windows 10.

    If you choose to remove Linux from the navigation pane and have Show all folders turned on for the navigation pane, then Linux will still show until Show all folders is turned off.



    EXAMPLE: Linux in navigation pane of File Explorer when WSL is enabled
    Add or Remove Linux from Navigation Pane in Windows 10-linux_navigation_pane-1.jpg Add or Remove Linux from Navigation Pane in Windows 10-linux_navigation_pane-2.jpg



    Here's How:

    The downloadable .reg files below will add and modify the DWORD in the registry key below.

    HKEY_CURRENT_USER\Software\Classes\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}
    @="Linux"

    System.IsPinnedToNameSpaceTree DWORD

    1 = add
    0 = remove


    1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


    2 To Add Linux to Navigation Pane of Current User

    This is the default setting.

    This requires to enable Windows Subsystem for Linux (WSL) first.

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Add_Linux_to_navigation_pane_in_File_Explorer.reg

    Download


    3 To Remove Linux from Navigation Pane of Current User

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Remove_Linux_from_navigation_pane_in_File_Explorer.reg

    Download


    4 Save the .reg file to your desktop.

    5 Double click/tap on the downloaded .reg file to merge it.

    6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7 If File Explorer (Win+E) is currently open, then close and reopen it to apply.

    8 When finished, you can delete the downloaded .reg file if you like.


    That's it,
    Shawn


    Related Tutorials



  1. jimbo45's Avatar
    Posts : 9,261
    Windows / Linux : Arch Linux
       #1

    Hi folks

    Beware system admins with WSL !!!

    Just removing the view from file explorer really doesn't achieve much BTW.

    Anybody once the WSL for Linux subsystem is installed can set themselves up as root (sudo) and this is independent of the user account they have on Windows.

    Now with a little bit of trickery one can add a lot of Linux GUI desktop tools to the WSL (you need to install an X-Server that runs on Windows (VcXsrv or XMming -- I prefer VcXsrv though) and then install samba --- now you can access any HDD on the local windows system whatever your privilege level (that's a security loophole that needs to be fixed) or even across the network -- although shared HDD's on a network will need proper privilege level for read / write.

    It's really easily done -- I was utterly surprised that it actually worked -- the only difficulty I encountered was in configuring the X-server. Admins ought to be aware of what one can do with WSL --it's hideously more powerful than one might have supposed.

    Here's access to Local C drive and entire network via SAMBA from WSL using Dolphin (a Linux Windowed file manager -- nautilus or any other one could be used as well).


    Add or Remove Linux from Navigation Pane in Windows 10-samba.png

    here's getting a GUI on WSL


    Attachment 224980

    Cheers
    jimbo
      My Computer


  2. Posts : 1
    Windows Server 2019 Build 17763
       #2

    If you truly want to be secure your just going to have* to implement a proper mechanism that is compatible with windows Active Directory, EG Novel Networks or something. Eww I know. But they have* been doing it for Unix since windows 3.1.

    SLES SUSE has a solution that may work, its been a few years since I tried that solution, but it should offer Administrator lockout on windows local machines over a domain, and Linux subsystems connected to a domain.

    Thats just the software solution, I dont know the whole WSL story and how its accessed from windows. If there is an insecure method of accessing it from the command line eg wsl -u root, is allowed then, "All Bets Off".
      My Computer


  3. Posts : 663
    Windows 10 x64 Pro
       #3

    hmmm. seems adding that key doesnt add linux to the navigation pane on a pre 196xx build (19041). however adding the key to remove does hide it on a 196xx build where it already exists by default
      My Computer

  4. Brink's Avatar
    Posts : 49,747
    64-bit Windows 10 Pro for Workstations build 20161
    Thread Starter
       #4

    klepp0906 said:
    hmmm. seems adding that key doesnt add linux to the navigation pane on a pre 196xx build (19041). however adding the key to remove does hide it on a 196xx build where it already exists by default
    Hello mate,

    Linux can only be added to the navigation pane in File Explorer if you enabled Windows Subsystem for Linux (WSL).

    Did you already have WSL enabled?
      My Computers


  5. Posts : 663
    Windows 10 x64 Pro
       #5

    Brink said:
    Hello mate,

    Linux can only be added to the navigation pane in File Explorer if you enabled Windows Subsystem for Linux (WSL).

    Did you already have WSL enabled?
    Yes. Itís enabled on all 4 systems I have. The two on 196xx I can disable with the above reg key. (And re add by modifying the dword or removing the key altogether)

    those on 19041 adding the clsid via the reg key does nothing. Searching for that clsid comes up empty, yet I can open wsl just fine via bash/ubuntu as I use it fairly regularly.

    im guessing something must have changed in preparation for baking it in perhaps?

    i feel like I pester you a lot.
      My Computer

  6. Brink's Avatar
    Posts : 49,747
    64-bit Windows 10 Pro for Workstations build 20161
    Thread Starter
       #6

    klepp0906 said:
    Yes. It’s enabled on all 4 systems I have. The two on 196xx I can disable with the above reg key. (And re add by modifying the dword or removing the key altogether)

    those on 19041 adding the clsid via the reg key does nothing. Searching for that clsid comes up empty, yet I can open wsl just fine via bash/ubuntu as I use it fairly regularly.

    im guessing something must have changed in preparation for baking it in perhaps?

    i feel like I pester you a lot.
    I never feel like you have been pestering.

    The registry key and values in this tutorial are not there by default. The .reg files adds them.

    However, you should have the registry entries below by default when WSL gets enabled.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}]
    @="Linux"
    "SortOrderIndex"=dword:00000077
    "System.IsPinnedToNameSpaceTree"=dword:00000001
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,53,\
      00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,73,00,6c,00,2e,00,\
      65,00,78,00,65,00,2c,00,2d,00,31,00,00,00
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\InProcServer32]
    @=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,53,\
      00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,69,00,6e,00,64,00,\
      6f,00,77,00,73,00,2e,00,73,00,74,00,6f,00,72,00,61,00,67,00,65,00,2e,00,64,\
      00,6c,00,6c,00,00,00
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\Instance]
    "CLSID"="{4FE04BFD-85B9-49DD-B914-F4C9556B9DA6}"
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\Instance\InitPropertyBag]
    "DisplayType"=dword:00000002
    "EnumObjectsTelemetryValue"=hex(2):57,00,53,00,4c,00,00,00
    "Provider"=hex(2):50,00,6c,00,61,00,6e,00,20,00,39,00,20,00,4e,00,65,00,74,00,\
      77,00,6f,00,72,00,6b,00,20,00,50,00,72,00,6f,00,76,00,69,00,64,00,65,00,72,\
      00,00,00
    "ResName"=hex(2):5c,00,5c,00,77,00,73,00,6c,00,24,00,00,00
    
    [HKEY_CLASSES_ROOT\CLSID\{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\ShellFolder]
    "Attributes"=dword:a080004d
    "FolderValueFlags"=dword:00000028
      My Computers



  7. Posts : 663
    Windows 10 x64 Pro
       #7

    huh, i literally just checked both my main pc's (19041) and they dont have those keys, yet have WSL enabled and working.

    I checked my 196xx pc's and they DO have those keys (and the nav pane item by default)

    are we.... sure that older builds are supposed to have those and thats not added with the newer insider builds?

    if so can we hypothesize as to how I have wsl installed and working, yet dont have those? I have been using these installs for awhile, is it possible i perhaps enabled wsl before those keys were added/used or something?

    would the proper course of action be to merge the above then? even on 19041? wish i had a clean older build to check myself unfortunately i dont, so gonna have to "in-brink-we-trust" it :P
      My Computer

  8. Brink's Avatar
    Posts : 49,747
    64-bit Windows 10 Pro for Workstations build 20161
    Thread Starter
       #8

    klepp0906 said:
    huh, i literally just checked both my main pc's (19041) and they dont have those keys, yet have WSL enabled and working.

    I checked my 196xx pc's and they DO have those keys (and the nav pane item by default)

    are we.... sure that older builds are supposed to have those and thats not added with the newer insider builds?

    if so can we hypothesize as to how I have wsl installed and working, yet dont have those? I have been using these installs for awhile, is it possible i perhaps enabled wsl before those keys were added/used or something?

    would the proper course of action be to merge the above then? even on 19041? wish i had a clean older build to check myself unfortunately i dont, so gonna have to "in-brink-we-trust" it :P
    Interesting. It should be there by default even in that build unless something has changed.

    You could try creating a .reg file with the above and merge it as a test to see if it may add Linux to the navigation pane. If not, you can just delete the key to remove/undo it.
      My Computers


  9. Posts : 663
    Windows 10 x64 Pro
       #9

    Brink said:
    Interesting. It should be there by default even in that build unless something has changed.

    You could try creating a .reg file with the above and merge it as a test to see if it may add Linux to the navigation pane. If not, you can just delete the key to remove/undo it.
    Sorry, was away cutting the grass. fun!

    so if that key is there by default, even in the older builds - what is stopping it from appearing in the navigation pane by default until 196xx?

    is the only thing microsoft "switched" on, the modification of the IsPinned dword? o.O
      My Computer


 

Tutorial Categories

Add or Remove Linux from Navigation Pane in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


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 07:41.
Find Us




Windows 10 Forums