How to Hide a Drive in Windows using CMD

Hide a Secret Drive in Windows

We make partitions in our PC to segment the drive to store various category of documents for the easy access, and also we will be having a drive to store some secret files. But how to protect the Drive? The best way is to Hide the Drive using CMD (Command prompt).

Steps to Hiding Drive in Windows using CMD

In Windows, you can Hide the Drives without using any software. 5 Steps in CMD can be used to hide the drive, follow the steps given below.

  1. Open the command prompt of your system
  2. Type "Diskpart" and then press enter
  3. To see all the disk details type "list volume" in the command prompt
  4. Decide the volume to hide and then give the command as "Select volume E" in the command prompt and then press enter.For example, if you want to lock up disk partition D then type as "Select volume D".
  5. Type "Remove letter E" in the cmd to hide the selected partition.

Hide disk cmd code

Steps to UnHide Drive in Windows using CMD

Wanna view or UnHide the hidden partition disk, just follow the below steps:

  1. open the command prompt of your system
  2. Type the "Diskpart" and then enter
  3. Type "list volume" to view the details of all the disk in your system
  4. select the hidden disk volume just by using the command "Select volume E" where E is the label of the disk
  5. To reveal the hidden partition use the command "Assign letter E" where E is the label of the hidden disk.

That's all.Now you can see the disk partition in your system.


Please enter your comment!
Please enter your name here

Latest News

2 Ways to Watch Facebook Videos Together with your Friends

Gone are the days, when you send a YouTube or Facebook video link to your friend and...

10 Best Controllers for xCloud Gaming

Microsoft is launching its own game streaming service known as Project xCloud on September 15th exclusively on Android devices. So, its time to...

How to Enable the Dark Mode on Chrome Browser

Starting 2020 Dark mode became a new trend, you can see dark mode on every famous mobile application like WhatsApp, Twitter, Facebook,...

How to access iCloud Photos [iPhone | Mac | Android]

Looking for Ways to access your iCloud Photos?, you are in the right place, iCloud is an Apple cloud-based data storage that...

5 Ways to See Zoom Meeting on TV (iPhone, Android, Mac)

2020 has become a year where its really hard to get your business done without Video conferencing software like Zoom, Google Meet....