How to hide a drive in Windows 10/8/7

Updated May 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

If you are a Windows user, you probably know how to hide or lock a folder or file containing confidential data. In general, we use file encryption software to perform these tasks. But, if you have many such folders and files, it’s not a good idea to lock every folder. A better option would be to move all those files and folders that you want to hide or that you don’t want others to know about on a hard drive of your PC. Then hide the entire hard drive so no one can see it.

This hidden drive is not displayed in Windows File Explorer, but is accessible from a command prompt or by entering the drive letter in the Explorer address bar. So, if someone uses your Windows PC, they don’t know that such a drive is in your PC and that your confidential data is safe. This is possible under Windows 10/8/7/Vista. I will guide you through the steps that must be followed in Windows 8.

Hiding a drive under Windows 10

There are four ways to hide a drive under Windows 10. This is done via disk management, group policies, Windows registry or the Disk Part in CMD command. We will see these options step by step so that you can implement the same to hide a drive in Windows 8.

If you want to hide a drive in Windows 8 using disk management, right-click My Computer and then click Manage.

In the Computer Management Console Open storage by double-clicking.

Now double-click Disk Management Snap-in.

The Disk Management Console opens and you can view all disks on your PC.

Select the drive you want to hide and right-click it. Select’Change letter and paths’ and click the Remove button.

When requesting confirmation, say’Yes’. Now you can no longer see the hidden hard drive in your workstation.

Hide group policy drive

May 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


Start gpedit.msc and navigate to the following parameters :

User Configuration/Administrative Templates/Windows Components/File Explorer

Double-click Hide these specified drives in My Computer and select Enabled.

From the drop-down menu, select the drive you want to hide.

This policy setting allows you to hide the drives specified in My Computer. This policy setting allows you to remove icons from selected My Computer and File Explorer hard drives. Also, letters from selected drives are not displayed in the Open by Default dialog box. If you enable this policy setting, select a player or combination of players from the drop-down list. This policy setting removes icons from the player. Users can still access drive content using other methods, such as mapping the path to a directory on the drive in the Network Drive dialog box, in the Run dialog box, or in a command window. In addition, this policy setting does not prevent users from using programs to access these players or their content. And this does not prevent users from using snap-in disk management to view and modify disk properties. If you disable or do not configure this policy setting, all players will be displayed or select Do not restrict players from the drop-down list.

Save and exit.

Hide drive via Windows registry

This second way, we will use the NoDrives registry key to hide a drive in Windows 8. Since we are adding a key to the registry, I suggest that you save your Registration. As soon as it’s done, keep going!

Press Windows+R key, type regedit’ and press Enter. The registry editor console opens. Navigate to the next path,

HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> CurrentVersion ->Explorer


Here we will create a new DWORD value, so right-click Explorer and select New -> DWORD value (32-bit) .

Enter the name under ‘NoDrives’ and double-click to edit properties. Now the console opens, where we have to enter values. Under Value data, select the drive you want to hide. Each drive letter has a unique value and the values are as follows:

A 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


Select the appropriate value for the drive and enter this value in’Value Data’. For the ‘Basic’ section, select the ‘Decimal’ option. Since I want to hide, drive ‘G’, I enter the value’64’.

If you want to hide two drives, for example ‘E’ and’G’, you can enter a value like’80’ (E = 16 and G = 64) and hide both drives.

Restart your computer and hard drive now hidden. If you want to recover the drive, change the value to zero, or you can even delete the’NoDrives’ registry key.

Hide drive with CMD

1] Open a high prompt, type the disk part and press Enter.

2] Enter List Volume and press Enter.

3] it could be drive G) you want to hide. For example, it could be Select Volume 6 Press Enter.

4] Finally, type Remove the letter G and press Enter.

You receive a message – The disc section has successfully deleted the drive letter or mount point

To view the hidden drive , perform steps 1, 2, 3 above.

Now enter Assign letter D and press Enter. The player is displayed in the Tag browser.

These are the 4 ways to hide a player natively in Windows.

UPDATE: You can also use the free HideCalc software to hide the player in Windows. Also read the comments below.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video