4 Ways to Hide a Drive in Windows

By Dominic Cooper on July 10, 2023

Usually, whichever drive is installed or connected to your PC, Windows will show them in File Explorer by default.

However, you may want to hide one particular drive or a few drives to keep them safe.

There are lots of ways in which you can hide your drive or its partition in Windows, whether it is an external drive or an internal drive.

If you are interested in hiding one of your drives on your computer, here are some easy ways to go about it.

KEY TAKEAWAYS

Why Do You Hide a Drive in Windows?

Hiding a drive in Windows can serve various purposes depending on the specific needs of the user. Here are a few reasons why someone might choose to hide a drive:

Privacy and security: Hiding a drive can be a way to protect sensitive or confidential information from unauthorized access. By hiding a drive, its contents are not readily visible to other users who might have access to the computer.

Organization and decluttering: If you have multiple drives or partitions on your computer, hiding a drive can help keep things tidy and reduce visual clutter in file explorer. It can make it easier to focus on the drives that are actively used.

Prevent accidental modifications: Hiding a drive can help prevent accidental modifications or deletions of files on that particular drive. By making it less visible, it reduces the likelihood of unintentional actions that could lead to data loss or corruption.

Limiting user access: In shared computing environments, such as workplaces or public computers, hiding drives can be used to restrict access to certain areas of the system. For example, hiding the system drive (usually the C: drive) can prevent users from making changes to critical system files, reducing the risk of system instability or malware infections.

Read Also:  What is Hard Drive RPM? Function & More

It’s important to note that hiding a drive does not provide foolproof security. It primarily prevents casual users from stumbling upon the hidden drive’s contents.

More sophisticated methods are necessary to ensure the confidentiality and integrity of sensitive data.

How to Hide a Drive in Windows?

The best way to hide your hard drive and/or its partition is to use BitLocker Drive Encryption feature to encrypt it or by enabling password protection.

There are a few other easy and quick ways to hide a hard drive or its partition, such as:

Of course, there are several third-party tools available which will also help you to hide your drive in the PC, but this article focuses especially on the features within a computer system that you may use for the same.

Method 1: Hiding Hard Drive by Using the Disk Management Feature

It is easy and quick to hide a hard drive or a partition from the Disk Management.

STEPS TO FOLLOW:

Typing diskmgmt.msc in the search box.

Selecting Change Drive Letter and Paths option

Clicking on the Remove button in the Change Drive Letter and Paths for D:

Clicking on the Yes button in the following warning window if you are sure that you want to continue

Drive D is hidden in the Disk Management

The drive will not be displayed in the File Explorer window as well, as shown in the image below:

Drive is displayed in the File Explorer window

If you want to unhide the drive at any point of time, follow the same process but instead of Remove, click on Add and then assign a letter. It can be the same letter (D) as before.

Refresh your PC and it will now show the hidden drive in the File Explorer window.

Method 2: Hiding a Hard Drive by Running Diskpart Command

Another easy and quick way to hide your hard drive in Windows is by running the Diskpart command as an administrator in the Command Prompt.

STEPS TO FOLLOW:

(For this go to the search box > type cmd > choose Run as administrator > click on it.)

Read Also:  Enhanced Integrated Drive Electronics (EIDE) Explained

Running the command diskpart

Typing the command list volume

This will show all the drives on your system along with the drive letters assigned to each. When this letter is displayed it signifies that the drive is not hidden. So, you will need to remove this letter to hide your drive.

Assuming that you need to hide Drive D, which has the volume number 1 and the letter D assigned, follow these steps:

This will select the particular drive you want to hide.

You may also use the command remove letter D if you wish.

This will hide the drive from the “File Explorer” and “Disk Management” window.

Typing in the command remove

If you want to unhide the drive, follow the same process but instead of ‘remove,’ type ‘assign’ as the second command. It will assign the same letter D to the drive and display it in the File Explorer window once again, unhiding it.

Method 3: Hiding Hard Drive By hanging Settings in Local Group Policy Editor

You can also use the Local Group Policy Editor to hide your drive from others.

STEPS TO FOLLOW:

Typing gpedit and clicking on Edit group policy

Hide these specified drives in My Computer

Selecting and clicking on Edit from the dropdown menu

Hide these specified drives in My Computer window

Close the Local Group Policy Editor window. You will have to restart your computer for the changes to take effect.

After restarting your PC, go to This PC, and you will see that the Drive C, which was displayed before, is now hidden.

Method 4: Hiding All Drives from the Registry Editor Tool

Now, if you want to hide all the drives on your system together, you may use the Registry Editor tool. This tool will allow you to hide your drives if you want as well as unhide them together when you need it.

STEPS TO FOLLOW:

When the Registry Editor window opens, expand the following folder in the exact order mentioned below by clicking on the small arrow key next to each:

When you reach policies and expand it, you will get the Explorer folder. Click on it. You will need to create a new key on the right side of the window.

Clicking on DWORD

Naming the New Value #1 as NoDrives

This is case sensitive and therefore make sure you type it just as shown with N and D in upper case and no space between the two words.

This will open the Edit DWORD (32-bit) Value window.

Edit DWORD

Now, close the Registry Editor window and restart your system. You will find that all the drives in the File Explorer are hidden.

If you want to unhide them at any point in the future, you will have to go to the Register Editor again and follow the same steps until you find NoDrives in the Explorer folder.

Close the Registry Editor window and restart your system again. This will bring back all the drive together in the File Explorer window again.

Conclusion

As it is evident from the article, hiding an external or internal drive in a PC is not a difficult task, irrespective of the method you choose to follow.

If you follow the steps precisely, it will not take more than a couple of minutes to hide a drive.