- Open registry editor
- Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Now right click on the key and create new DWORD value
- Rename the key as " NoViewContextMenu "
- Double click to open the key and edit value data to 1
Note - if you want to enable right click functionality again on desktop then simply change the value data to 0 or delete the NoViewContextMenu DWORD key.