First Open Registry Editor by typing regedit command on run.
Then Go to HKEY_LOCAL_MACHINE–>SOFTWARE–>Microsoft–>Windows–>Current Version–>Policies–>Explorer
Then Right click on it and add new DWORD (32-bit) Value and give name is NoViewContextMenu and give value 1 and then press ok,
Then simply restart your pc your right click are disabled ,
if want to Enable right click just Change Value from 0 to 1 and then restart pc it is Enabled.
Note:-You have ADMIN rights to perform this activity