Skip to content
TheChatArchiveThe Chat Archive
o1-mini-2024-09-12· OpenAIAi2 WildChat-4.8M (AI2)

I have found a way to remove "Edit" from the context menu of images in Windows 10. Or at…

  1. User

    I have found a way to remove "Edit" from the context menu of images in Windows 10. Or at least, I've found the reg location and info of what makes it show an "Edit" button. How can I disable it?

    [HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]

    [HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command] @=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,
    00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,
    73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,
    00,25,00,31,00,22,00,00,00

  2. Assistant

    To remove the "Edit" option from the context menu for images in Windows 10, you can modify the Windows Registry. Please proceed with caution and consider backing up your registry before making any changes, as incorrect modifications can affect your system's stability.

    Step-by-Step Guide to Disable the "Edit" Context Menu Option

    1. Open the Registry Editor:

      • Press Win + R to open the Run dialog.
      • Type regedit and press Enter.
      • If prompted by User Account Control (UAC), click Yes to allow.
    2. Navigate to the Relevant Registry Key:

      • In the Registry Editor, use the sidebar to navigate to the following path:
        HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit
        
    3. Back Up the Registry Key (Recommended):

      • Before making changes, it's wise to back up the specific key you're modifying.
      • Right-click on the edit folder in the left pane.
      • Select Export.
      • Choose a safe location, name the file (e.g., edit_backup.reg), and save it.
    4. Disable the "Edit" Option:

      • Option 1: Delete the edit Key
        • Right-click on the edit folder under the shell key.
        • Select Delete.
        • Confirm the deletion when prompted.
      • Option 2: Rename the edit Key
        • If you prefer a reversible method, you can rename the key instead of deleting it.
        • Right-click on the edit folder.
        • Select Rename and change it to something like edit_disabled.

      Either option will remove the "Edit" option from the context menu for image files.

    5. Close the Registry Editor:

      • After making the changes, close the Registry Editor.
    6. Restart Windows Explorer or Reboot Your Computer:

      • To apply the changes immediately without restarting:
        • Press Ctrl + Shift + Esc to open Task Manager.
        • Find Windows Explorer in the list.
        • Right-click on it and select Restart.
      • Alternatively, you can simply restart your computer.

    Optional: Restore the "Edit" Option

    If you ever want to restore the "Edit" option:

    • If you renamed the edit key (Option 2 above):

      • Open Registry Editor.
      • Navigate back to HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell.
      • Rename edit_disabled back to edit.
    • If you deleted the edit key (Option 1 above):

      • Double-click the backup .reg file you exported earlier (edit_backup.reg).
      • Follow the prompts to merge it back into the registry.

    Caution

    • Always back up the registry before making changes.
    • Be careful when editing the registry; incorrect changes can lead to system instability.
    • If you're uncomfortable performing these steps, consider seeking assistance from a knowledgeable friend or professional.

    By following these steps, the "Edit" option should no longer appear in the context menu when you right-click on image files in Windows 10.


    If you encounter any issues or need further assistance, feel free to ask!