Windows shell context menu option

Date: 2018-03-06
# enable
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

# disable
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f

# restart 'Windows Explorer' via task manager or reboot

For files:

HKEY_CLASSES_ROOT\*\shell\

For directories:

HKEY_CURRENT_USER\Software\Classes\Directory\shell\

HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\

  1. Add a Key with: <Application Name> with default value <Title of menu item>
  2. Add a string value Icon with an exe name containing an icon as embedded resource
  3. Add a sub Key “command” with default value an exe name.

10440cookie-checkWindows shell context menu option