Skip to main content

HIde / Unhide Partitions using CMD

Hard disk is the main storage part of a computer. Users divide this storage into small parts named partitions for their convenience.

Some time users need to hide partitions from others if the computer is used by multiple users. To hide partitions multiple software are used but these software can be avoided. In this tutorial I will show you how to hide Windows partitions using CMD.

Hide Partition:

Step 1 :

Open CMD.
Enter diskpart in CMD.
This will open a new CMD.

Step 2 :

Following command is used to display complete list of partitions.
list volume

Step 3 :

Select desired partition using the following command.
select volume 1
Note: Change underlined number as required.

Step 4 :

Hide partition using the following command.
remove letter e
Note: Change underline text as required.

Result :

Partition hid successfully.

Display Hidden Partition:

Step 1 :

Open CMD.
Enter diskpart in CMD.
This will open a new CMD.

Step 2 :

Following command is used to display complete list of partitions.
list volume

Step 3 :

Select desired partition using the following command.
select volume 1
Note: Change underlined number as required.

Step 4 :

Unhide partition using the following command.
assign letter e
Note: Change underline text as required.

Result :

Hidden Partition displayed successfully.

Note: This process requires administrative privileges.

Below is the video tutorial about hiding partitions using CMD :


Comments