logo
Windows 10 How to Hide a Drive in Windows 10/11

How to Hide a Drive in Windows 10/11

By Achilles Hill | Last Updated

Need to keep a partition or drive out of sight on your Windows PC? Whether you're hiding a sensitive volume, keeping it safe from accidental access, or just decluttering your File Explorer, Windows 10 and 11 make it easy to hide any drive without deleting or formatting it.

In this guide, we’ll show you how to hide a drive in Windows 10 or 11 using simple and advanced methods—no third-party tools needed.

Why Hide a Drive in Windows?

Hiding a drive can serve multiple purposes:

  • Protect sensitive or personal data from casual users
  • Prevent accidental formatting or file deletion
  • IT admins can hide drives on shared computers or classroom PCs

Note:

  • Hiding a drive does not delete or affect the data on it. You can unhide it anytime.

Method 1: Hide Drive Using Disk Management

Step 1: Open Disk Management on your computer.

Step 2: Find the drive you want to hide (e.g., D: or E:). Then right-click the volume and select Change Drive Letter and Paths.

choose Change Drive Letter and Path

Step 3: Click Remove, then confirm by clicking Yes. Now, the drive is now hidden from File Explorer, but data remains intact.

click Remove and confirm

How to Unhide It:

Go back to Disk Management, right-click the hidden volume and choose Change Drive Letter and Paths. Then click Add to assign a drive letter and click OK.

click Add and assign new letter

Method 2: Hide a Drive Using the Registry Editor

Modifying the registry can affect system behavior. Follow these steps carefully.

Step 1: Open the Registry Editor.

Step 2: Navigate to: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer .

Step 3: Go to the right panel, right click the blank space and choose New> DWORD(32-bit) Value .

add new value

Step 4: Name it: NoDrives. Then double-click NoDrives and select Decimal. And enter a number that represents the drive(s) you want to hide.

set nodrives value

Note:

  • 1. Drive Letter to Value Table: A: 1; B: 2; C: 4; D:8; E:16; F: 32; G: 64; H: 128
  • 2. To hide multiple drives, add their values. For example, D + E = 8 + 16 = 24.

Step 5: Hit the OK button and shut down Registry Editor. After that, reboot your computer.

If you want to unhide the drive, just go to set NoDrives value to 0 and restart your computer. The drive will appear on File Explore again.

Method 3: Hide a Drive via Group Policy Editor (Windows Pro & Enterprise)

Step 1: Run Group Policy Editor.

Step 2: Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. Find and double-click the settings-- Hide these specified drives in My Computer.

double-click hide these specified drives in my computer

Step 3: Select Enabled, then choose the drive(s) to hide from the dropdown.

Step 4: Click Apply > OK to apply the changes.

set drive to hide

Note:

  • 1. Only works for Windows Pro, Education, and Enterprise editions.
  • 2. You can only hide certain drives via Local Group Policy Editor.
  • 3. If you want to show the drive, set policy to Not Configured or Disabled.

Method 4: Hide Empty Drive via Folder Options

If you want to hide the empty drives, there is an easy way.

Step 1: Open Folder Options.

Step 2: Click the View tab and check the option—Hide empty drives under Advanced settings. After that, click the OK button.

check Hide empty drives option

Note:

  • To make the empty drives do not show on the File Explorer, you should uncheck the option—Show hidden files, folders, and drives.

How to Access Hidden Drives

If you hide the drives successfully, is it possible to access the drive? Yes, of course. You can access the hidden drives via the following methods:

  • Typing the full path (e.g., D:\MyFiles) into the File Explorer address bar.
  • Using Command Prompt or PowerShell.
  • Open Disk Management and assign a drive letter back to the drive.

Note:

  • The hiding will not block uses to access your drive content. If you want to protect the drive from access, you can use the encryption software, such as BitLocker Genius.

FAQs on Hiding a Drive in Windows 10/11

1. Will hiding a drive delete my data?

No, hiding a drive only removes it from visibility in File Explorer. All files remain intact and accessible by path.

2. How do I make the hidden drive reappear?

Use Disk Management to assign a drive letter, or reverse changes made via Registry or Group Policy.

3. Can I hide the C: drive?

Technically yes, but it's not recommended, as it contains your system files. Hiding it can cause system instability.

4. Can someone still access my hidden drive?

Yes, users can access it via command line or path. To restrict access, use encryption or user permissions.

Conclusion

Whether you're organizing your File Explorer or protecting sensitive data, hiding a drive in Windows 10 or 11 is quick and reversible. Use Disk Management for simplicity, or dive into the Registry or Group Policy for more control—without affecting your files.

Related Articles: