Table of Contents
You can hide selected drive icons in File Explorer with the “Hide these specified drives in My Computer” policy on Windows editions that include Local Group Policy Editor. This is an interface change, not data protection: other programs or direct paths may still access the drive.
Before you begin
Use this on a computer you administer and note the policy's current state. Windows Home normally does not include the Local Group Policy Editor. On a work or school computer, organizational policy may control the setting or override local changes.
The built-in dropdown offers preset drive combinations; it does not provide a general checkbox for every possible drive letter. If your desired letter is absent, do not select a different combination or edit Windows policy templates at random.
Hide a supported drive combination
- Press Windows + R, enter
gpedit.mscand press Enter. - Open User Configuration > Administrative Templates > Windows Components > File Explorer.
- Open Hide these specified drives in My Computer.
- Select Enabled, then choose the intended drive or combination from the dropdown.
- Select Apply, then OK. Reopen File Explorer to check the result; a sign-out may be needed for the user policy to refresh.



Read the selected combination carefully before applying it. The setting is under User Configuration, so consider which user accounts the policy applies to rather than assuming it changes every account identically.
Show the drive icons again
Reopen the same policy and restore the state you recorded. If it was originally Not Configured, select that option and apply. Disabling the policy also stops its icon-hiding behavior, though a separate organizational policy may still apply.

Reopen Explorer and verify that the drive appears. Do not format the drive, change its partition layout or remove its drive letter just because an icon remains hidden.
What this policy cannot secure
Hiding an icon does not encrypt files, change filesystem permissions or reliably block access through other software. Microsoft's drive-hiding documentation explicitly describes those limits and the preset combinations.
If the goal is confidentiality, assess account permissions and suitable encryption separately. Microsoft's BitLocker overview explains protection for data on encrypted drives and the importance of retaining a recovery key. An unlocked, signed-in session still needs appropriate access controls.
Reader Comments 0
Sign in with email or Google to join the discussion.