Skip to content
Follow
Windows

How to Hide Specific Drives in Windows 11

Richard
Written by
Richard
Feb 23, 2026 Updated Mar 29, 2026 4 min read
How to Hide Specific Drives in Windows 11
How to Hide Specific Drives in Windows 11

You hide specific drives in Windows 11 by modifying the Windows Registry to remove their drive letters from File Explorer. This process stops casual users from seeing or accessing your chosen drives through File Explorer, which is the standard interface.

Hiding a drive is a way to declutter File Explorer. It can be useful for concealing backup partitions or external storage devices. Windows 11, like previous versions, allows you to selectively hide drives without impacting their functionality.

For example, if you want to hide your D: drive, you’ll be making a specific registry edit to achieve this. This guide will show you exactly how to do it. Your selected drives will disappear from view, but you can still access them when needed.

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

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?

Even if you hide drives in Windows 11, you can still get to them easily. You can type the drive’s letter directly into the File Explorer address bar, like typing ‘F:’ and pressing Enter. Another way is to open Disk Management by searching for ‘diskmgmt.msc’ in the Start menu.

  • 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: To hide or unhide drives, you need to be signed in as an administrator (the person who can make changes to your computer).

Follow These Easy Steps to Hide Drives

Step 1Open the Registry Editor

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

To hide specific drives in Windows 11 using the Registry Editor, you’ll need to create a new value. If you don’t see a setting called ‘NoDrives’ already, right-click in the right pane, select ‘New’, then ‘DWORD (32-bit) Value’. Name this new value ‘NoDrives’ and then double-click it to set its data.

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

To hide specific drives in Windows 11 using the Registry Editor, you’ll need to create a new value. If you don’t see a setting called ‘NoDrives’ already, right-click in the right pane, select ‘New’, then ‘DWORD (32-bit) Value’. Name this new value ‘NoDrives’ and then double-click it to set its data.

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

You can hide one or many drives in Windows 11 so they don’t show up in File Explorer. These drives still work and can be opened by typing their letter or using Disk Management. Remember, you need administrator rights to make these changes, so be careful when editing the Registry Editor and restart File Explorer or your PC to see the changes.

How do I hide a drive in 🪟 Windows 11?

Click on delete. If you see a warning message, don’t worry, just click ‘Yes.’ Now you’ll see that the D drive is no longer in File Explorer. To unhide this drive…

How do I hide drives in my PC?

Right-click on the Start button and select ‘Run.’ Type `gpedit.msc` in 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 Enable or Disable Window Preloading in File Explorer on Windows 11
Windows How to Enable or Disable Window Preloading in File Explorer on Windows 11
How to Change Folder Layout View in Windows 11 File Explorer
Windows How to Change Folder Layout View in Windows 11 File Explorer
How to Add or Remove Pinned Section on Start Menu in Windows 11
Windows How to Add or Remove Pinned Section on Start Menu in Windows 11
How to Add or Remove Favorites in Windows 11 File Explorer
Windows How to Add or Remove Favorites in Windows 11 File Explorer

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

Leave a Comment

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