Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to add an "Open with Notepad++ as Administrator" context menu for all files to Windows 7.

I've tried the solutions listed here:

with minimal success. I'm running windows 7 home premium 64-bit. Does anyone have either more explicit instructions, or a different solution?


share|improve this question

Reading a privileged file is not the problem. Save changes is.

Download latest plugin nppsaveasadmin:

Decompress on your plugins folder: (only NppSaveAsAdmin.dll)

C:\Program Files (x86)\Notepad++\plugins

Restart notepad++, and next time you will be prompted every time a file needs admin rights to change it.

You can try on C:\Windows\System32\drivers\etc\hosts to see the effects.

share|improve this answer
That's exactly what I want. I open admin files too often I think this solution is better than restart as admin. – appmaster May 21 '15 at 17:58
Or you can just use the Plugin Manager (Plugins -> Plugin Manager -> Show Plugin Manager) and install the 'Save as admin' plugin from there. This is the same plugin. – Alex Che May 20 at 7:30

to do this i used 2 programs

1 - Elevate Power Toy :

2 - Context Edit :

first i downloaded elevate power toy and unziped it. after that in context edit (which you should run as admin too) i created a new entry and name it Notepad++ Admin

To new entry's command line write : "[Path]\Elevation\elevate.cmd" "C:\Program Files (x86)\Notepad++\notepad++.exe" "%1"

after that you can see Notepad++ Admin on all items. i added screenshot for command options (actually nothing is selected).

alt text

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .