Unmount the drive so that no one other than you can use it

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:

    1. Click Start -> Run type regedit in the box and click OK
    2. Navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer

  1. From the menu, navigate to Edit -> New -> DWORD Value
  2. Name the New Value NoDrives
  3. 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:
    • A=1
    • B=2
    • C=4
    • D=8
    • E=16
    • F=32
    • G=64
    • H=128
    • I=256
  4. 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.
Thnx…

Advertisements

One thought on “Unmount the drive so that no one other than you can use it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s