36

I want to remove Notepad++'s annoying shell integration when right-clicking a file in Windows.

Right-click context menu

How do I do that?

2
  • 2
    It's one of the things I like about Notepad++. To each his own. Feb 15, 2013 at 1:10
  • 1
    can't believe there isn't a flag for this in the program's preferences... That's pretty irritating
    – Some_Guy
    Oct 11, 2019 at 13:15

3 Answers 3

19

If you are weary of editing the registry you can try ShellExView which is a free application that allows editing of Shell Extensions.

Shell Extensions are in-process COM objects which extends the abilities of Windows operating system. Most shell extensions are automatically installed by the operating system, but there are also many other applications that install additional shell extension components. For example: If you install WinZip on your computer, you'll see a special WinZip menu when you right-click on a Zip file. This menu is created by adding a shell extension to the system. The ShellExView utility displays the details of shell extensions installed on your computer, and allows you to easily disable and enable each shell extension.

1
  • 1
    +1 but ShellExView is the name.
    – harrymc
    Oct 19, 2009 at 11:37
41

Here's the non-registry, non-download way to uninstall the Notepad++ shell extension. Using the Command Prompt as an admin, run the following:

  1. cd "\Program Files (x86)\Notepad++"1
  2. regsvr32 /u NppShell_06.dll2

To make this change active, you may need to restart explorer.


You can also reinstall the extension and get customization options:

regsvr32 /i NppShell_06.dll

1: If you use 32-bit Windows or installed Notepad++ in a different folder, the path may be different.

2: NppShell_06.dll is the correct filename for the most recent version of Notepad++ (6.6.9). If NppShell_06.dll is not found, you may have a different version.

source

10
  • 3
    Don't forget to restart explorer to make this change effective. Dec 4, 2012 at 19:37
  • 2
    It's NppShell_05.dll for the most recent version (v6.5.4).
    – Paul
    Feb 24, 2014 at 17:58
  • 2
    Perfect, quick and easy solution. Thank you (+1). I updated it to current (6.6.9) version of Notepad++. Waiting until it is peer reviewed.
    – trejder
    Sep 23, 2014 at 17:24
  • 1
    That's a rather dramatic response, don't you think? I'm happy to explain over chat why I added further changes in addition to the ones you made, if you'd like to talk about it.
    – Chris
    Sep 24, 2014 at 20:41
  • 1
    @Chris: I'm not sure what I did. I think I eventually realised I had two dll files, NppShell_05.dll and NppShell_06.dll, available. In the end, it suddenly worked. The command prompt was in admin mode throughout, though...
    – Christian
    Apr 22, 2015 at 22:38
21

Open the registry editor (Start->Run) and type in "regedit".

Navigate to the following key:

HKEY_CLASSES_ROOT\*\ShellEx\ContextMenuHandlers

You will see the key "Notepad++". Simply delete it.

2
  • HKEY_CLASSES_ROOT consolidates entries from HKLM and HKCU. If there are permission issue with HKLM, it will disallow deleting the key. I worked around this, by creating same key in HKCU with different (invalid) default value. Jan 11, 2016 at 6:40
  • Under ContextMenuHandlers the key could be named not exactly Notepad++, but some variation of it, so do the "fuzzy" matching. (e.g. "ANotepad++64") Jan 11, 2016 at 6:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.