How to Hide a Drive in Windows 11/10
File Explorer in Windows displays any internal or external drives that are connected to your system by default. However, if you don’t want a certain drive to appear in File Explorer, you can always hide it.
By hiding a drive on Windows, it’s possible to prevent others from accessing sensitive files within that drive and keep them safe. If you’re interested in doing that, this guide will walk you through four different methods to hide drives on Windows.

1. Hide a Drive Using the Disk Management App
The Disk Management tool on Windows makes it easy to perform various storage-related tasks such as formatting hard disk partitions, assigning drive letters, managing disk space, and more. You can also use it to hide a drive partition on Windows. Here’s how:
Once you complete the above steps, your drive will no longer appear in File Explorer.

2. Hide a Drive in Windows With Diskpart Command
If you’re a power user who prefers to make changes via the command-line interface, you can use the diskpart command to hide a drive on Windows. Fortunately, this isn’t as intimidating as it might sound.
To hide a drive in Windows with Command Prompt, follow these steps:

You should see a message that readsDiskpart successfully removed the drive letter or mount point. Following that, the drive will no longer appear on your PC.
If you like using Command Prompt, why not check our guide onhow to master the Command Prompt in Windows?

3. Hide a Drive Using the Group Policy Editor
The Local Group Policy Editor is a tool that allows you to configure a wide range of settings on your computer. You can use it to hide a drive from your Windows computer.
The Local Group Policy Editor is only available in Professional, Enterprise, and Education editions of Windows. If you’re using the Windows Home edition, check our guide onhow to access the Group Policy Editor in Windows Homebefore proceeding.

Here’s what you need to do:
Once you complete the above steps, Windows will hide the specified drive from File Explorer. If you want to unhide the drive later, use the same steps and set theHide these specified drives in My Computer policytoNot configured.
4. Hide a Drive in Windows via the Registry Editor
Another brilliant tool that allows you to configure system settings in Windows easily is the Registry Editor. you could use Registry Editor to hide a drive if none of the above methods work. However, you must be carefulnot to accidentally mess up the Windows Registryin the process.
To be safe, you should back up all the registry files before proceeding. If you need help with that, check our guide onhow to back up the Windows registryand follow the steps outlined there.
Once you’re done with that, use the following steps to hide a drive using Windows Registry:
For instance, if you were to hide theE:drive from your computer, you’d enter16in the Value data field.
You can also use this method to hide multiple drives at the same time. To do so, add the decimal numbers for both drives and enter the total in the Value data field. For example, if you’re looking to hide driveG:andH:from your computer, you should enter192(64 + 128) in the Value data field.
You’ll have to restart your PC to apply the changes. Following that, the drive will not appear in File Explorer. You can undo the above changes at any point by deleting theNoDrivesDWORD.
Hiding Drives in Windows Is Easy
Regardless of the method you use, hiding a drive on Windows is fairly simple and shouldn’t take more than a few minutes.
Alternatively, if you don’t want to hide an entire drive, Windows also lets you hide specific files and folders in a few easy steps.
You can easily hide files and folders in Windows without third-party tools. We’ll show you a few simple options.
My foolproof plan is to use Windows 10 until 2030, with the latest security updates.
Not Linux, not Windows. Something better.
Make sure you don’t miss these movies and shows before Netflix removes them.
It’s not super flashy, but it can help to keep your computer up and running.
One casual AI chat exposed how vulnerable I was.