This registry trick is very useful mostly for home users who want to protect their system default settings against unwanted changes that other users can make. For example changes in system desktop appearance, themes, and screen saver as well as other display settings. Using registry editor, you can disable the right click functionality on desktop to access the “Display Properties” dialog box and this will also prevent users to access windows explorer.
Follow the given steps:
1: Click Start button and type regedit in Run option then press Enter for next.
2: Here locate the location to:
3: Here in right side panel, right click to create a new DWORD value with the nameNoViewContextMenu (it is case sensitive), then assign number 1 in value data box.
4: Now close the registry editor and restart your computer after any changes to go into effect.
But next time, if you want to enable right click functionality on desktop then simply change the value of data box or delete the NoViewContextMenu DWORD item.