LATEST: We are offering PENTESTING and WEB DEVELOPMENT service with low price Learn More

3/23/2013

How to Disable Right-Clicking or Context Menu Anywhere on the Desktop



You can disable context menu or the menu you get when you right click on your mouse. You can use this trick as a prank or you can use this to prevent any one from changing options of your folders and applications by right clicking on them. Here is a way to disable the right-clicking or context menu on the entire Desktop, including the Start Button, Taskbar and the System Tray. 

Steps

 1. Start > Run 
 2. Type
 regedit and press [Enter].


3. First, navigate to 

HKEY_CURRENT _USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

4. Right-click in the right pane and create a new DWORD value. Name this DWORD key as “NoViewContextMenu”. Double-click on this DWORD and set its value to 1. Click ‘OK’. This step will disable the context menu for the Desktop.



5. Next, in the same registry key as above, again right-click in the right pane and create another, new DWORD value. Name this DWORD “NoTrayContextMenu”. Double-click on this DWORD and set its value to 1. Click‘OK’. This step will disable the context menu for the System Tray.

Finally, we’ll disable the context menu for the Taskbar. To do this, navigate to 

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced. 

6. Right-click in the right pane and create a new DWORD value as before. Name this DWORD “TaskbarContextMenu”. The new DWORD will have a value of 0 – let it remain. 

That’s it, you’re done.
Exit the registry editor. Log Off and then log back On for the new settings to take effect. Now try right- clicking anywhere – you won’t be able to!

Note:
To restore the context menus, repeat the above procedures, and simply change back the values from 0 to 1 and 1 to 0 as necessary.

About Author:

Hi, Its me Aamir Khan, Owner of HACKING ARTICLES. I am an Ethical Hacker, Pro Blogger, addicted Web Developer and Security Researcher with experience in various aspects of Information Security. I am from Pakistan.Hacking is my passion and i wanna myself to be called as a LEGEND in this field.

Follow him @ Twitter | Facebook


0 comments:

Post a Comment

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.