Devices Hide Specific Drives in Windows 11


  • Staff
Drive_banner.png

This tutorial will show you how to hide specific drive(s) from showing in File Explorer for all users in Windows 10 and Windows 11.

You can hide one or more drives to prevent them from showing in File Explorer < This PC and navigation pane, and still be able to open and access the hidden drive.

Hidden drives do not lose their assigned drive letter.

You will still be able to manually open and access hidden drives using any of the usual methods like below:
  • Typing the drive letter (ex: "F:") into the address bar of File Explorer, and press Enter.
  • Right click on the drive in Disk Management (diskmgmt.msc), and click/tap on Open.
  • Windows Terminal, Command Prompt, or PowerShell

You must be signed in as an administrator to hide and unhide drives.



EXAMPLE: "F" drive not hidden and hidden in File Explorer > This PC and navigation pane

Show_drive.png
Hde_drive.png



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_drive-1.png

3 Do step 4 (unhide all drives) or step 5 (hide specific drives) below for what you want.

4 Unhide All Hidden Drives in File Explorer > This PC and Navigation Pane

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_drive-3.png

5 Hide Specific Drive(s) in File Explorer > This PC and Navigation Pane

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 (ex: "32") from the table below for the drive letter (ex: "F") 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_drive-2.png

Driver Letter​
Decimal Value Data​
Show all drives0
A1
B2
C4
D8
E16
F32
G64
H128
I256
J512
K1024
L2048
M4096
N8192
O16384
P32768
Q65536
R131072
S262144
T524288
U1048576
V2097152
W4194304
X8388608
Y16777216
Z33554432
Hide all drives67108863

6 Close Registry Editor.

7 Either restart explorer process, sign out and sign in, or restart the computer to apply.


That's it,
Shawn Brink


 

Attachments

  • Drive.png
    Drive.png
    2.7 KB · Views: 47
Last edited:

Latest Support Threads

Back
Top Bottom