How to Hide Specific Drives in Windows 11
Hiding specific drives in Windows 11 stops them from appearing in File Explorer, using a change in the Windows Registry. The Windows Registry is a special system file that holds all your computer’s settings.
This method helps keep your File Explorer tidy by removing partitions or external drives from view. Windows 11 lets you hide drives like your D: or E: drive without affecting how they work.
When you hide a drive, it won’t show up under “This PC” or in the File Explorer sidebar. The drive still has its letter, and you can open it by typing that letter into the address bar.
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 your hidden drives in Windows 11 remains possible. Type the drive letter, like D:, into the File Explorer address bar and press Enter. Alternatively, open Disk Management (a tool for managing storage devices) by searching for ‘diskmgmt.msc’, finding the drive, and then opening it.
- Type the drive letter (for example, F:) in the File Explorer address bar and press Enter.
- Open Disk Management by typing
diskmgmt.mscin 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.
Follow These Easy Steps to Hide Drives
Step 1Open the Registry Editor
- Press Windows key + 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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ExplorerHere’s what it looks like:

Step 3Choose to Hide or Unhide Drives
To Unhide All Drives
- Look for a setting called
NoDriveson the right side. - If you see
NoDrives, right-click it and select Delete. - Confirm by clicking Yes.

You can hide or unhide specific drives in Windows 11 using the Registry Editor. To unhide all your drives, look for a setting named ‘NoDrives’ on the right side of the Registry Editor window. If it’s present, right-click it and select Delete. Confirm the action by clicking Yes.
To Hide Specific Drives
- If you don’t see
NoDrives, right-click on a blank space on the right pane, choose New → DWORD (32-bit) Value. - Name it
NoDrives. - Double-click
NoDrivesto edit it. - Select Decimal and enter the number that matches the drive(s) you want to hide (see the table below for the numbers).
- Click OK.

You can hide or unhide specific drives in Windows 11 using the Registry Editor. To unhide all your drives, look for a setting named ‘NoDrives’ on the right side of the Registry Editor window. If it’s present, right-click it and select Delete. Confirm the action by clicking Yes.
Drive Letter Numbers Table
| Drive Letter | Number to Enter |
|---|---|
| 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 |
Step 4Finish Up
- Close the Registry Editor.
- 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.
You can hide specific drives in Windows 11 so these drives do not show up in File Explorer. Hidden drives keep their assigned drive letters. Accessing these drives is still possible by typing their letter into the File Explorer address bar or by using Disk Management. Administrator rights are necessary for these changes, so follow the Registry Editor steps with care.
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?
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.
No comments yet — be the first to share your thoughts!