Desktop Background Context Menu Registry Locations

This article details the exact Windows Registry (Regedit) paths where shell context menu extensions for the desktop and folder backgrounds are cataloged. When you right-click on an empty space on the desktop or within a directory, Windows queries specific registry keys to populate both static commands and dynamic shell extension handlers. Understanding these paths allows administrators and power users to customize, add, or troubleshoot items appearing in the background context menu.

Primary Registry Paths for Background Shell Extensions

Dynamic shell extension handlers for the desktop and folder backgrounds are registered using GUIDs (Globally Unique Identifiers) under the shellex\ContextMenuHandlers subkeys.

  1. Desktop-Specific Extensions:

    • HKEY_CLASSES_ROOT\DesktopBackground\ShellEx\ContextMenuHandlers

    This key manages shell extensions that specifically target the Windows Desktop background surface (such as display driver panels like NVIDIA Control Panel or Intel Graphics Settings).

  2. Directory Background Extensions (Shared with Desktop):

    • HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers

    Because the desktop behaves as a directory background, handlers cataloged here frequently appear on both File Explorer folder backgrounds and the desktop itself.

User-Specific vs. System-Wide Locations

HKEY_CLASSES_ROOT is a merged view of machine-wide and current-user settings. For targeted troubleshooting or deployment, you can access the underlying keys directly:

Static Context Menu Entries

If an entry does not use a dynamic COM object (ShellEx) but instead runs a fixed executable command, it is cataloged under the standard shell keys:

Under these keys, each subkey represents the display name or action identifier of the context menu item, containing a command subkey with the path to the executable to be launched.