Remove File Explorer's default context menu
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Windows Components > File Explorer
Supported on
At least Windows 2000

Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP

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.

Internal name
NoViewContextMenu
Policy ID
ce770e4f6488
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoViewContextMenu
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoViewContextMenu
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.