Registry Location for Background Context Menu Verbs

When you right-click on an empty space inside a folder window or on the Windows Desktop, the operating system generates a context menu populated by registered system shell verbs. This guide outlines the exact registry paths within the Windows Registry Editor (regedit.exe) where these background-specific shell verbs and handlers are cataloged, organized by static commands and dynamic COM extensions for both standard directory backgrounds and the desktop.

Primary Registry Paths for Directory Backgrounds

For standard folders in File Explorer, the verbs that appear when clicking the empty background space are cataloged under the following registry keys:

Primary Registry Paths for Desktop Backgrounds

The Windows Desktop uses specialized keys in addition to inheriting properties from the general directory background:

Scope and User-Specific Locations

HKEY_CLASSES_ROOT is a merged view of machine-wide and user-specific settings. If you are configuring verbs for specific deployment scopes, the direct registry targets are:

Structure of a Shell Verb Entry

To register a standard static verb under any of the \shell keys:

  1. Create a new subkey under ...\shell\ with your desired internal verb name (e.g., CustomTool).
  2. Set the (Default) string value of the key to the text that should appear in the context menu.
  3. Add an optional string value named Icon pointing to an .ico or .exe file to display an icon.
  4. Create a child subkey named command.
  5. Set the (Default) value of the command key to the command line string executed when selected (e.g., "C:\Path\To\App.exe" "%V").