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.
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.
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.
To unhide the hard disk partition:
Click the Add button.
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.
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.
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.
To unhide the hard disk partition, select Not Configured or Disabled and click OK.
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.
Alternatively, you can type diskpart in the Run dialog box and press Enter to open the diskpart window.
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.
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.
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.