Monday 6 July 2015

How to hide drives on computer using CMD

By this method you can hide the drive from your computer and yes of course undo it later ;)
Just follow these simple steps:

1. Open run (Window + R keys)  and type "cmd" and press hit enter.

2. Now in the command prompt window type "Diskpart" and hit enter. Click yes if you are asked to confirm if you want to allow this program to make changes to your computer.

3.Now type "list volume" and hit enter
4. Now type "select volume E" you can select any letter drive which you want to hide. For eg : "select volume D"
5. The above command selects the drive , to hide it - 
type "Remove letter E"  here as well replace the letter "E" with the drive letter you have selected .


You have successfully hidden your drive with simple commands ;)





TO BRING YOUR DRIVE BACK:

Just follow the above steps with a slight difference:
select your volume by number instead of letter 
For eg: for the above case- "select volume 4" 
and then type "Assign letter E" 
You have got your drive back :)





No comments:

Post a Comment