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.
- Press Win + R, type regedit, and click Enter.
- Go to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced - Right-click on the right pane and select New > DWORD (32-bit) Value. Name this ShowGallery.
- Set the value of the key:
- 1 : Shows the gallery
- 0 : Hides the gallery
- 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.
- Open PowerShell as an Administrator.
- Execute the following command:
Set-ItemProperty -Path “HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced” -Name “ShowGallery” -Value 0Stop-Process -Name explorer -Force - 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.
- Press Win + R, type gpmc.msc, and click Enter.
- Navigate to your desired organizational unit (OU).
- Right-click and select Create a GPO in this domain, and Link it here. Name the GPO appropriately.
- Right-click on the GPO and select Edit. Navigate to User Configuration > Preferences > Windows Settings > Registry.
- Right-click on Registry and choose New > DWORD Value.
- 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
- Link the GPO to the appropriate OU.
- 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.