hide drive secret windows 10 diskpart

How to Hide Drives on Windows 10 Using Command Prompt

Published by Soufiane Sabiri | Categories : Computers - Security - Computers - Tips & Tricks - Computers - Windows 10

In this tutorial, you will learn one more use of the Command Prompt.

We will use the command diskpart in the Command Prompt to hide/show one or multiple drives in the Explorer. This can be useful if you want to hide secret data in a special partition that you can create using the Disk Management utility in Windows.

The good thing about this method is you will never need a third-party tool to do this for you, just remember these commands, you never know when you will need them.

Here we will hide the drive F:, it’s a Flash Drive, but you can use this method on any drive or partition in your system.

hide drive windows diskpart 1 my pc

Hide Drives Using Diskpart in Windows

Open the Command Prompt as administrator by going to Start and searching for CMD.

hiberfile 1 cmd administrator

Type in the command diskpart and hit Enter key.

hide drive windows diskpart 2

Type in list volume to display a list of all the drives available, press Enter key.

hide drive windows diskpart 3 list volume

Type in select volume F or you can also use select volume 4 since 4 is the number of drive F, press Enter key.

hide drive windows diskpart 4 select

To hide the drive, type the command remove letter F and press Enter key.

hide drive windows diskpart 5 remove letter

You are done! Close the Command Prompt.

hide drive windows diskpart 6 gone

How to Show the Hidden Drive in Windows

In diskpart utility, type in the following commands to list all drives, select the drive and assign the letter:

list volume select volume 4 assign letter H

hide drive windows diskpart 7 assign

There you have it!

Now you can hide drives in the fly, without using any third-party software, using only the command prompt and diskpart utility.

Related tutorials:

Author: Soufiane Sabiri

Soufiane is a young computer scientist and specialist in web design, knows a lot of things in the computer world. This enthusiast enjoys helping people innovate and learn more about the IT world...

Be the first to leave a comment !

Leave a comment

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)