“Edit with Notepad++” on your right-click menu comes from the Notepad++ shell extension, a DLL named NppShell.dll that the Notepad++ installer puts in the contextMenu folder of the install and registers, so the entry appears on every file you right-click. If you never use it, or you open files from inside Notepad++ instead, ContextCleaner from Automata Labs hides it with a toggle, shows which component added it, and keeps a backup so you can bring it back with one click. The manual alternative is to unregister the DLL with regsvr32 /U from an elevated prompt.
Hide Edit with Notepad++ from the menu and undo it any time.
Get it fromMicrosoft
Where does “Edit with Notepad++” come from?
The Notepad++ User Manual’s “Shell Extension” page explains it: Notepad++ installs a shell extension, “a DLL which adds menu commands to the Windows Explorer right-click context menu”, and “any file you right-click on will show an entry named Edit with Notepad++”. Key facts from that page and the nppShell project on GitHub:
| Detail | What it means |
|---|---|
File: NppShell.dll in the contextMenu\ subfolder of the install | That DLL is the source of the entry |
| Installed by the installer, not the portable edition | Portable Notepad++ users only see it if someone registered the DLL by hand |
Windows 11 integration uses a sparse package (NppShell.msix) | That is how the entry reaches the short Windows 11 menu, not just Show more options |
The installer registers it with regsvr32 and unregisters it on uninstall | Uninstalling Notepad++ removes the entry |
Older versions used names like NppShell_##.dll next to notepad++.exe | Very old installs may differ |
The manual also notes that Windows 11 builds behave slightly differently. Modern Notepad++ installers add the entry to the main Windows 11 menu, but on some builds you may only see it under Show more options or with Shift+F10.
Should you remove it?
It depends on how you open files.
| You usually open text files by | Keep the entry? |
|---|---|
| Right-clicking files in File Explorer | Yes, or pin it to the top |
| Dragging files onto the Notepad++ window | Probably not |
| File > Open or recent files inside Notepad++ | Probably not |
| Double-clicking, with Notepad++ set as the default for those types | Probably not |
| Never; Notepad++ was installed by someone else | Hide it |
Hiding the entry does not uninstall Notepad++ or change file associations. It only removes that right-click line. If you want double-click to open certain types in Notepad++, the manual points to Settings > Preferences > File Association as the alternative.
See every right-click entry with its source, then switch off the ones you never use.
Get it fromMicrosoft
How do you hide it with ContextCleaner?
- Open ContextCleaner. It lists right-click menu items and extensions with a label showing where each comes from and what it applies to: files, folders or empty space.
- Search for Notepad++. Filter the list by name to find the entry and the extension behind it.
- Switch it off. ContextCleaner shows a confirmation before writing anything, which you can turn off once you are comfortable.
- Check the menu. Right-click a file and open Show more options as well. If the line still appears in one of the two menus, look for a second Notepad++ entry in the list; the classic entry and the Windows 11 one can be separate.
- Change your mind any time. ContextCleaner saves a backup before every change and keeps an undo and redo history that persists after you close the app, plus snapshots you can roll back to with one click.
ContextCleaner covers both the short Windows 11 menu and the longer Show more options list, and it is built to switch off third-party add-ons that pile into the menu, which is exactly what this entry is.
How do you remove it manually?
The Notepad++ manual documents the official method. It needs an elevated command prompt:
cd "C:\Program Files\Notepad++\contextMenu"
regsvr32 /U NppShell.dll
The manual pairs each register command with an unregister command, so if the DLL was registered with regsvr32 /i, use regsvr32 /U /i NppShell.dll. Afterwards, restart Explorer (sign out and back in, reboot, or restart it from Task Manager) for the menu to refresh.
To put it back, run regsvr32 NppShell.dll from the same folder.
| Method | What it changes | Undo |
|---|---|---|
| ContextCleaner toggle | Hides the entry; Notepad++ untouched | One click in ContextCleaner, or roll back a snapshot |
regsvr32 /U NppShell.dll | Unregisters the shell extension | regsvr32 NppShell.dll, admin required |
| Uninstall Notepad++ | Removes the program and the entry | Reinstall |
What if the entry was added by hand?
The Notepad++ manual also describes a do-it-yourself route: .reg scripts that add an “Edit With Notepad++” key under HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Notepad++ (or the all-users equivalent under HKEY_CLASSES_ROOT). Unregistering the DLL does not remove keys like these; you would delete those keys, as the manual notes.
There is one more variation worth knowing. The manual describes a Windows 11 workaround that renames the built-in pintohome verb to “Edit with Notepad++”, at the cost of losing “Pin to home”. If your menu shows the Notepad++ line but “Pin to Quick access” or “Pin to home” is missing, this tweak may be why. Removing those keys restores the Windows entry.
Registry edits have no undo of their own. If you are not sure which keys exist, a tool that shows each entry’s source and backs up before changing it is the safer route. Our post on context menu items that are not in the registry explains why some Windows 11 entries cannot be found with regedit at all.
Will a Notepad++ update bring it back?
It can. The manual notes that the installer or updater installs the shell extension and may not be able to overwrite it if it is already installed. Updates are a normal time for menu entries to reappear. If that happens, toggle the entry off again in ContextCleaner, or roll back to a snapshot from after your first cleanup.
For the wider picture, see the Windows 11 right-click menu guide, and if your menu feels sluggish as well as long, read how shell extensions slow down the right-click menu. Windows’ own Notepad adds a similar line; we cover it in remove Edit in Notepad from the right-click menu.
Frequently asked questions
Does hiding the entry uninstall Notepad++?
No. Notepad++ keeps working. Only the right-click line is hidden.
Why do I see it in Show more options but not the main menu?
The manual says Windows 11 builds behave differently. Modern installers aim for the main menu, but some setups only show it in the classic list.
I use portable Notepad++. Where did the entry come from?
The portable edition does not ship the DLL, so someone registered it by hand or added registry keys. Check for manual keys as described above.
Is it safe to unregister NppShell.dll?
The Notepad++ manual documents regsvr32 /U for this purpose. It needs administrator rights, and you can register it again later.
Try ContextCleaner
Get ContextCleaner from the Microsoft Store. The listing requires Windows 10 version 17763.0 or higher.
Tidy the right-click menu without editing the registry, with every change reversible.
Get it fromMicrosoft
ContextCleaner is a product of Automata Labs. Notepad++ is a trademark of its respective owner. Windows is a trademark of the Microsoft group of companies.
Last updated 24 November 2026. Published by Automata Labs, a software company in Canada.