Enable or disable right-click context menus in Windows File Explorer

We have already seen how to enable or disable right-click context menu in Internet Explorer. In this post we will see how to enable or disable right-click context menus in Windows Explorer or File Explorer in Windows 8.

Enable or disable right-click context menus in Explorer

Using Group Policy Editor

Those users who have the Group Policy Editor included in their versions of Windows 8 may Run gpedit.msc to open it. next navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. Windows 7 users may see Windows Explorer being mentioned instead of File Explorer.

enable or disable right-click context menus in windows explorer

In the right pane, double-click on Remove File Explorer’s default context menu to open its settings box.

This setting removes shortcut menus from the desktop and File Explorer. Shortcut menus appear when you right-click an item. If you enable this setting, menus do not appear when you right-click the desktop or when you right-click the items in File Explorer. This setting does not prevent users from using other methods to issue commands available on the shortcut menus.

Select Configured > Apply. Exit and restart your computer.

Using Registry Editor

You can also use the Registry Editor to Enable or disable right-click context menus in Windows Explorer. To do so Run regedit and navigate to the following key:



Right-click in the right pane and create a new 32-Bit DWORD value and name it NoViewContextMenu. Giving it a value of 1 will disable context menu in File Explorer. To re-enable context menu, give it a value 0 or delete NoViewContextMenu.

Do remember to create a system restore point first!

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.


  1. StepnSteph

    We’re going to need to know how to disable the new right-click menus in Windows 8.1 Update. Referring to the right-click menu that was added to Metro.

  2. Viv

    I am looking for some help
    I have introduced a new drop down item called Encrypt at right click to all file types – therefore I had to add it in the registry as :
    Now this drop down would be visible to all type of files at their right click.
    But I also have files of type .crypt
    HKEY_CLASSES_ROOTencryptedfile (encryptedfile is defined of type .crypt)
    Now I do not want this drop down Encrypt to be visible when I right click files of type .crypt (or encryptedfile)
    For the rest of the files the menu Encrypt should be visible (enabled).
    How can that be achieved?
    I wish this functionality to be achieved by command line Registry modification, not by some third party tool or through C# kind of code
    Thank you very much

  3. Martin


    -Right-click in the right panel

    -create a new 32-Bit DWORD value and name it NoViewContextMenu.

    -Giving it a value of 1 will disable context menu in File Explorer.

    -To re-enable context menu, give it a value 0 or delete NoViewContextMenu.

  4. Gajanan Sawant


    I need help on

    no access for date change
    no access for control panel
    no access for installation
    no access for command prompt
    no access for right click
    no access fot deleting instrument data
    no access for task manager
    no access for USB
    no access for network connections
    no access to change backup location
    hide CD ROM
    Hide All local Drives

  5. If you have many questions it is best to visit the forum: http://forum.thewindowsclub.com/.

  6. BK

    I realize this is an older post but I am desperate for some help. I’ve posted in Windows help forums and cannot discover how to fix a strange mouse problem that has recently occurred.

    The LEFT click of my mouse button shows a context menu. So does the RIGHT click. I cannot discover how to disable the LEFT click context menus. No it’s not mouse right and left buttons switched. Not malware, my system is pretty clean. Appears in browsers, Windows, everywhere. Yes, started in safe mode and problem persists, yes started browsers in safe mode and problem persists.

    What’s interesting is that your fix for completely disabling any context menus from the mouse does not work, both LEFT and RIGHT menus continue to pop up, regardless of the new registry key NoViewContextMenu set to 0 or 1.

    I’m hoping that someone has a registry key fix or other fix for disabling this truly maddening problem.

  7. Restart in Clean Boot State. If the problem disappears, then it is some installed software that is creating this issue. See: https://www.thewindowsclub.com/what-is-clean-boot-state-in-windows

  8. BK

    Hi Anand,
    I have rebooted in Safe Mode, problem is still there. This is why I’m thinking some software changed the registry or other settings making the issue semi-permanent. I’m hoping someone knows the magic registry key or keys to disable LEFT click mouse context menus.

Leave a Reply

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

4 + 6 =