How to hide drives in Windows 7/8/10

If we have private data and someone using our system, then we would like to hide drives so that someone could not get that data. There are lots of ways to hide drives in Windows 7/8/10, but I will show you the better way through command prompt.

Here’s how to hide drives in Windows 7/8/10 using Command prompt: –

See below things to hide the local drives using Command prompt.

  1. Use the Windows key + R keyboard shortcut to open the Run command.

Hide drives

  1. Type Diskpart in run command and click OK to open the CMD.

After that, below window will be opened.

  1. Now, you must follow these 3 steps: –
  • Step: – 1. Type List volume and then press ENTER .(see red arrow in the command prompt)

Now, I would like to hide Local disk ‘’E’’ (See below screenshot)

  • Step: – 2. Type Select Volume 4 and then press ENTER. I’m selecting volume 2 as I want to hide this volume, you can select which drive you want to hide.

 Step: – 3. Type Remove letter E and then press ENTER. I’m selecting letter E as I want to hide this Letter, you can select the letter for that drive which you want to hide.

Now, the drive has been hide as you can see above message ”Diskpart successfully removed” in the screenshot.

Here is a post on 3 Easy ways to open system properties in windows 7/8/10. I hope you would like this post.

Also, you can see there is no Local Drive ‘’E’’ in below screenshot.

Buy office 365 from here: –

How to unhide a hidden drive: –

Just use ‘’Assign letter’’ at the end instead of ‘’Remove letter’’ to unhide a hidden drive.

Thus, you can hide and unhide drives through command prompt.

I hope above article will be helpful for you.

If you need any information, please let me know through the comment section.

About the author

Mohit Chaudhary

Mohit Chaudhary

Mohit Chaudhary is a founder and author of Erudition. He is fountainhead of Eruditionhub. He has been blogging since May 2018. He has been taking an interest in Technical things Since 2010. He learnt lots of things and keep update to date yourself with the latest news and technology. He is also fond of books and reads new 5 books in a month of great authors. Now He wants to spread the knowledge of books and technical things and relief you from the technical pain.

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *