iSumsoft » Resources »Windows 10»How to Hide/Unhide Hard Disk Partition in Windows 10

How to Hide/Unhide Hard Disk Partition in Windows 10 File Explorer

Isabella Shinn
Isabella Shinn

Updated:

If you have some important and confidential files or materials on your computer, what is the option to avoid someone seeing and accessing the files or materials? It's a good idea to place all the important and confidential files and materials on a hard disk and then hide the entire disk partition. This way, the disk partition is invisible and will not appear in Windows File Explorer, so that others don't know the existence of the hard disk partition as well as the files on it. If you also think it a good idea, now follow this post to see how to hide and unhide a hard disk partition in Windows 10 File Explorer. Here are three ways for you.


Way 1: Hide and unhide hard disk partition with Disk Management

Step 1: Open Disk Management in Windows 10.

Step 2: Right-click on the volume you want to hide, and select Change Drive Letter and Paths from the menu.

Change drive letter and paths

Step 3: In the Change Drive Letter and Paths dialog, click the Remove button, and confirm any popped warning dialog. After the drive letter is removed, the drive partition is hidden.

Click Remove

To unhide the hard disk partition:

Click the Add button.

Click Add

Select Assign the following drive letter, select one letter from the drop-down menu, and click OK. After you assign a drive letter for the partition, the hard disk partition should appear in the File Explorer.

assign drive letter

Way 2: Hide and unhide hard disk partition via Group Policy Editor

Step 1: Open Local Group Policy Editor in Windows 10.

Step 2: Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. Click to highlight File Explorer, and then double-click on Hide these specified drives in My Computer on the right-side pane.

Hide these specified drives in My Computer

Step 3: Select Enabled, then select the drive you want to hide from the drop-down menu, and then click OK. Then the disk partition will disappear from This PC in File Explorer.

Select Enabled and pick the desired drive

To unhide the hard disk partition, select Not Configured or Disabled and click OK.

Way 3: Hide and unhide hard disk partition with diskpart commands

Step 1: Open a command prompt window, then type diskpart and hit Enter. If prompt with a ''User Account Control'' dialog, click Yes. Then you will go to a diskpart window.

Type diskpart in cmd

Alternatively, you can type diskpart in the Run dialog box and press Enter to open the diskpart window.

Type diskpart in Run box

Step 2: On the diskpart window, type list volume and press Enter to show a list of all hard disk partitions existing on the computer.

List volumes

Step 3: Type select volume x (replace x with the volume number of the hard disk partition you want to hide) and press Enter key to select the volume.

Step 4: Type remove letter X (replace X with the drive letter of the partition you want to hide) and press Enter key to delete the volume letter so that the volume can be hidden.

Remove volume letter

To unhide the hard disk partition, type select volume x and hit Enter to select the hidden partition you want to show, and type assign letter X and hit Enter to show it.

assign drive letter to show it