Skip to content
Follow
Windows

How to Hide Specific Drives in Windows 11

Richard
Written by
Richard
Feb 23, 2026 Updated Oct 4, 2026 5 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 Registry Editor (a tool that stores system settings) controls which drive letters appear in This PC and the sidebar. Nothing is deleted from the drive, and the hardware works as before.

Advertisement

You can still open any hidden drive at any time by typing its letter into the File Explorer address bar. The whole process takes less than 2 minutes. It works the same on Windows 11 Home and Pro, because both include the Registry Editor.

⚡ Quick Answer

Open Registry Editor, navigate to 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer, create or edit the NoDrives DWORD value with a decimal number matching your drive letter, then restart File Explorer . The drives disappear from This PC immediately.

Advertisement

How Can You Access Hidden Drives?

A hidden drive is only hidden from the File Explorer view. It keeps its letter and its data, and Windows can still reach it. You don’t need to undo anything to get into it. Use any of these methods:

  • Click the File Explorer address bar, type the drive letter followed by a colon (for example, F:), and press Enter. The drive’s contents open as normal.
  • Open Disk Management (a built-in tool for managing storage devices) by typing diskmgmt.msc in the Start menu search and pressing Enter. Find your volume in the list, right-click it, and select Open. On some builds the same menu item is called Explore.
  • Open Command Prompt or Windows Terminal, type the drive letter with a colon, and press Enter. The prompt switches to that drive.
📝NoteAdministrative privileges are required to modify these registry keys.

If you are signed in with a standard account, Windows will ask for an administrator password.

Follow These Easy Steps to Hide Drives

Step 1Open the Registry Editor

  1. Press Win+R to open the Run dialog.
  2. Type regedit in the box and press Enter.
  3. If User Account Control asks whether you want to allow the app to make changes, click Yes. The Registry Editor window should now be open, with a folder tree on the left and values on the right.

⚠️ Admin Required

Step 2Go to the Explorer Folder in Registry

Back up your registry before making changes, because incorrect edits can cause system instability. In the Registry Editor, you can do this from the File menu with Export. Save the file somewhere you can find it. If something goes wrong, double-click the exported file to restore it. Creating a restore point first is also a sensible extra precaution.

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

Here's what it looks like:

hide drive windows 11
hide drive windows 11

Compare your Registry Editor window with the image above. Take your time here, because the next steps only work if you are in the right place.

Step 3Choose to Hide or Unhide Drives

To Unhide All Drives

Use these steps if you want to show your drives again, or if a hidden-drive entry already exists and you want to remove it:

  1. Look at the right-hand pane for a value called NoDrives.
  2. If you see NoDrives, right-click it and select Delete.
  3. Click Yes when Windows asks you to confirm. The value disappears from the list.

Deleting the value makes every drive visible again once File Explorer is restarted (see the restart steps below). If you would rather keep the entry, you can instead change its data to 0, which has the same effect.

Advertisement
hide drive windows 11 delete
hide drive windows 11 delete

Whether you hide or unhide drives comes down to one setting in the Registry Editor: NoDrives. If it is present, it controls which partitions File Explorer shows. Delete it to show everything again. Create it, or edit its number, to hide the volumes you choose.

To Hide Specific Drives

  1. If you don't see NoDrives in the right pane, right-click a blank space there and choose New DWORD (32-bit) Value. A new entry appears with its name highlighted for editing.
  2. Type the name NoDrives and press Enter. Check the spelling, because Windows ignores a value with the wrong name.
  3. Double-click NoDrives to edit it. A small edit window opens.
  4. Under Base, select Decimal.
  5. In the Value data box, enter the number that matches the drive or drives you want to hide (see the table below for the numbers).
  6. Click OK. The new number shows in the Data column next to the value.
Windows 11 File Explorer showing hidden drive not displayed in This PC
Windows 11 File Explorer showing hidden drive not displayed in This PC

Each drive letter has its own number, starting with A and doubling for each letter after it. Enter the number for the drive you want to hide, and Windows will hide that drive in File Explorer. To change your choice later, double-click NoDrives again and enter a new number. The table below lists the number for each letter.

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
💡TipCombining values targets multiple partitions at once.

To hide both the E drive (16) and the F drive (32), enter 48 (16 + 32). Always add the numbers for the drives you want hidden, and make sure the base is still set to Decimal.

Step 4Finish Up

The change does not show until File Explorer reloads. You can restart File Explorer on its own, which is quicker than restarting the whole PC.

Advertisement
  1. Close the Registry Editor.
  2. Restart File Explorer or your computer for the change to take effect. To restart File Explorer:
    • Press Ctrl + Shift + Esc to open Task Manager.
    • Find Windows Explorer under Processes.
    • Right-click it and choose Restart. The taskbar and open folder windows flicker or disappear for a moment, then return.
    • Or sign out and sign back in, or restart your PC.

Open This PC afterwards. The drives you chose should no longer be listed. If they still appear, re-check the number in NoDrives and restart again.

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, and follow the steps exactly.
  • Restart File Explorer or your PC to see the changes.
  • To undo the change, delete the NoDrives value (or set it to 0) and restart File Explorer.

Hiding specific drives in Windows 11 lets you clean up File Explorer while keeping your partitions fully accessible. You can hide one or many drives at the same time. You need administrator rights to make these changes in the Registry Editor, and you must restart your PC or File Explorer for the new settings to take effect.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 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 *