Follow
Windows

How to Show or Hide Gallery in Windows 11 File Explorer

Richard
Written by
Richard
Apr 14, 2023 Updated May 1, 2026 3 min read
How to Show or Hide Gallery in Windows 11 File Explorer
How to Show or Hide Gallery in Windows 11 File Explorer

You can show or hide the Gallery feature in Windows 11 File Explorer to customize how you view your image files.

The Gallery in File Explorer is a special view that aggregates all your photos and images from various locations into a single, scrollable list, without actually moving your files.

This convenient feature, introduced in Windows 11 build 23435, allows you to quickly browse your entire photo collection.

If you find the Gallery view cluttering your File Explorer or don’t use it often, you can easily disable it to simplify your interface.

⚡ Quick Answer

To show or hide the Gallery in Windows 11 File Explorer, edit the Registry. Navigate to 🗝️HKEY_CURRENT_USER\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}, create a DWORD named System.IsPinnedToNameSpaceTree, and set its value to 1 to show or 0 to hide. Restart your computer for changes to take effect.

Method 1Using the Registry Editor (Advanced)

Note: This process requires administrative privileges. Always back up your registry before making changes.

  1. Open the Windows Registry by typing “regedit” in your search bar and pressing Enter.
  2. Navigate to this path: HKEY_CURRENT_USER\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}
  3. If you do not see the {e88865ea-0e1c-4e20-9aa6-edcd0212c87c} folder, right-click on the CLSID folder, select New, and create the subkey.
Windows 11 File Explorer showing Gallery feature
Windows 11 File Explorer showing Gallery feature
  1. Right-click in the empty space on the right side of the window.
  2. Select New, then choose DWORD (32-bit) Value.
  3. Name the new item: System.IsPinnedToNameSpaceTree
  4. Double-click your new System.IsPinnedToNameSpaceTree item.
  5. Set the Base to Decimal.
  6. Change the Value data to 1 to show the Gallery or 0 to hide it.
Windows 11 registry settings for Gallery feature
Windows 11 registry settings for Gallery feature

Save your changes and restart your computer to see the update.

Gallery folder on the navigation pane file explorer
Gallery folder on the navigation pane file explorer

Troubleshooting and Permissions

Why might the Registry method not work for some users? Sometimes, the registry path might be protected by system permissions. If you cannot create the key, you may need to take ownership of the CLSID folder. Additionally, ensure you are logged in with an account that has administrative privileges. If you are on a work computer, your IT department may have disabled these customizations via Group Policy.

Summary

Customizing your File Explorer helps you stay organized. Whether you want to hide the Gallery to clean up your sidebar or restore it for quick access to your photos, these registry tweaks provide full control. Remember that these changes are specific to your user profile and do not affect your actual files. For more tips on Windows 11 customization, check out our other guides.

No, removing the Gallery icon from the File Explorer navigation pane does not delete your photos. This action only hides the shortcut link from your sidebar. Your original image files remain safely stored in their original folders on your hard drive or OneDrive. You can restore the link at any time.

Yes, you can restore the Gallery. Follow the registry steps again and change the value of System.IsPinnedToNameSpaceTree from 0 back to 1. After you restart your computer or refresh File Explorer, the Gallery icon will reappear in your navigation pane exactly as it was before.

Does this change affect all user accounts on the PC?

No, the registry method described here uses the HKEY_CURRENT_USER hive. This means the change only applies to the user account currently logged into the computer. Other users on the same PC will keep their own File Explorer settings, including whether or not they choose to show or hide the Gallery.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Window Preloading in File Explorer on Windows 11
Windows How to Enable or Disable Window Preloading in File Explorer on Windows 11
How to Show or Hide the Details Pane in Windows 11 File Explorer
Windows How to Show or Hide the Details Pane in Windows 11 File Explorer
How to Change Folder Layout View in Windows 11 File Explorer
Windows How to Change Folder Layout View in Windows 11 File Explorer
How to Manage OneDrive Photos in Microsoft Photos App
Windows How to Manage OneDrive Photos in Microsoft Photos App

5 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *