Skip to content
Follow
Windows

How to Show or Hide Gallery in Windows 11 File Explorer

Richard
Written by
Richard
Apr 14, 2023 Updated Oct 6, 2026 4 min read
How to Show or Hide Gallery in Windows 11 File Explorer
How to Show or Hide Gallery in Windows 11 File Explorer

The Gallery in Windows 11 File Explorer is a photo feed that gathers pictures from several folders into one scrollable view. Microsoft first added it in Windows 11 build 23435, and it reached regular users with Windows 11 version 23H2. If your PC runs an older version, you won’t see Gallery in the sidebar, so there is nothing to hide.

Advertisement

Gallery only displays your photos. They stay in their original folders, and nothing is moved or copied. Hiding Gallery removes the entry from the navigation pane and does not delete any pictures. If you prefer a simpler sidebar, hiding it is a safe change you can undo at any time.

⚡ 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.

Advertisement

Method 1Using the Registry Editor (Advanced)

The Registry Editor is the built-in tool for the database where Windows stores its configuration settings. You can show or hide Gallery by editing a specific registry key. You need an administrator account for this, and you must restart File Explorer or sign out and back in before the new setting takes effect. The tool works the same on Windows 11 Home and Pro.

A wrong edit in the registry can cause problems, so make a backup first. In Registry Editor, choose File Export, pick a location, and save the file. If something goes wrong, double-click that file to restore the settings .

  1. Open the Windows Registry by typing regedit in the search bar and pressing Enter. The Registry Editor window should open. If a User Account Control prompt appears, click Yes.
  2. Navigate to this path: HKEY_CURRENT_USER\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}
  3. Check the left pane for the {e88865ea-0e1c-4e20-9aa6-edcd0212c87c} folder. If it is missing, right-click the CLSID folder, select New, and create the subkey with that name. The new key should appear under its parent in the left pane.

If the search bar doesn’t find Registry Editor, you can open it from the Run dialog instead. The steps below also cover creating the key and the value in one pass.

  1. Press Win + R to open the Run dialog.
  2. Type regedit and press Enter to open the Windows Registry. Click Yes if User Account Control (UAC) prompts you.
  3. Navigate to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions
  4. Right-click the Shell Extensions key in the left pane.
  5. Select New, then click Key. A new key appears in the left pane with its name highlighted for editing.
  6. Name the new key: Blocked
  7. Right-click the newly created Blocked key.
  8. Select New, then click String Value. A new value appears in the right pane.
  9. Name the new item ShowGallery.
  10. Double-click the new string value you created. An edit window opens.
  11. In the Value data field, enter {e17d4fc0-5564-11d1-bb52-00805fc11070} to hide the Gallery, or leave the field blank to show it.
  12. Click OK. The value now shows your entry in the right pane.
Windows 11 File Explorer showing Gallery feature
Windows 11 File Explorer showing Gallery feature

Some setups use a DWORD value instead of a string. The steps below continue from the previous ones and set a number to switch Gallery on or off.

Advertisement
  1. Right-click an 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.

You may also see a second location for the same setting. If so, use these steps there:

  1. Navigate to the following registry path: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  2. Right-click an empty space in the right pane.
  3. Select New, then click DWORD (32-bit) Value.
  4. Name the new value: GallerySizing
  5. Double-click the newly created GallerySizing value.
  6. Under Base, select Decimal.
  7. Set the Value data to 0 to hide the Gallery or 1 to show it.
  8. Click OK.

To undo any of these changes, return to the same value and switch it back, or delete the value you created. Then restart File Explorer or sign out and back in.

Windows 11 registry settings for Gallery feature
Windows 11 registry settings for Gallery feature

Close Registry Editor to save your changes. Restart your computer to be sure the update applies. For a quicker option, press Ctrl+Shift+Esc to open Task Manager, find Windows Explorer in the list, right-click it, and select Restart. The taskbar will flicker briefly. When it returns, open a new File Explorer window and check whether Gallery appears in the left pane.

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

Troubleshooting and Permissions

If the Registry method doesn't work, the cause is usually a permissions problem or a lack of administrator rights. Check that you are signed in with an administrator account, and that you opened Registry Editor and accepted the UAC prompt. Also confirm that the key and value names match exactly, and that the value type is correct (string or DWORD, as in the steps above). If the setting still doesn't change, restart the PC rather than only File Explorer, and make sure you are on Windows 11 version 23H2 or later.

Summary

Choosing to show or hide Gallery in Windows 11 helps keep File Explorer tidy and organized. The change is small and easy to reverse, so you can switch it back whenever you like.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

5 Comments

Leave a Comment

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