Hiding a Hard Drive Partition In Windows

In today’s post let’s learn how to hide a hard drive partition so it won’t be visible and hence accessible from the file explorer. Knowing this trick would be handy if your PC or laptop need to be given to untrustworthy third parties and you don’t want them to sneak into your personal space. Of course, you should take a backup of the data and delete everything personal before giving the PC. I feel that’s an overkill if there’s no potential threat involved in copying your data such as movies, songs, freeware etc. A clever trick would suffice to shield your data from the prying eyes.

Hiding a partition has an indirect advantage of speeding up your searches in the file explorer.


I am running Windows 10 and the method is identical for other versions of Windows. Here are the simple steps to hide and unhide a partition:

Step #1: Open the computer management utility from the context menu of This PC (aka My Computer) and select disk management.


Pro Tip: You can open the disk management utility directly by running the command diskmgmt.msc from either the run prompt (Win+R) or the command prompt (cmd).

Step #2: Right-click on the partition you would like to hide (in my case it’s G: drive labeled Softwares) from the list of color-coded disk chunks. And choose the “Change drive letter and paths…” option.


Once in there, remove the drive letter. A warning message appears before you can do so to which say yes. And voila! the partition you just removed the drive letter from is no longer visible in the file explorer. Looks as if you don’t even have any more hard disk space other than what’s shown in the file explorer.


Reverting Step: To unhide the partition, you guessed it, go to disk management again, choose the partition and add a drive letter to it. Pure and simple.