Policy

Remove File Explorer's default context menu

Removes shortcut menus from the desktop and File Explorer. Shortcut menus appear when you right-click an item. If you enable this setting, menus do not appear when you right-click the desktop or when you right-click the items in File Explorer. This setting does not prevent users from using other methods to issue commands available on the shortcut menus.

Policy
PackMicrosoft Windows
CategoryWindows Components / File Explorer
Policy IDce770e4f6488
Internal nameNoViewContextMenu

Registry

Copy registry mappings

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewContextMenu (enabled) = 1
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewContextMenu (disabled) = 0

Policy notes

Removes shortcut menus from the desktop and File Explorer. Shortcut menus appear when you right-click an item. If you enable this setting, menus do not appear when you right-click the desktop or when you right-click the items in File Explorer. This setting does not prevent users from using other methods to issue commands available on the shortcut menus.

Related policies