Hiding directories is something which is something that everyone can do, but did you know that you can also hide drives or partitions without using third-party applications? You might ask yourself what the need to hide an entire hard disk partition is. But what if you have confidential documents which are prone to corporate espionage or just sensitive files in general which you want to keep private.

Instead of creating a folder and then making it password protected and risk getting it cracked, you can create a brand new partition just for these sensitive files and then hide the entire partition. In this article, we will help you do just that in 4 ways.

Hide Drives Or Partition In Windows

  1. Using the Disk Management Tool

Using the disk management tool in windows is probably the easiest way of hiding partitions. Disk management allows you to manipulate drives and partitions installed on your desktop.



Hold the Windows key and the alphabet “R” while opening the run dialog box. Then type in “diskmgmt.msc” to open the Disk Management tool.

This will show all partitions present on your PC. Now right-click on the partition you wish to hide and click on “Change Letter and paths.”



Clicking the remove button in the new pop up will make your drive hidden for all users using your computer. You can always go back and make the partition visible by clicking on the “Add” button, which you can find in the same place as the “Remove” button. Just make sure to add a drive letter while adding the partition back in.

  1. Hide Drives Using Group Policy

You can also hide drive using Group Policy. Group Policy in Microsoft Windows is a feature that can manipulate the working environment of all user accounts active on the computer. It even offers configuration of OS, applications, and a particular user’s settings in an active directory environment.



Hold the Windows key and the alphabet “R” at the same time to open the run dialog box. Then type in “gpedit.msc” to open the Local Group Policy Editor.

Under User, Configuration click on Administrative templates then go to Windows components. Now go to File Explorer in Windows components.



Double-click on “Hide these specified drives in My Computer” and then on “Enable.”

Choose the drive you want to hide from the drop-down then save and exit.



Drives

Drives

  1. Hide Drives Using Windows Registry

The registry in Windows desktops is a database containing information about system hardware, programs installed, profile settings of users’. Exert extreme caution while editing the registry as it can have serious repercussions. It can also be used to hide drives or partitions.



We advise you to take a backup of the registry before making any changes so that you have a recovery point. 

Enter “regedit” in the Run dialog box after pressing “Windows key + R.”



In the editor registry editor console navigate to – 

”HKEY_LOCAL_MACHINE / Software / Microsoft / Windows / CurrentVersion / Explorer“

Right-click on the explorer and select go to new->DWORD Value (32-bit) and name it as “NoDrives.”

Change the properties of our new DWORD by double-clicking it where it will ask you to enter some values. 

Select the Value based on the drive you want to hide. We have given the values for all Drive letters.

A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, All: 67108863

Enter the corresponding value in “Value data” and select “Decimal” for the Base section.

If you wish to hide two drives, for example, ‘E’ and ‘G,’ you have to enter the value as ‘80’ (E = 16 and G = 64), and it hides both the drives.

You’ll see that your drive is hidden once you restart your PC. If you want your drives back, then change the “Value data” to zero or simply delete the DWORD.

Also Check:

  1. Hide Drives Using Command Prompt

This last method uses command prompt to hide drives. Command platform is a platform that allows you to run Microsoft Disk Operating System or MS-DOS commands. Advanced users prefer the command prompt.

Run the command prompt as an admin.

Type in “diskpart” and press enter.

After that type in “List Volume” and hit enter.

Type select and the number in front of the drive you want to select. For example, if you want to select a drive with the number 6 against it the type “Select Volume 6” and hit enter.

Now, type in “Remove Letter G” and press enter. You should see a message that says, “Diskpart successfully removed the drive letter or mount point.”

To make the drive visible again, follow the first three steps. Then type “Assign Letter D” and press enter. 

Let us know which method you prefer and why in the comments! We personally prefer method