Usually, we use some folder encryption software to hide or lock a folder or file which has confidential data. But, if we have many such folders and files, it is not a good idea to lock each and every folder. A better option would be to move all such files and folders that you want to hide to a drive and hide that entire drive.
There are 4 methods to hide a drive on Windows 10 including through Disk Management, using Group Policy, through Windows Registry, or by using Diskpart command in CMD. We will see these ways step by step so that you can implement the same to hide a drive on Windows 10.
4 Methods to Hide a Local Drive on Windows 10
Method 1: Hide a Local Drive through Disk Management
In Disk Management, we can partition drives, assign drive letters and hide storage drives with sensitive information. To hide a local drive:
- Press Win + X and click on Disk Management.
- Right-click the drive you want to hide and select Change Drive Letter and Paths…
- Click the drive letter and click the Remove button.
- When the warning message pop up, click Yes to confirm.
If you want to reverse changes to unhide drives, follow the steps:
- Right-click the drive and select the Change Drive Letter and Paths…
- Then choose Add… button and click Assign the following drive letter.
- After choosing a letter from the drop-down box, click OK to confirm.
Method 2: Local Group Policy Editor
- Press the Win + R keyboard shortcut to open the Run command.
- Type gpedit.msc and click OK to open Local Group Policy Editor.
- Browse the following path: User Configuration > Administrative Templates > Windows Components > File Explorer.
- Double-click the Hide these specified drives in My Computer policy.
- Select the Enabled option.
- Under Options, select the drive combinations you want or select the Restrict all drives option from the drop-down menu.
- Click Apply and OK.
Once you completed the steps, the drives you specified will no longer appear in File Explorer. Besides, you’ll still be able to access the drive content by navigating the location using the drive path in the File Explorer address bar or Command Prompt.
Method 3: Command Prompt
- Open Command Prompt as Administrator.
- Type diskpart and click Enter.
- Type each command line and then press Enter.
Select volume * (* stands the drive you want to hide.)
Remove Letter *
Once it is completed, your drive is hidden in Windows File Explorer. If you want to revert changes, you can run diskpart again:
- Type List Volume and hit Enter.
- Now type select the drive that you have hidden.
- Now type Assign Letter * and hit Enter.
Method 4: Hide Drives with Registry
This method is not friendly for beginners because the incorrect changes will cause severe damage to your computer. If you still choose the Registry, please remind to back up your whole data on your device.
- In the Run box, type regedit and click OK.
- On Registry Editor, follow the path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Right-click Explorer > Choose New > Click DWORD (32-bit)Value.
- Name New Value as NoDrives and press Enter to ensure.
- Double-click NoDrives and click on Decimal under the Base part.
- Type in Value data referring to the following corresponding decimal number. For example, if you want to hide C drive and D drive, you can type 12 (4+8).
- Click OK and restart your computer.
When your computer starts, your drive is hidden in Windows File Explorer. Besides, you can show hidden drives by going back to delete NoDrives.
The above content is the four common methods to hide a local drive on Windows 10 without a third-party tool. Here, we need to remind you that if you want to access the hidden drive, you can input the drive path (C: or other drives) in the address bar in Windows File Explorer.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?