Past year I have experienced problem editing files via Notepad++ ‘s file context menu. Program throws error “Shell execute failed (2): Is this command correct ?”. Today I made decision to fix this annoying thing. Previously I tried to uninstall whole Notepad++ and install again, but it didn’t work. So I asked uncle google, what he thinks about it. I found two working fixes, but essentially both things do the same thing. notepad++.exe can’t be set to have admin rights . So fix is easy: Right click -> properties on notepad++.exe (in notepad++ installation folder) Switch to compatibility tab Uncheck “Run this program as an administrator” Done! And you are good to go with editing via shell extension.