Hiding disk drives using CMD prompt
Generally we often face the situation in which we need to hide our personal disk drives which contains various sensitive and private data and we don’t want to share those data with anyone.
So, for hiding disk drives, we can do so by using some application software or by using CMD prompt. For now, we will discuss to hide disk drives by using CMD prompt and this method is applicable for all versions of Windows like Windows XP, Windows 7, Windows Vista, Windows 8, etc.
Let’s proceed further for hiding disk drives from all other users of the computer.
Here are few steps to be followed one by one.
Snapshot of computer before hiding any of the drives
Here we will hide the “Ace (G)” drive.
Step 1: Press Windows start button, type “CMD” and hit enter (The command prompt will open).
Step 2: Now type “DISKPART” in CMD prompt and hit enter.
Now a “User Account Control” pop up window will appear, in that hit “Yes” to proceed further. If we select “No” then access will be denied.
Step 3: Now type “LIST VOLUME” and hit enter (This will show a list of all mounted volumes and associated volume letters).
Here we will hide the 5th volume i.e. Ace (G).
Step 4: Now select the volume number you want to hide. For example we want to hide volume 5 then type “SELECT VOLUME 5” and hit enter.
Step 5: Now type the letter associated with volume 5 like “REMOVE LETTER G” and hit enter (This will hide or remove the selected drive).
Step 6: Now type “EXIT” and hit enter.
Now the drive is hidden from all other users and it can be unhide anytime you want without losing any data of the drive.
Snapshot after hiding drive “G”, we can see that the “G” drive is hidden now.
To unhide the hidden drives, repeat the above steps till step 4 and then in step 5, type “ASSIGN LETTER G” in place of “REMOVE LETTER G”. This way we can unhide our hidden drives and can access them again.
Now the drive can be displayed and accessed again.
Thank you for your patience.