Simple Command Prompt tricks and hacks may come in handy at any time. In this article you will learn to “Hide any drive in Windows Operating System using Command Prompt or Powershell.” This command works in all windows operating systems.
Just follow the steps and Screenshots below
Press “Windows + R” and type “cmd”, next type “DISKPART”. A new Command window may appear(will not appear in some windows versions).
Type “LIST VOLUME”(space must be given between list and volume) and press enter.
Now remember the volume letter or number you want to hide and type “SELECT VOLUME number or letter”(See the screenshot).
Next type “REMOVE LETTER G”(Type the drive letter you want to hide, here i wrote G just for an example.)
Now go to MY Computer (type “windows + E”) and check whether the drive is hidden or not. It should be hidden if you’ve done everything as above.
To unhide the drive again, just type “ASSIGN LETTER letter of Drive” (See the Screenshot).
That’s it now the drive or partition you have hidden before will appear now.
I hope you’ve found this guide useful and interesting. Please let us know your views about this article in the comment section below. Subscribe to our updates and get useful tips and tricks directly to your email. We will never spam you. Thank you 🙂