Bring up the registry editor again, following the steps above. In order to disable right-clicking look for the following (on the left of the editor):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
The folders expand (the + icon) so you will need to gradually move down. Once you’ve found the following entries, and clicked on the ‘Explorer’ folder under ‘Policies’, you should see entries and values displayed in the window on the right. Make sure it is the right folder by checking the path above, and seeing that it is open on the left.
Right-click in a blank space in the window on the right, hover the mouse pointer on ‘New’ and select ‘DWORD value’. Type the following as you see it (or copy/paste):
NoViewContextMenu
Press enter. Now double click on the entry you’ve just created and a small window will open up. Type ‘1’ in the ‘Value Data:’ box.
In the case of right-clicking being disabled, there is usually an entry of this type in the registry. All you need to do is delete it altogether in order for it to work. It is that simple!