Hide Any Drive In Windows Using Command Prompt

We all know how to hide our personal files or folders in Windows from spying eyes.Using this we can only hide folders but how it would be like if there is an option to hide the whole drive from others, isn’t it cool?Yes, you can hide the entire drive from others, for this you no need any other software.It can be done using Command Prompt, we can perform various things using command prompt but this is one of the coolest feature.You can hide any drive using Command Prompt (CMD) with the following simple steps.

How To Hide Any Drive In Windows Using Command Prompt:

1.First step is to open command prompt window.

2.Now you have to type Diskpart in the command prompt window and hit enter.A User Account Control dialog box appears asking for the permission, just click yes to continue the process.

diskpart

3.Now type the command List volume and hit enter.This will display you the list of drives available in your pc or laptop.

list-volume

4.You colud see volumes assigned with respect to each drive, these volumes will help us to hide the drive.Ltr indicates the letter of each drives.Select the drive which you wish to hide.

5.You have to see the volume which is assigned to the drive which you wish to hide, type the command Select volume 1 and hit enter.Since i wish to hide drive H, i have selected the volume 1 that has been assigned for  drive H.You can change this according to the drive.This command is used to select the drive which has to be hidden.

select-volume

6.It would show you the command indicating the selected volume.To hide type the command Remove letter H ( here you have to mention the letter of the selected drive ).

remove

Go to explorer and check now, the drive would not be there.

How To Get Back The Hidden Drive:

1.Again open command prompt window.

2.Type the same command Diskpart in the command prompt window and hit enter.

3.Now type the command List volume and hit enter.It will display all drives except the hidden one.

4.Type the command Assign letter H and hit enter.It will display you the success message as shown in the image.

assign

Again go to explorer and check now, the drive will be visible.

Leave a Reply