How to disable Context Menu in Explorer of Windows 11/10
Using Group Policy Editor
Those users who have the Group Policy Editor included in their versions of Windows 10/8 may Run gpedit.msc to open it. next navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. Windows 7 users may see Windows Explorer being mentioned instead of File Explorer.
In the right pane, double-click on Remove File Explorer’s default context menu to open its settings box. Select Configured > Apply. Exit and restart your computer.
Using Registry Editor
You can also use the Registry Editor to Enable or disable right-click context menus in Windows Explorer. To do so Run regedit and navigate to the following key:
Right-click in the right pane and create a new 32-Bit DWORD value and name it NoViewContextMenu. Giving it a value of 1 will disable the context menu in File Explorer. To re-enable context menu, give it a value 0 or delete NoViewContextMenu. Do remember to create a system restore point first!
How to disable Taskbar Context Menu in Windows 11/10How to disable Right-Click Context Menu in Start Menu.