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.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type Diskpart in run command and then click OK to open the CMD.
After that, below window will be opened.
- 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: – https://products.office.com/en-IN/compare-all-microsoft-office-products?tab=1
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 the above article will be helpful for you.
If you need any information, please let me know through the comment section.