January 29, 2016

How to hide/retrieve any local drive using command prompt


   The Command Prompt aka cmd is a feature of Microsoft Windows which allows user to enter MS-DOS (Microsoft Disk Operating System) commands. 




To hide any local drive using command prompt of your computer follows these instructions.


Step 1:


Start Command Prompt



Open Command Prompt as Administrator. To do this go to Start > All Programs > Accessories and right click on Command Prompt and choose Run as administrator. 







Step 2:



Write Command - diskpart


Type ‘diskpart’ and press Enter key. 



Step 3: 




Type Command - list volume



Type ‘list volume’ and press Enter key. Now it will display the list of all your computer drives details as shown in above figure.


Step 4:




Type Command - select volume E




Type the Drive Letter which you want to hide. If you want to hide volume E, type ‘select volume E’ or ‘select volume 3’ and hit Enter key.

A message will be shown Volume 3 is the selected volume’ .



Step 5: 



Write Command - remove letter E



After that, type ‘remove letter E’ and hit an Enter key. A message will be shown DiskPart successfully removed the drive letter or mount point. Now your drive E is hidden.
 


To get back hidden local drive using command prompt of your computer follows these instructions.




Step 1:


Start Command Prompt




Open Command Prompt as Administrator. To do this go to Start > All Programs > Accessories and right click on Command Prompt and choose Run as administrator.


Step 2:



Write Command - diskpart

Type ‘diskpart’ and press Enter key.


 Step 3:


Type Command - list volume


Type ‘list volume’ and press Enter key. Now it will display the list of all your computer drives details (including hidden drive) as shown in above figure.


Step 4:
 

Type Command - select volume 3


Type ‘select volume 3’ and hit Enter key.

A message will be shown Volume 3 is the selected volume’.   


Step 5:


Type Command - assign letter E


After that, type ‘assign letter E’ and hit an Enter key. A message will be shown DiskPart successfully assigned the drive letter or mount point. Now your drive E is not hidden.




Note : Your pc will not lost any data during this trick.








No comments:

Post a Comment