How to Disable Context Menu of File Explorer and Desktop

You will see the context menu in the File Explorer and desktop by default when you right-click on these.

Choose from two ways to complete this task. I’m using Windows 10 here. Let’s begin.

Method #1

Type gpedit.msc in the Run and then press the Enter key.

Go to User Configuration > Administrative Templates > Windows Components > File Explorer.

Double-click Remove File Explorer’s default context menu.

Select Enabled and click OK.

Restart your computer.

That’s all.

You can enable the context menu by following the above steps but selecting Disabled or Not Configured.

Method #2

Open Registry Editor. I suggest that you back up the Registry before proceeding.

Navigate to HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Policies > Explorer.

In the right pane, right-click on a blank space.

Select New > DWORD (32-bit) Value.

Provide the name as NoViewContextMenu and then press the Enter key.

Double-click it.

Provide 1 in the Value data field and press the OK button.

Restart your PC or File Explorer.

That’s all.

It is also possible to enable the context menu by deleting the DWORD you created above or changing its value to 0.

Read: