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.
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.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 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:
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.

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
- 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.

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 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.
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?
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!