How to Disable Right Click on Mouse in Windows (7 Ways)

Looking for a way to disbale right click on your Windows PC? We’ve got you.

While the tool opens the context menu and helps get certain tasks accomplished more quickly, it can also lead to mistakes like deleting something on the desktop, especially if you share your computer with someone else.

In this piece, we’ll show you how to disable right click using built-in Windows apps, and also show you some nifty third party software that can help you achieve that.

Sounds good? Let’s get started!

How to disable right-click in Windows

1. Disable Right Click Via the Registry

  1. Press Start (or press Win key+R) and type Regedit, then hit Enter.
  2. Navigate to the following key in the registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. Right click on the Explorer key and select New > DWORD (32-bit) Value.
Registry noviewcontextmenu
  1. Give it the name NoViewContextMenu and click OK.
  2. Double-click the name and set the value data as 1.
  3. Press OK. To set it back again, simply set this value back to 0 or right-click on the NoViewContextMenu entry and delete it.
  4. You will need to log off or reboot for any of these changes to take effect.
Noviewcontextmenu value

Adding the registry tweak above will disable the mouse right click for all users on the computer. If you only want to disable for the currently logged in user, you need to navigate to HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE:

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

For ease of use and to save you going into the registry we have created these keys in easy to run .reg files which simply need to be double clicked on.

2. Use Group Policy Editor (For Windows Pro & Enterprise)

  1. Press Win + R, type gpedit.msc, and hit Enter.gpedit command run
  2. Navigate to:
    User Configuration > Administrative Templates > Windows Components > File Explorerfile explorer gpedit
  3. Find Remove File Explorer’s default context menu on the right.remove file explorer's default context menu
  4. Double-click it and select Enabled.enabled remove file explorer

3. Use Kid Key Lock

  1. Open Kid Key Lock,.
  2. Check the boxes to disable right-click, left-click, middle-click, double-click, or the scroll wheel, then click OK.
  3. To adjust settings later, right-click the system tray icon and use the Locks submenu.
Kid key lock

We’ve mentioned Kid Key Lock before about restricting or disabling keyboard and mouse buttons. It can be set up to disable right-click, left-click, middle-click, double-click, and the scroll wheel.

Kid Key Lock is a simple parental control tool designed to restrict mouse and keyboard functions.

It visually indicates locked buttons by flashing the tray icon when a disabled key is pressed. However, the program lacks password protection unless you also restrict keyboard functions.

Download Kid Key Lock | Kid Key Lock Portable


4. MurGee Mouse Disabler 1.0

  1. Open Mouse Disabler, check the box to disable Right Click,.
  2. The change applies instantly.
  3. You can also disable double-click, scroll wheel, and mouse movement.
  4. The program minimizes to the taskbar but stays active in the background.
Murgee mouse disabler

Even though Mouse Disabler needs installing you can copy its executable and Helper.dll from Program Files to make it portable or extract with a utility like Universal Extractor. Both files total 86KB in size.

Note that Mouse Disabler versions newer than 1.0 downloaded from the developer website or elsewhere are shareware and require payment. Make sure to download the right version from our link below.

Download Mouse Disabler


5. X-Mouse Button Control

  1. Open X-Mouse Button Control from the system tray.
  2. Click the dropdown next to Right Button.
  3. Select Disable, and click Apply.
  4. To temporarily restore right-click, press Scroll Lock.
  5. You can also reassign right-click to another function from the dropdown menu.
X mouse button control

X-Mouse Button Control is a powerful mouse customization tool that lets you remap buttons, disable specific clicks, and create profiles for different applications.

It’s a flexible solution for users who only want to disable right-click in specific programs rather than system-wide.

Download X-Mouse Button Control


6. BasicMouse

  1. Open BasicMouse.
  2. Press Start.
  3. It will disable right-click immediately.
Basicmouse freeware

BasicMouse (formerly BabyMouse) is a simple utility for restricting mouse functions, primarily designed for child-friendly setups.

However, it also disables the scroll wheel, and some advanced features are time-limited unless you purchase the full version.

Download BasicMouse Free (Disable Right Click version)


7. Using an AutoHotKey script

AutoHotKey is used for creating scripts and macros and can automate a large number of tasks in Windows if you take a bit of time and patience to learn how it works. In its most basic form, AutoHotKey can disable the mouse right click functionality with just 1 line of code, which is:

RButton:: return

That just tells the script to intercept the right mouse button and then do nothing with it. Although the right click is disabled, you can still Shift right click in Windows or to exit the script. With a bit more creativity you can add other things to the script such as disabling the tray icon, adding a password to turn it on and off, etc.

If you want to try it out, here’s a compiled script with just that 1 line.

Download DisableRightMouseClick


In conclusion, whether you’re tweaking the registry or using built?in tools like the Group Policy Editor, there’s a method that fits your comfort level and needs.

Disabling right?click can help prevent accidental deletions or other unintended actions—especially on a shared computer—and the step?by?step instructions above show you exactly how to do it.

If you’re looking to further customize your Windows experience, be sure to check out our guides on Windows Registry Backup and Windows Context Menu Customization.

These resources offer additional insights and tips to help you create a more controlled and error?free computing environment. Enjoy your more personalized Windows setup!

26 Comments - Write a Comment

  1. Jonathan 3 years ago
  2. Adami 4 years ago
  3. Christine 6 years ago
  4. Geoff Arrowsmith 7 years ago
    • Geoff Arrowsmith 7 years ago
    • Chris Leverich 5 years ago
    • Randy Knowles 5 years ago
    • Tony Pike 3 years ago
  5. Geoff Arrowsmith 7 years ago
    • Brad 3 years ago
  6. ChingghisKhan 9 years ago
    • HAL9000 9 years ago
  7. Man 9 years ago
    • malaysia-m 8 years ago
  8. saman 10 years ago
  9. Shahid Afridi 14 years ago
  10. Dragos 16 years ago
  11. jeroen 17 years ago
  12. Emman 17 years ago
  13. murugan 17 years ago
  14. Andrea 17 years ago
  15. mark 17 years ago
  16. kral oyun 17 years ago
  17. xangelo 17 years ago
  18. ritunath 17 years ago
  19. ma7moud mustafa 17 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.