/

How to Add or Remove the ‘Photos’ Context Menu Option in Windows 11

by Lauren Ballejos, IT Editorial Expert
How to Add or Remove the 'Photos' Context Menu Option in Windows 11
How to Add or Remove the 'Photos' Context Menu Option in Windows 11

Try our #1 rated endpoint management platform on G2

NinjaOne dashboard screenshot

Automate the Hardest Parts of IT

Key Points

  • Remove the ‘Photos’ context menu option in Windows 11 by uninstalling the Microsoft Photos app or blocking its CLSID in the Registry, then restarting Explorer.exe.
  • Hide ‘Edit with Photos’ without uninstalling the app by creating a String Value for the Photos CLSID in the Shell Extensions\Blocked key, or automate removal/redeployment.
  • For enterprise deployment, use HKLM registry changes, scripting, or RMM tools to remove Photos from the Windows 11 right-click context menu for all users.

The context menu in Windows 11 can get quite crowded, showing tools you rarely use, including the default Windows Photos app. This tutorial provides step-by-step instructions for removing ‘Photos’ from the context menu in Windows 11.

Why remove the ‘Photos’ context menu option?

The Photos app is installed on Windows 11 by default, though it can be removed if you don’t need it. When it is installed, it appears in the context menu (the menu that appears when you right-click on a file) for supported image files.

Photos app
You may wish to remove it from the context menu if you use a different image editor, such as the legacy Photo Viewer, Microsoft Paint, or Irfanview. IT administrators may wish to remove the option in enterprise or education environments to hide it from users who do not need the Photos app for their day-to-day responsibilities.

What you need to remove context menu items in Windows 11

To remove context menu items in Windows 11, you’ll need an administrator account that can access the Windows Registry Editor. If you’re planning on uninstalling the Photos app, an alternative image viewer should be installed. Alternatively, you can open many image formats in your web browser.

Before making changes to the Windows Registry, it’s recommended that you perform a backup in case you make a mistake.

Method 1: Uninstall the Photos app to remove it from the context menu

If you don’t plan to use the Microsoft Photos app at all, you can just uninstall it from the Windows Settings (under Settings > Apps > Installed apps), which will also remove it from the right-click context menu.

Note that this will only affect the current user.

Method 2: Remove ‘Edit with Photos’ from the context menu via the Registry Editor

If you wish to keep the Photos app installed, but remove the context menu item, you’ll need to use the Windows Registry Editor:

  • Right-click on the Start button and press Run
  • Type the command regedit.exe and click OK to launch the Registry Editor
  • Access the key located at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (You can copy and paste this path into the Registry Editor)
  • If the Blocked key doesn’t exist, right-click on the Shell Extensions key and create it by selecting New > Key

Shell extensions

  • With the Blocked key selected, select Edit > New > String Value in the toolbar

Block key

  • Name the new String Value to the CLSID (class identifier) of the Photos context menu item, which is {BFE0E2A4-C70C-4AD7-AC3D-10D1ECEBB5B4} (you can also optionally set its value to Photos context menu so it’s easy to find again later)

New string value to the CLSID

Method 3: Restore the ‘Edit with Photos’ context menu item by removing blocked CLSID

To undo the change made above, navigate back to the same location in the Windows Registry and delete the String Value that was created. Restart the Explorer process to apply the change.

Method 4: Add or remove the Photos context menu entries using PowerShell

You can automate creating and destroying the Windows Registry entries using PowerShell with the following commands.

Remove the Photos context menu item in Windows 11with the following PowerShell command to create the relevant Registry values:

New-Item -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked” -Force New-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked” -Name “{BFE0E2A4-C70C-4AD7-AC3D-10D1ECEBB5B4}” -Value “” -PropertyType String -Force

Re-add it by removing the Registry entries with the command:

Remove-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked” -Name “{BFE0E2A4-C70C-4AD7-AC3D-10D1ECEBB5B4}” -Force

Restart Explorer to apply the change by running:

Stop-Process -Name explorer -Force

These commands can be added to scripts that can be scheduled to ensure the context menu remains hidden, or deployed to multiple Windows 11 PCs using remote monitoring and management (RMM) tools.

Method 5: Modify ‘Open With’ behavior without removing the Photos app

You can also assign a different app as the default image editor in Windows:

  • Right-click on an image file
  • Select Open with > Choose another app
  • Select an app from the list — if you have a photo viewer installed that isn’t listed, select Choose an app on your PC and browse for it
  • Click Always to set this app as the default app for opening the selected file type

Additional considerations and troubleshooting

To test whether your chosen method was successful, right-click an image file (e.g. JPG or PNG, which are compatible with the Photos app) and check that the context menu item has been hidden.

Removing the context menu item does not prevent access to the Photos app. If the menu item reappears, it’s possible that this occurred due to Windows Update or the Photos app CLSID changing.

Automate the deployment of menu configurations and default apps with NinjaOne

The NinjaOne RMM platform streamlines the deployment and enforcement of configurations across enterprise and education fleets of Windows 11 devices. Deploy app stacks, remove default software, and tailor devices to maximise productivity. NinjaOne also includes mobile device management (MDM) that covers Windows, MacOS, Linux, and mobile devices, providing you with centralized control over your entire IT infrastructure and end-user experience.

Quick-Start Guide

Recommendations:

1. Check the full product documentation — Visit the NinjaOne Dojo directly and search for “ticketing” or “ticket escalation” to see if there’s more detailed information not captured in my search.

2. Contact NinjaOne Support — They can provide specific details about ticket escalation automation capabilities and best practices for your use case.

3. Review your product tier — Ticket management features may vary depending on your NinjaOne subscription level.

If you have access to NinjaOne and want to explore this further, we recommend checking the Administration > Ticketing section of your instance or reaching out to your account manager for a feature walkthrough.

FAQs

No. Removing the context menu item using the Registry only hides the Photos context menu option. The Photos app can be uninstalled if required, however.

Yes, while previous versions of Windows 11 prevented the Photos app from being removed, it can now be uninstalled by right-clicking it in the Start menu or through Windows Settings.

No. Only the Photos context menu entry is affected when it is removed using the Registry.

Yes. Use HKLM registry paths (that affect all users of the local machine) or automation tools and scripts for system-wide deployment or deployment to multiple devices.

Windows Update is prone to re-enabling Windows features. Enforce configurations with automated scripts or management tools to prevent or rectify this.

You might also like

Ready to simplify the hardest parts of IT?

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