Open with Notepad++ as Administrator Context Menu

Solution 1:

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

Download latest plugin nppsaveasadmin:

http://sourceforge.net/projects/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.

Solution 2:

to do this i used 2 programs

1 - Elevate Power Toy : http://technet.microsoft.com/en-us/magazine/2008.06.elevation.aspx

2 - Context Edit : http://www.softpedia.com/progDownload/ContextEdit-Download-78704.html

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