Hide network drive

  1.    #1

    Hide network drive


    I have a network drive mapped and I want to hide it, is it possible?
      My ComputerSystem Spec

  2. Kari's Avatar
    Posts : 15,916
    Windows 10 Pro
       #2

     Hide any local, external or network drive in Explorer


    Open Registry Editor, browse to following key:

    HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    Right click the right pane, select New > DWORD, name the new DWORD as NoDrives.

    Double click NoDrives to edit it. By default it is expecting a hexadecimal value, change it to decimal. Add value for drive you want to hide in Explorer according to following table:

    DRIVE DECIMAL VALUE
    A 1
    B 2
    C 4
    D 8
    E 16
    F 32
    G 64
    H 128
    I 256
    J 512
    K 1024
    L 2048
    M 4096
    N 8192
    O 16384
    P 32768
    Q 65536
    R 131072
    S 262144
    T 524288
    U 1048576
    V 2097152
    W 4194304
    X 8388608
    Y 16777216
    Z 33554432

    In screenshot, I am hiding a mapped network drive X: (value: 8388608):

    Click image for larger version. 

Name:	image.png 
Views:	4 
Size:	512.1 KB 
ID:	231427

    To hide multiple drives, add values together. For instance, to hide drives D (8), M (4096) and P (32768), you would need to set NoDrives decimal value to 36872 (8 + 4096 +32768).

    To hide all drives, you'd need to add all 26 values together and use that value (67108863).

    Hidden drives can be accessed in Explorer by typing the drive letter followed by a colon in Explorer address fiels and pressing Enter.

    Kari


    EDIT:

    I was thinking to make a tutorial about this, but of course @Brink had already done it
    Tutorial: Hide Specific Drives in Windows | Tutorials
    Last edited by Kari; 4 Weeks Ago at 06:45.
      My ComputerSystem Spec

  3.    #3

    Hi Kari and thanks, but I tried that along with GP "User Configuration > Administrative Templates > Windows Components > Windows Explorer > Hide these specified drives in My Computer", but the drive did not show in the list. Starting to look like it can't be done with a mapped drive.
      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,916
    Windows 10 Pro
       #4

    rdwray said: View Post
    Starting to look like it can't be done with a mapped drive.
    It works perfectly, exactly as designed.

    The video I made just now demonstrates it on a virtual machine, but it works exactly the same way on physical machines:



    Kari
      My ComputerSystem Spec

  5.    #5

    Don't have an answer, it does not work for me in Windows 10, 17763.437.
      My ComputerSystem Spec

  6. Compumind's Avatar
    Posts : 860
    Windows 10 Pro x64, Various Linux Builds, Internet Security Specialty.
       #6

    rdwray said: View Post
    Don't have an answer, it does not work for me in Windows 10, 17763.437.
    Works just fine for me with the 1809 update.

    FWIW.
      My ComputerSystem Spec

  7.    #7

    Compumind said: View Post
    Works just fine for me with the 1809 update.

    FWIW.
    Did you try it with a USB memory stick plugged into another PC that shows as a drive on the PC that it is plugged into?
      My ComputerSystem Spec


 

Related Threads
Hello. I would like to know if there is any way to hide a single drive from "safe removal" of Windows 10. Is it also possible to hide it from Windows Explorer? Thanks in advance for any answers.
hi, i want to hide Ethernet Adapter to avoid disabling or Enabling it. is it possible thank you
Hardware & Drivers Hide or Show Drive Letters in Windows 10 in Tutorials
How to Hide or Show Drive Letters in Windows 10 A drive letter is a single alphabetic character A through Z that has been assigned to a physical drive or drive partition in the computer. This tutorial will show you how to hide or show drive...
In Windows 10, whenever I insert a USB or External HDD, it gives me two listings for it in the Explorer pane: 28184 Is there any way I can remove the second listing? Preferably the standalone one, as I'm used to it being under "This PC",...
Hi. I just installed a small ssd drive to be used by a program as a temp drive. Now that i've set the app to use G: as temp drive, i do not need to interact with the drive again. Set it and forget it. So how do i hide the drive from explorer...
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 00:24.
Find Us