Sometimes your friend(intentionally or unintentionally) changes the properties of your desktop or creates unnecessary folders on it and leave you in anger. You also would have liked to do the same in his computer. Instead of doing these things and wasting your time in foolishness, just disable the right-click function by following below steps.
1) Click the Start button and type regedit in Run option and hit enter
2) Locate the location to:
3) Here in right side panel, right click to create a new DWORD value with the name NoViewContextMenu (it is case sensitive), then assign number 1 in value data box.
Now close the registry and shut down your pc to take action. Just change the value to ‘1’ in order to enable it.