Skip to content
Follow
Windows

How to Hide Specific Drives in Windows 11

Richard
Written by
Richard
Feb 23, 2026 Updated Aug 13, 2026 3 min read
How to Hide Specific Drives in Windows 11
How to Hide Specific Drives in Windows 11

Hiding specific drives in Windows 11 removes extra partitions or drives from File Explorer so you only see the ones you want. The Windows Registry, a central database that stores system settings, controls which drive letters appear in “This PC” and the sidebar.

Windows 11 hides partitions like your D: or E: drive without deleting any data or changing how the drive works. Once hidden, you can still open the drive by typing its letter directly into the address bar.

⚡ Quick Answer

You hide drives in Windows 11 by editing the Registry. Open Registry Editor, navigate to the Explorer folder, and create or modify the NoDrives DWORD value with a specific number for each drive you want to hide. Restart File Explorer or your PC to apply changes.

How Can You Access Hidden Drives?

Accessing hidden drives in Windows 11 remains possible. Type the drive letter, like D:, into the File Explorer address bar and press Enter. Alternatively, launch Disk Management (a built-in tool for managing storage devices) by searching for ‘diskmgmt.msc’, locating the volume, and opening it.

  • 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
Administrative privileges are required to modify these registry keys.

Follow These Easy Steps to Hide Drives

Step 1Open the Registry Editor

  1. Press Win+R, type regedit, and press Enter.

⚠️ Admin Required

Step 2Go to the Explorer Folder in Registry

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

🗝️Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Here's what it looks like:

hide drive windows 11
hide drive windows 11

Step 3Choose 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
hide drive windows 11 delete

Look for a setting named 'NoDrives' on the right side of the window. Right-click it and select Delete, then click Yes to confirm.

To Hide Specific Drives

  1. If you don't see NoDrives, right-click on a blank space on the right pane, choose New DWORD (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.
Windows 11 File Explorer showing hidden drive not displayed in This PC
Windows 11 File Explorer showing hidden drive not displayed in This PC

Look for a setting named 'NoDrives' on the right side of the window. Right-click it and select Delete, then click Yes to confirm.

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
Combining values targets multiple partitions simultaneously. Hiding both the E drive (16) and F drive (32) requires entering 48 (16 + 32).

Step 4Finish 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.
    • 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.

Hiding specific drives in Windows 11 stops them from showing up in File Explorer while preserving their assigned letters. Accessing these partitions remains possible by typing the letter into the File Explorer address bar or utilizing Disk Management. Administrative rights are necessary for these modifications, requiring careful execution of the Registry Editor steps.

How do I hide a drive in 🪟 Windows 11?

Click on Delete. If a warning message appears, click 'Yes.' The D drive will now be hidden from File Explorer. To unhide this drive...

How do I hide drives in my PC?

Right-click the Start button and select 'Run.' Type 'gpedit.msc' into the Run dialog box and press 'OK.' Navigate to 'User Configuration,' then 'Administrative Templates,' and finally 'Windows Components.'

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Show or Hide Status Bar in File Explorer in Windows 11
Windows How to Show or Hide Status Bar in File Explorer in Windows 11
How to change File Explorer default folder to open in Windows 11
Windows How to change File Explorer default folder to open in Windows 11
How to Change Drive Letters in Windows 11
Windows How to Change Drive Letters in Windows 11
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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