Windows registry delete right-click menu

1. Delete the blank space right-click menu

HKEY_CLASSES_ROOT\Directory\background\shell
HKEY_CLASSES_ROOT\Directory\background\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\background\shell
HKEY_CLASSES_ROOT\Folder\background\shellex\ContextMenuHandlers

2. Delete folder right-click menu

HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers

3. Delete file right-click menu

[具体文件格式后缀]为*时,所有格式文件都有该右键菜单
HKEY_CLASSES_ROOT\[具体文件格式后缀]\shellex\ContextMenuHandlers

The difference between shell and shellex

shell文件夹中定义的菜单,在右键上直接显示
shellex文件夹中定义的菜单,在右键上显示为多级菜单

The difference between Directory and Folder

Directory文件夹内定义的菜单,在所有文件夹(除了我的电脑右键)右键中显示
Folder文件夹内定义的菜单,在所有文件夹(包括我的电脑右键)右键中显示

Guess you like

Origin www.cnblogs.com/mlr-wjy/p/12733399.html