GiliSoft File Lock Pro

Hide selected local drives from ordinary Windows browsing with a password-controlled interface and restore them when authorized access is needed.

  • Hide local files, folders, or whole data drives
  • Avoid repartitioning or formatting the disk
  • Unhide managed drives with the File Lock Pro password
GiliSoft File Lock Pro for hiding local disk drives

How to Hide Local Disk Drive in Windows 11, 10, 8, 7

Updated on July 23, 2026   |   By GiliSoft Editorial Team

A separate local drive can contain private archives, personal media, financial records, client documents, or project data that should not appear during ordinary Windows browsing. You can hide its drive letter with built-in administration tools or manage drive visibility through GiliSoft File Lock Pro.

The methods are not equivalent. Removing a drive letter or applying Group Policy hides an entry point but does not encrypt the data. File Lock Pro provides password-controlled hiding and a clearer unhide process. Use full-disk encryption when the requirement is protection against offline access.

Before You Hide a Local Disk Drive

Application warning: software, shortcuts, libraries, backup jobs, and services may stop working when their drive letter disappears. Use these methods primarily with a separate data volume whose dependencies you understand.

Which Local Disk Hiding Method Should You Use?

MethodBest forWhat it changesImportant limitation
GiliSoft File Lock ProPassword-controlled personal privacyManages hidden local drives in one interfaceAuthorized users should keep the master password safe
Disk ManagementAdministrators removing one drive letterRemoves the drive letter or mount pathDoes not encrypt the volume
Group PolicyHiding specified drives in File ExplorerChanges Explorer visibility policyNot available in Windows Home; direct paths may still work
DiskPartExperienced command-line administratorsRemoves the selected volume letterSelecting the wrong volume can disrupt the system

Method 1. Hide a Local Disk with GiliSoft File Lock Pro

File Lock Pro has a dedicated Local Disk > Hiding File area with a Hide Drive action. This is the simplest option when you want a password-controlled list instead of manually removing and remembering drive letters.

  1. Open File Lock Pro and enter the master password.
  2. Choose Local Disk, then select Hiding File.
  3. Select Hide Drive.
  4. Choose the separate data drive you want to hide.
  5. Confirm the drive appears in the management list.
  6. Open File Explorer and verify that the drive no longer appears during ordinary browsing.
Hide a local disk drive with GiliSoft File Lock ProSelect Hide Drive from the Local Disk hiding interface.

Hide drives without repartitioning

Use the same application to hide files, folders, and local or external drives, then restore authorized visibility from the managed list.

GiliSoft File Lock Pro box

Method 2. Hide a Local Drive with Disk Management

Disk Management can remove a drive letter from a separate data volume. The volume remains on the disk, but it no longer appears with a letter in ordinary File Explorer views.

  1. Press Win + X and choose Disk Management.
  2. Identify the correct data volume by label, capacity, file system, and current drive letter.
  3. Right-click it and choose Change Drive Letter and Paths.
  4. Select the drive letter and choose Remove.
  5. Read the warning carefully, confirm that no application depends on the letter, then select Yes.
  6. Reopen File Explorer and verify that the drive entry is hidden.
Remove a drive letter with Windows Disk ManagementRemove the letter from a verified data volume; do not use this on system or recovery volumes.
This is not encryption: Disk Management still shows the volume, and an administrator can assign a drive letter again. The method mainly removes the normal File Explorer entry point.

Method 3. Hide Specified Drives with Local Group Policy

Windows Pro, Enterprise, and Education editions include a policy named Hide these specified drives in My Computer. Windows Home does not include Local Group Policy Editor by default.

  1. Press Win + R, enter gpedit.msc, and select OK.
  2. Go to User Configuration > Administrative Templates > Windows Components > File Explorer.
  3. Open Hide these specified drives in My Computer.
  4. Select Enabled.
  5. Choose the drive combination from the Options list.
  6. Select Apply, then OK, and sign out or restart Explorer if necessary.
Visibility policy only: this setting hides drive icons in File Explorer, but it is not a data-security boundary. Users or programs may still reach content through a known path unless access is separately restricted.

Method 4. Hide a Drive Letter with DiskPart

DiskPart performs the same underlying drive-letter removal from the command line. Use it only when you can positively identify the target volume.

  1. Search for Command Prompt and choose Run as administrator.
  2. Enter diskpart.
  3. Enter list volume and identify the target by label, size, file system, and letter.
  4. Enter select volume N, replacing N with the verified volume number.
  5. Enter detail volume and confirm the selection again.
  6. Enter remove letter=E, replacing E with the verified letter.
  7. Enter exit.
diskpart
list volume
select volume N
detail volume
remove letter=E
exit
Double verification matters: never choose a volume from its number alone. Volume numbers can differ between computers and can change after storage devices are added or removed.

How to Unhide a Local Disk Drive

Restore a File Lock Pro hidden drive

  1. Open File Lock Pro and enter the master password.
  2. Go to Local Disk > Hiding File.
  3. Select the hidden drive and choose Unhide.
  4. Verify the drive appears and opens normally in File Explorer.

Restore a drive letter with Disk Management

  1. Open Disk Management and locate the volume without a drive letter.
  2. Right-click it and choose Change Drive Letter and Paths.
  3. Select Add.
  4. Choose Assign the following drive letter, preferably using the original letter.
  5. Select OK and verify application paths.
Add a drive letter to unhide a local diskAssign a letter again to restore the volume to normal File Explorer browsing.

Disable the Group Policy setting

Return to Hide these specified drives in My Computer, set it to Not Configured, apply the change, and sign out or restart Explorer.

Restore a letter with DiskPart

After selecting and verifying the correct volume, enter assign letter=E, replacing E with the desired unused drive letter.

Hide Drive vs Lock Drive vs Encrypt Drive

Hide a driveRemoves it from ordinary browsing to reduce casual discovery.
Lock a driveRequires authorization before content can be accessed.
Encrypt a driveTransforms stored data so it cannot be read without the key.
Create a private virtual diskKeeps selected private files inside a separate encrypted container rather than hiding an existing partition.

For a Windows 11-specific whole-partition scenario, see How to Hide a Whole Drive Partition on Windows 11. For an encrypted container that mounts as a separate drive, see GiliSoft Private Disk.

Local Drive Hiding Checklist

Hide Local Drives with Password-Controlled Management

Use GiliSoft File Lock Pro to hide selected files, folders, and data drives without manually changing partition structure.

Download File Lock Pro Trial