How to hide a drive in Windows 8 and 8.1

If you are a proficient Windows user then you might know about hiding and locking any file or folder which you don’t want others to see. This is good thing to lock or hide one or two folders, but if you have many such files or folders then it is not recommended to lock each and every file or folder. I suggest you to move all these files and folder on to single drive on your PC and hide the drive completely such that you can access them very easily whenever you want.

This hidden drive will not be visible to you in the Windows Explorer but it can be accessible through the Command prompt or entering the drive letter in the Windows Explorer address bar. There are four different ways to hide hard drive in Windows through Disk management, Group Policy, Windows Registry and using the Diskpart command in CMD.

How to hide a drive in Windows 8 and 8.1

Using Disk Management

  • Right click on My computer and click on Manage.
  • In the following Computer Management Console window double click on Storage option.
  • Double click on the Disk Management in the next window and this opens all droves on your PC.
  • Select the drive which you want to hide from the list of drives and right click on it. Select Change Letter and Paths option and then click on Remove button.
  • Click on Yes if it asks for confirmation. That;s it, from now you will not see that particular drive in the Windows Explorer window.

Using Group Policy Editor

  • Open RUN bar and type gpedit.msc and hit enter, this will launch Group Policy editor and go to the following settings>
    User Configuration/Administrative Templates/Windows Components/File Explorer


  • Now find the option Hide these specific drives in My Computer and select Enabled.
  • In the following window choose the drive from the dropdown which you want to hide.

That’s it, you can now can’t see that specific drive in the Windows Explorer.

Using Windows Registry

In this method you need to add a new key to the Windows registry, so we recommend you to backup your Windows registry.

  • Open RUN bar and type regedit and hit enter, this will launch registry editor. Enter the below path in the registry Editor console.
    HKEY_LOCAL_MACHINE –> Software –> Microsoft –> Windows –> CurrentVersion ->Explorer
  • Find the Explorer from the left pane and right click on it and select New > DWORD (32-bit) Value.
  • Name it as HideDrive and then double click on it. Now console opens and you need to enter the values here. It will displays the values for each letter and enter the value for drive for which you want to hide.
  • In the case if you want to hide two drives, for example D and E then enter the values of D and E and this will hide the both drives.
  • After making the changes, restart the PC and you can now see the selected drive is hidden.

Using CMD

  • Open Command prompt on your PC and type Diskpart and hit Enter.
  • Now type List Volume and press Enter key.
  • Now type select and the respective numeral for the drive letter you want to hide and hit enter. For example if you want to hide E drive then enter 5.

Now you will get a message saying Diskpart successfully removed the drive letter or mount point.

That’s it, now the selected drive on your PC will not be visible anymore. If you want to see the invisible drive on your PC then follow the first two steps shown above and type Assign letter E and hit enter. This will show you the drive in the Windows Explorer.

You may also like...