Open the registry editor (Start > run > regedit)
Navigate to the following node in the registry editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Now create a registry DWORD entry named NoViewContextMenu and set its value to 1.
Restart your computer.
To reverse the effect, change the value to 0 or delete the entry.
Navigate to the following node in the registry editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Now create a registry DWORD entry named NoViewContextMenu and set its value to 1.
Restart your computer.
To reverse the effect, change the value to 0 or delete the entry.