How to Hide Specific Drives in Windows 11

This simple guide will help you hide one or more drives (like your D: or E: drive) from showing up in File Explorer on your Windows 11 computer. This works for all users on your PC.

Important: Even if a drive is hidden, you can still open and use it like normal. It just won’t show up in the usual places.

What Does Hiding a Drive Do?

  • The drive won’t appear in This PC or the sidebar in File Explorer.
  • The drive keeps its letter (like D: or E:).
  • You can still open the drive by typing its letter in the File Explorer’s address bar or other ways.

How Can You Access Hidden Drives?

If you want to open a hidden drive, here are a few easy ways:

  • Type the drive letter (for example, F:) in the File Explorer address bar and press Enter.
  • Open Disk Management by typing diskmgmt.msc in the Start menu search, right-click the drive, and select Open.
  • Use a command prompt or Windows Terminal and type the drive letter followed by Enter.

Note: You need to be signed in as an administrator (the person who can make changes to your computer) to hide or unhide drives.

Follow These Easy Steps to Hide Drives

Step 1: Open the Registry Editor

Press Windows key + R, type regedit, and press Enter.

Step 2: Go to the Explorer Folder in Registry

In Registry Editor, use the left sidebar to find this folder:

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

Here’s what it looks like:

hide drive windows 11

Step 3: Choose to Hide or Unhide Drives

To Unhide All Drives

  1. Look for a setting called NoDrives on the right side.
  2. If you see NoDrives, right-click it and select Delete.
  3. Confirm by clicking Yes.
hide drive windows 11 delete

To Hide Specific Drives

  1. If you don’t see NoDrives, right-click on a blank space on the right pane, choose NewDWORD (32-bit) Value.
  2. Name it NoDrives.
  3. Double-click NoDrives to edit it.
  4. Select Decimal and enter the number that matches the drive(s) you want to hide (see the table below for the numbers).
  5. Click OK.

Drive Letter Numbers Table

Drive LetterNumber to Enter
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

Tip: To hide more than one drive at a time, add the numbers together. For example, to hide E (16) and F (32), enter 48 (16 + 32).

Step 4: Finish Up

  1. Close the Registry Editor.
  2. You need to restart your File Explorer or your computer for the change to work:
    • Press Ctrl + Shift + Esc to open Task Manager.
    • Find Windows Explorer under Processes.
    • Right-click it and choose Restart.
  3. Or simply sign out and sign back in or restart your PC.

Summary

  • You can hide one or many drives from showing in File Explorer.
  • The drives keep their letters and can still be accessed by typing their letter or using Disk Management.
  • You need admin rights to change these settings.
  • Use the Registry Editor carefully — follow the steps exactly.
  • Restart File Explorer or your PC to see the changes.

By following these steps, you can keep your File Explorer tidy and protect your drives from being easily seen by others who use your computer.

Categories:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version