Hide Specific Drives in Windows  

Page 1 of 2 12 LastLast
    Hide Specific Drives in Windows

    Hide Specific Drives in Windows

    How to Hide Specific Drives in Windows
    Published by Category: Hardware & Drivers
    16 Jun 2020
    Designer Media Ltd


    How to Hide Specific Drives in Windows


    In Windows, you can hide specified drives to have them no longer show in This PC and File Explorer without preventing access to them, or losing their assigned drive letter when unhidden.

    Users can still gain access to drive contents by using methods such as by typing the path to a directory on the drive in the address bar of File Explorer, in the Map Network Drive dialog box, in the Run dialog box, or in a command window. This also does not prevent users from using programs to access these drives or their contents. And, it does not prevent users from using Disk Management to view and change drive characteristics.

    This tutorial will show you how to hide specified drives in This PC and File Explorer for all users in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to be able to hide or show drives.


    EXAMPLE: E and F drives hidden
    Hide Specific Drives in Windows-hidden_drives.jpg Hide Specific Drives in Windows-no_hidden_drives.jpg



    Here's How:

    1 Open Registry Editor (regedit.exe).

    2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

    Hide Specific Drives in Windows-hide_drives_regedit-1.jpg

    3 Do step 4 (show all drives) or step 5 (hide specified drives) below for what you want to do.


    4 To Show All Drives in This PC and File Explorer

    A) In the right pane of the Explorer key, right click or press and hold on the NoDrives DWORD (if there), and click/tap on Delete. (see screenshot below step 2)

    B) Click/tap on Yes to confirm, and go to step 6 below. (see screenshot below)

    Hide Specific Drives in Windows-hide_drives_regedit-3.jpg


    5 To Hide Specified Drives in This PC and File Explorer

    A) In the right pane of the Explorer key, double click/tap on the NoDrives DWORD to modify it. (see screenshot below step 2)

    If you do not have a NoDrives DWORD, then right click or press and hold on a blank space in the right pane of the Explorer key, click/tap on New, click/tap on DWORD (32-bit) Value, type NoDrives for the name, and press Enter.


    B) Select (dot) Decimal, enter the Value data from the table below you want for a single drive or combination of drives to hide, click/tap on OK, and go to step 6 below. (see screenshot below)

    To hide a single drive, enter the value data from the table below for the drive letter of the drive you want to hide.

    To hide a combination of drives, enter the added value data from the table below for the drive letters of each drive you want to hide.

    For example: To hide both the E (16) and F (32) drives, I would add 16 and 32 together from the table below, and enter 48.

    Hide Specific Drives in Windows-hide_drives_regedit-2.jpg

    Drive Letter Decimal Value Data
    Show all drives 0
    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
    Hide all drives 67108863

    6 When finished, close Registry Editor.

    7 Sign out and sign in, or restart the computer to apply.


    That's it,
    Shawn




  1. Posts : 1,167
    win10 PRO on 5 PC's and Linux mint
       #1

    yes, this works.
    Also, if you dont want a must format message to appear for a drive where windows does not recognize the file system, dont open explorer first and then plug in the hidden drive. I found that out when hiding an android usb drive formated as an expanded storage drive for a firestick4k.
      My Computer

  2. Brink's Avatar
    Posts : 58,388
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    sdowney717 said:
    yes, this works.
    Also, if you dont want a must format message to appear for a drive where windows does not recognize the file system, dont open explorer first and then plug in the hidden drive. I found that out when hiding an android usb drive formated as an expanded storage drive for a firestick4k.
      My Computers


  3. Posts : 1,167
    win10 PRO on 5 PC's and Linux mint
       #3

    Brink said:
    Thanks Brink, and what happens if I unplug the android usb flash drive that windows assigns drive letters I and J, then plug in a different flash drive, will windows skip I and J and maybe go to K:?
      My Computer

  4. Brink's Avatar
    Posts : 58,388
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    sdowney717 said:
    Thanks Brink, and what happens if I unplug the android usb flash drive that windows assigns drive letters I and J, then plug in a different flash drive, will windows skip I and J and maybe go to K:?
    Usually once a drive has been assigned a drive letter, that drive letter will be considered unavailable and a different drive letter will be used for a newly connected drive.
      My Computers

  5. ThrashZone's Avatar
    Posts : 7,277
    3-Win-7Prox64 2-Win10Prox64
       #5

    Hi,
    Yes windows does sometimes change drive letters
    I was looking to see if you can assign a letter to a drive that windows wants to format lol didn't see that part on the tutorial.
      My Computers

  6. Brink's Avatar
    Posts : 58,388
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    ThrashZone said:
    Hi,
    Yes windows does sometimes change drive letters
    I was looking to see if you can assign a letter to a drive that windows wants to format lol didn't see that part on the tutorial.
    May be best to manually format or change the drive letter afterwards to make sure you have the drive letter you want in that situation.

    Format Disk or Drive in Windows 10

    Change and Assign Drive Letter in Windows 10
      My Computers


  7. Posts : 1,167
    win10 PRO on 5 PC's and Linux mint
       #7

    ThrashZone said:
    Hi,
    Yes windows does sometimes change drive letters
    I was looking to see if you can assign a letter to a drive that windows wants to format lol didn't see that part on the tutorial.
    Regarding a usb drive formatted as android expanded storage, windows assigns drive letters for each partition found, then says need to format it when plugged in, is my experience. so far it always has had drive letters I and J assigned to this usb flash drive.

    Does anyone think windows may someday be programmed to recognize Linux and android file systems, Apple Mac on drives automatically?
      My Computer

  8. ThrashZone's Avatar
    Posts : 7,277
    3-Win-7Prox64 2-Win10Prox64
       #8

    Hi,
    Yeah that I remember if you want to assign a drive letter best to start with Z and work your way down seeing windows starts with D/...
    Free minitool see's more than windows and can assign letters and labels to partitions.
      My Computers

  9. sbh7600's Avatar
    Posts : 297
    Windows 10 - Ver: 20H2 - Build: 19042.804
       #9

    Great stuff @Brink

    Have been looking for this method for a loooooong time
      My Computer


 
Page 1 of 2 12 LastLast

Tutorial Categories

Hide Specific Drives in Windows 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 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 17:55.
Find Us




Windows 10 Forums