Hi! Friends here is a very useful trick for you to hide / unmount the drive without any passwords.
This trick is to just hide the drive:
- Click Start -> Run type regedit in the box and click OK
- Navigate to:
- From the menu, navigate to Edit -> New -> DWORD Value
- Name the New Value NoDrives
- Next, Right click NoDrives and select Modify, now check the Decimal option and under Value Data enter a decimal value for the drive you would like to hide. For example to hide C you would enter 4. See the list below for more values:
- Click OK once finished and restart your PC to verify the drive letter is no longer displayed
Note: You can delete the key that was created to display the drive again.
Warning : This is not much secure as any one can open the drive if he / she knows the drive name. We can open it through run window or explorer by typing just the drive name (e.g. If G is hidden than also we can open it by typing G:)
Here is a trick to unmount the drive so that no one can use it.
Click on Continue Reading below for the trick to unmount.
Suppose you want to hide the G: drive :
Go to command prompt (win + R –> type “cmd” )
Type “diskpart” without quotes and press enter.
Now type “list volume” without quotes and press enter
From the list get the number of the drive you want to unmount.
In our case the number is 10.
Now type “select volume volume_number” (in our case “select volume 10“) without quotes and press enter.
Now type “remove letter volume_letter” (in our case “remove letter g“) without quotes and press enter.
And you are done.
Your drive is unmounted. Njoy…
But now you will have a question like how to mount the drive back?? right?
it is also very easy.
you have to follow the same steps till you select the volume.
Now instead of remove letter command you have to type
for windows XP : “assign letter volume_letter” (in our case “assign letter g“) without quotes.
for Vista / seven : “assign letter= volume_letter” (in our case “assign letter=g“) without quotes.
and you are done..!!!
Your drive will be displayed.