GiliSoft File Lock Pro

Hide an entire Windows drive without deleting or moving its files

Remove a private local drive from ordinary File Explorer views and manage its visibility from one password-protected desktop tool.

  • Hide files, folders, and supported local drives
  • Keep the original folder structure and file locations
  • Restore visibility from the same protected console

How to Hide a Drive in Windows 11, 10, 8, and 7

A drive can disappear from This PC in several ways, but the result is not always the same. File Lock Pro provides a password-protected hide and unhide workflow. Disk Management and DiskPart remove the drive letter. Group Policy only removes the drive icon from common Explorer views.

Quick answer: choose File Lock Pro when you want a straightforward local hide-drive control behind a master password. Use Disk Management when you only need to remove a non-system volume's drive letter. Use Group Policy for managed Explorer visibility, but do not treat it as access protection or encryption.

Choose the Right Drive-Hiding Method

First decide whether you want to reduce casual visibility, remove a mount letter, or protect data against unauthorized access. Those are separate jobs.

MethodWhat changesPassword-protected controlBest fit
GiliSoft File Lock ProSupported local drive is hidden from ordinary browsingYesPrivate drives on shared Windows PCs
Disk ManagementDrive letter is removedNoTemporarily unmounting a non-system volume
Group PolicySelected drive icons are hidden in ExplorerNoManaged visibility on supported Windows editions
DiskPartDrive letter or mount point is removed by commandNoAdministrators who prefer command-line management
Important: hiding is not encryption. If the computer or storage device may be lost or stolen, use full-drive encryption in addition to any visibility setting.

Method 1: Hide a Local Drive with File Lock Pro

This method is designed for users who want the drive to disappear from ordinary browsing while keeping hide and unhide controls inside a password-protected application. The files stay in their original location.

GiliSoft File Lock Pro software box

Hide the drive from one local control panel

File Lock Pro separates hiding, locking, and protection rules so you can choose visibility control without rebuilding the drive as an archive.

Hide files folders and a local drive with GiliSoft File Lock Pro
Local Disk > Hiding File includes separate actions for files, folders, and an entire supported local drive. Select the image to view it full size.
  1. Open File Lock Pro and enter the master password.
  2. Choose Local Disk > Hiding File.
  3. Select Hide Drive, then choose the non-system local drive you want to remove from ordinary browsing.
  4. Apply the rule and confirm the drive no longer appears in File Explorer or normal Windows search.
  5. To restore it, return to the same list, select the drive, and choose Unhide.

Method 2: Remove the Drive Letter in Disk Management

Windows Disk Management can remove a drive letter from a non-system volume. The volume and its files remain on disk, but it no longer appears under a normal drive letter in This PC.

  1. Press Windows + X and choose Disk Management.
  2. Right-click the target non-system volume and choose Change Drive Letter and Paths.
  3. Select the current letter, choose Remove, and read the Windows warning before confirming.
  4. Open File Explorer and verify that the letter no longer appears.
Remove a drive letter in Windows Disk Management
Removing the letter hides the volume from normal drive-letter browsing; it does not encrypt the files.
Do not remove or change the letter of the Windows volume or a drive used by installed applications. Microsoft warns that apps can stop working when a dependent drive letter changes.

Method 3: Hide Selected Drives with Group Policy

On Windows editions that include Local Group Policy Editor, the Hide these specified drives in My Computer policy can remove selected drive icons from File Explorer and standard Open dialogs.

  1. Press Windows + R, enter gpedit.msc, and select OK.
  2. Open User Configuration > Administrative Templates > Windows Components > File Explorer.
  3. Open Hide these specified drives in My Computer.
  4. Select Enabled, choose the drive combination, then apply the policy.
Find the hide specified drives policy in Windows Group Policy
Locate the File Explorer policy for specified drives.
Enable the policy to hide a selected Windows drive
Enable the policy and select the required drive combination.
Microsoft's limitation: this policy removes drive icons, but it does not block direct access through a path, another program, or Disk Management. Treat it as interface cleanup, not a security boundary.

Method 4: Remove a Drive Letter with DiskPart

DiskPart reaches a result similar to Disk Management, but through an elevated command prompt. Use it only when you can identify the correct volume confidently.

  1. Open Windows Terminal or Command Prompt as administrator.
  2. Enter diskpart, then enter list volume.
  3. Identify the target carefully and enter select volume N, replacing N with the correct volume number.
  4. Enter remove letter=X, replacing X with the current drive letter.
  5. Enter exit, then verify the result in File Explorer and Disk Management.

DiskPart does not add a password, encrypt data, or stop an administrator from restoring the letter. It is a mount-point management method.

How to Unhide or Restore the Drive

Restore a File Lock Pro hidden drive

Open File Lock Pro, return to Local Disk > Hiding File, select the hidden drive, and choose Unhide.

Restore a drive letter in Disk Management

  1. Open Disk Management and locate the volume without a letter.
  2. Choose Change Drive Letter and Paths > Add.
  3. Assign an available letter and confirm the change.
Add a drive letter to unhide a Windows volume
Assign an available drive letter to return the volume to normal File Explorer browsing.

Reverse Group Policy

Return to the same policy, choose Not Configured or Disabled, apply the change, and sign out or restart Explorer if the icon does not return immediately.

Hide, Lock, and Encrypt Solve Different Problems

ControlMain resultUse it when
HideReduces normal visibility in Explorer or searchYou want privacy from casual browsing
LockControls whether a visible item can be openedYou need direct access control
ProtectRestricts reading, writing, renaming, moving, or deletionYou need to stop unwanted changes
EncryptTransforms data so it requires a key or authorized accountThe storage device may be lost, stolen, or examined offline

Before You Hide an Important Drive

Keep a verified backupHiding and mount-point changes are not substitutes for a backup.
Avoid the Windows and application volumesChanging a required drive letter can break boot, shortcuts, services, and installed programs.
Record the original drive letterThis makes restoration clearer when several volumes have similar names or sizes.
Test the restore path firstHide a disposable test volume, restore it, and verify the files before using the method on important data.

Frequently Asked Questions

Does hiding a drive encrypt its files?

No. Hiding changes visibility or removes a mount letter. Encryption protects the content and should be considered separately when hardware loss or offline access is a concern.

Can someone still open a drive hidden by Group Policy?

Yes. Microsoft states that this policy removes the icons but does not stop access through a direct path, another program, or Disk Management.

How do I restore a drive letter?

Open Disk Management, right-click the volume, choose Change Drive Letter and Paths, select Add, and assign an available letter.

Can Windows Home use the Group Policy method?

Windows Home normally does not include Local Group Policy Editor. Use Disk Management, DiskPart, or a compatible local privacy tool instead.

Can File Lock Pro hide an entire local drive?

Yes. Open Local Disk, choose Hiding File, and use Hide Drive for a supported local drive.

Hide a private Windows drive from ordinary browsing

Use File Lock Pro when you want a direct local hide and unhide workflow behind a master password.

Download TrialBuy File Lock Pro

Sources: Microsoft: hide specified drives with Group Policy | Microsoft Policy CSP: Windows Explorer drive visibility | Microsoft: change a drive letter | Microsoft: Disk Management in Windows