In this article we will present 5 options to hide drives in Windows 10. These methods are highly recommended to hide disks from malicious users who manipulate your computer. You can also hide files, folders, or protect directories with passwords.
The options we will present to hide drives range from using the Registry Editor to using the Command Prompt window.
Option 1: Hide Drives in Windows 10 via Disk Management
This powerful option disables and hides access to the drive and all its content. To start, open Run with the Win+R shortcut, type diskmgmt.msc, and press Enter.
In the window, all the drives on your computer will become visible. Select the disk you want to hide, right-click on it, and choose “Change drive letter and paths…” A window will open to change the drive's letter, but at the bottom you'll see three buttons; you'll have to click Remove. (Confirm the removal.)
Your drive will be removed and hidden. You won't be able to access it or its content. If you want to make the disk visible again and access its data, just open the window where the drives are shown, right-click on the unit, and select Add Mirror…
Option 2: Hide Any Drive in Windows 10 via Command Prompt
With this method, you also won't be able to access the drive and its content.
The first thing you have to do is open the Command Prompt window and type diskpart. Then, in the cmd window, type list volume and press Enter. All internal and external drives connected to your computer will be shown.
Now select the volume corresponding to the drive you want to hide (the number, in our case “2”, for the drivers' disk), and press Enter. All that remains is to type remove letter 2 (just change the number), so the drive becomes invisible.
To make the drive visible again, just follow the steps up to selecting volume and type “select volume 2” and press Enter.
Option 3: Hide Drives in Windows 10 with the Group Policy Editor
This method is only available in Windows 10 Pro and Enterprise versions. It doesn't work for hiding removable drives, and you can still access the disks through the Run command.
First, open the Run window and type the directive gpedit.msc. You'll see a window open; in the editor, select User Configuration - Administrative Templates - Windows Components - File Explorer.
On the right side of the window's interface, look for the file “Hide these specified drives in My Computer”. At this point another window will open, and you'll have to select the option Enabled. Below, an option will be enabled so you can select the combinations to restrict access to the drives. To make the combination visible again, from this window select Not Configured and click OK.
Option 4: Hide a Drive in Windows 10 with the Registry Editor
This option is very good because you can hide internal and external drives, but they will be visible from the Run command.
First, open the Windows 10 Registry (type regedit in the search box). From the registry window, go to this path: HKEY_LOCATION_MACHINE - OFTWARE - Microsoft - Windows - CurrentVersion - Policies - Explorer.
With the auxiliary mouse button, click on the work area (on the right side) and select New – DWORD, and rename it with the name “NoDrives”. Click on it and in Base select Decimal, and in Value Data, you'll have to insert the decimal value corresponding to the drive letter. 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. For example, if you have to hide drive “D”, you'll have to enter the value “8”.
You can also make combinations, for example if you put the number “12”, drives “C” and “D” will be hidden (8+4). And to make the drives visible again, just type the number “0”.
Option 5: Hide a Drive in Windows 10 with LuJoSoft HideDrive
To hide drives with this method, we'll use the program LuJoSoft HideDrive. Although it's not infallible, it's a very good option.
Its use is very simple. Once you download the program from its official page, you'll see that in its interface there are letters from A to Z that represent the drives. You just have to select the drive or drives and click the button “Hide my drive(s)”. The drives will be hidden. To make the disks visible again, repeat the same steps.
The 5 methods to hide drives are very good options for computers where more than one user has access.