/
/

How to Add or Remove Gallery in File Explorer Navigation Pane in Windows 11

How to Add or Remove Gallery in File Explorer Navigation Pane in Windows 11 blog banner image

In the newest builds of Windows 11, Microsoft users can now access their photo galleries through the Gallery app. Similar to OneDrive’s “Pictures” folder, the Gallery feature provides quick access to photo libraries (particularly those that are frequently accessed).

While this feature is useful for personal use, it may not align with organizational needs—especially if you work in a highly regulated industry where security is paramount. As such, you may be researching how to remove Gallery from File Explorer, especially if you are part of a managed environment.

In fact, it is recommended that IT admins of larger organizations remove Gallery from File Explorer to enhance privacy, standardize the user interface across multiple devices, and reduce UI clutter.

How to remove Gallery from Windows 11 navigation pane

Before proceeding, make sure that you meet the following technical requirements:

  • You must be using Windows 11 build 22621.1635 or later. If you’re a NinjaOne user, you can check for Windows 11 update compatibility here.
  • Some of the methods listed below require administrator privileges. If you don’t have this, you may need to ask your IT admin to apply these changes for you.

Method 1: Using Registry Editor

⚠️ Back up your Windows Registry before following these instructions. Incorrect configurations in the editor can cause system instability.

  1. Press Win + R, type regedit, and click Enter.
  2. Go to the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  3. Right-click on the right pane and select New > DWORD (32-bit) Value. Name this ShowGallery.
  4. Set the value of the key:
    • 1 : Shows the gallery
    • 0 : Hides the gallery
  5. Close the editor, then restart File Explorer. To do this:
    • Open the Task Manager (Ctrl + Shift + Esc)
    • Find Windows Explorer under Processes
    • Right-click it, and select Restart.

Method 2: Using PowerShell

💡 Sign up for this free 40-minute crash course, PowerShell for IT Ninjas.

  1. Open PowerShell as an Administrator.
  2. Execute the following command:
    Set-ItemProperty -Path “HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced” -Name “ShowGallery” -Value 0Stop-Process -Name explorer -Force
  3. To re-enable the gallery, change the ShowGallery value to 1 using the same command structure.

Method 3: Using Group Policy preferences

💡 Keep in mind that there is no native Group Policy Object (GPO) setting for Gallery. However, IT admins can deploy the registry change using Group Policy preferences.

  1. Press Win + R, type gpmc.msc, and click Enter.
  2. Navigate to your desired organizational unit (OU).
  3. Right-click and select Create a GPO in this domain, and Link it here. Name the GPO appropriately.
  4. Right-click on the GPO and select Edit. Navigate to User Configuration > Preferences > Windows Settings > Registry.
  5. Right-click on Registry and choose New > DWORD Value.
  6. Set the following:
    • Action: Update
    • Hive: HKEY_CURRENT_USER
    • Key Path: Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • Value Name: ShowGallery
    • Value Type: REG_DWORD
    • Value Data: 0
  7. Link the GPO to the appropriate OU.
  8. Once done, force a Group Policy update by executing the gpudate /force command on target machines.

Additional considerations when you remove the Gallery from the navigation pane in Windows 11

  • Gallery integration: Removing the Gallery from the Navigation pane doesn’t delete any of your pictures. The Gallery feature simply aggregates images from the Picture library and OneDrive; removing it would only remove the shortcut from the navigation pane.
  • Windows updates: Feature availability may change with cumulative updates. After updates, verify if the Gallery has reappeared and reapply the settings if necessary.
  • Non-Enterprise editions: Note that in editions like Windows 11 Home, the Gallery may reappear after an update if not enforced by scripts or GPOs.
  • System File Checker: Running sfc /scannow or resetting Explorer settings may revert changes. Monitor and reapply settings as needed.

Improve privacy by learning how to remove the Gallery from File Explorer

The Gallery feature in File Explorer helps you easily and quickly access your personal photos. Still, this feature may not be necessary (and, in fact, could be detrimental) in professional environments. Thankfully, you can remove this feature by using registry edits, PowerShell scripts, and Group Policy preferences.

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).