Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Remove Gallery From File Explorer in Windows 11

Hide the Gallery navigation entry with a version-dependent registry change, export the exact key first, and restore it if you want Gallery back.

Table of Contents

To remove Gallery from File Explorer’s navigation pane, some Windows 11 builds allow a registry namespace entry to be removed. This is an advanced, version-dependent customization. Export the exact key before changing it so you can restore its contents.

Gallery and Libraries are different File Explorer features. This procedure targets the Gallery entry; it does not remove Libraries or delete your photo folders.

On a work-managed computer, ask your administrator about interface changes. If you are not comfortable editing the registry, leave the entry in place. For backup instructions, see Microsoft’s guide to exporting and restoring registry keys.

  1. Search Start for Registry Editor and open it with the required administrator approval.
  2. Use its address bar to inspect this path:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}

On older builds, the corresponding location may instead be:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_41040327{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}

Proceed only if the exact GUID subkey exists and corresponds to Gallery. Do not create or delete other keys just because one path is absent. A missing key can mean that your Windows version uses a different implementation.

  1. Select the {e88865ea-0e1c-4e20-9aa6-edcd0212c87c} subkey.
  2. Choose File > Export. Save the selected branch as a clearly named .reg backup and note which parent path it used.
  3. Right-click that exact GUID subkey and choose Delete. Do not delete the parent NameSpace or NameSpace_41040327 branch.
  4. Close Registry Editor, save other work and sign out and back in, or restart Windows.
  5. Open File Explorer and check its navigation pane.
How to Remove Libraries from File Explorer on Windows 11 Picture 1

The change is under HKEY_LOCAL_MACHINE, so it can affect the machine rather than only one user. Windows updates may restore the entry. If the result is unexpected, restore the exported key instead of trying additional unrelated registry edits.

How to Remove Libraries from File Explorer on Windows 11 Picture 2

Open Registry Editor and choose File > Import, then select the .reg file you exported. Confirm that it is your own backup of the correct Gallery branch. Sign out and back in, or restart, then check File Explorer again.

Importing the exported key restores its recorded values. Simply creating an empty key with the same name is less reliable because it may omit values that were present on your build.

Why a pasted command may fail

A registry path needs backslashes between every component, including immediately before the GUID. A path such as HKLMSOFTWAREMicrosoft... is not equivalent to HKLMSOFTWAREMicrosoft.... The parent namespace also differs across builds.

Using Registry Editor to inspect and export the existing key first is preferable to running an unchecked deletion command. If Windows reports that the key cannot be found, stop and verify the path rather than deleting a broader branch.

If your goal is simply faster picture browsing, the File Explorer Preview pane is a separate option. Hiding Gallery changes navigation; it does not change where your pictures are stored.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.