Many Windows users would know how to hide a file or a folder. Apparently, it’s quite a common practice and it makes sense. Some people also simply lock a folder or file which contains confidential data. It can be a real task though if you have a number of such files or folders that you’d want to prevent from being discovered. You can always create just one secret folder in which you keep all your secrets. Alternatively, you could instead dedicate an entire drive to the cause. Of course, then you’d have to hide the drive somehow. Yes, it’s possible and we’re going to show you here how to hide a drive in Windows 11, 10, 8 and 7.
Why hide a drive?
As we just mentioned, you can create a hidden folder and hide all your files inside that. However, as we also mentioned, this is a pretty common practice. Just as many people know how to view hidden files and folders on Windows as many know how to hide them. Thus, hiding an entire drive solves that problem. Not only does anyone suspect you to have a hidden drive, there is also no way for others to check a box in the ribbon bar and view the drive. To access the drive, you can either use the command prompt or simply type in the drive address in the address bar of the file explorer.
Since you can change the drive letter, and not tell anybody about it, it would be difficult for any Sherlock to figure out if there is a hidden drive and how to access it.
How to hide a drive in Windows 11, 10, 8 and 7
There are at least four ways to do this on Windows via Disk Management, using Group Policy, through Windows Registry, and using Diskpart. Since Group Policy is not available on all versions of Windows 10 we’ll skip that for now. Furthermore, modifying the Windows registry is not recommended, especially when it can be done via other, safer methods. Not to mention this is just a tad bit more complicated than your general registry hacks.
Must read: How to Backup and Restore Drivers on Windows 10
Hide a drive using Disk Management
- Hit the Windows button and type computer management to search for it and open it. Alternatively, launch the file explorer and click on Manage from the ribbon bar at the top. Now, I don’t have the need to create a drive specifically for hiding files, therefore I’ll simply hide my main storage drive for demonstration.
- In the Computer Management console, select Disk Management under Storage from the left column.
- The Disk Management console will now open up showing you all the disk drives attached to your PC.
- Right-click on the drive you wish to hide and select Change Letter and Paths. Make sure you only try this on a drive that you don’t install programs to, like the C: drive. Also, ensure that any files you may have opened from the drive must be saved and closed.
- In the pop-up window that opens up, click on Remove and then click OK. You may be warned now of the potential errors this may cause and the need to reboot your PC. Unless you install your programs on the drive you’re trying to hide you should be good. Simply click Yes wherever asked but do make sure you read the warning carefully.
- Close the Computer Management console and open your file explorer again. You’ll notice your selected drive is no more shown.
- If you need to access files in the hidden drive, simply enter the drive letter followed by :\ and you can still use it. The drive and all its files are safe but simply hidden. For example, E:\
- If you want to unhide the drive ever, repeat steps 1 to 4, and in the pop-up, click Add, instead of Remove and assign a letter to the drive.
Hide a drive using Diskpart
Diskpart, if you’re unaware, is a command line-based tool. Therefore, in order to use it, you will need to launch the command prompt and type in commands. Some people are more comfortable with commands than others and might actually prefer this way.
- Open a command prompt window with elevated privileges (right-click > Run as administrator).
- Enter Diskpart.to launch the command line tool.
- Type in List Volume and hit Enter. This will list all of your drives.
- Type select and then after space, type the numeral shown against the letter of the drive you want to hide. For instance,
select volume 3
- Remove the drive letter now, which is what we did earlier using the Computer Management console. To do this, enter the following command.
remove letter E
- This will hide your drive and you can see the result by opening the file explorer.
- In case you want to unhide the drive later, follow steps 1 to 4 and then enter this command:
assign letter E
You need not necessarily assign the letter E. You can assign any acceptable letter to the drive.
Don’t miss: How to Format USB Drive on Windows 10 Using Command Prompt