Run Notepad++ As Administrator?
-
With standard Windows Notepad, I can right-click the application and run it as an administrator in order to edit files in the Windows System folders like “Program Files (x86)”. Is there a way to run Notepad++ as an Administrator? If not, I would like to make that a suggestion for a future version.
-
@Nicholas-Piazza said in Run Notepad++ As Administrator?:
With standard Windows Notepad, I can right-click the application and run it as an administrator
And is something preventing you from doing the exact same thing with Notepad++ ?
-
When I right-click on the Notepad++ icon in the taskbar I get the following popup.
There is nothing there about running as administrator.
-
Run As Administrator is a Windows feature, not a Notepad++ feature.
Articles like https://www.windowscentral.com/how-run-app-administrator-windows-10 show around 10 different way of running an executable as Admin. Have you tried them all?
-
OK, I can do it by launching Notepad++ from File Explorer. It’s just not as convenient as doing it from the icon in my taskbar. Thanks for the info.
-
@Nicholas-Piazza said in Run Notepad++ As Administrator?:
OK, I can do it by launching Notepad++ from File Explorer. It’s just not as convenient as doing it from the icon in my taskbar. Thanks for the info.
Oh, I just tried the taskbar, since I thought it should work: you have to go another level deep: After you’ve right-clicked on the Notepad++ icon on the taskbar, Right Click on the
Notepad++
entry, and you’ll get the Run as administrator in a second popup window. -
@PeterJones
Once the right click menu is open, you can then click on Properties and select the Compatibility tab and place the checkmark beside the Run this program as an administrator.
It will then launch as Admin each time thereafter.
-
If Notepad++ is already running and someone starts a new instance then the new instance passes control to the already running instance and exits. This can cause attempts to run Notepad++ as Administrator to not work. You will get the “Do you want to allow this app to make changes to your device?” UAC pop-up. If you select Yes then the existing Notepad++ is brought to the foreground though not as an Administrator app.
Thus, you first need to exit or close Notepad++ and then run Notepad++ as Administrator.
-
@mkupper said in Run Notepad++ As Administrator?:
Thus, you first need to exit or close Notepad++ and then run Notepad++ as Administrator.
Alternatively, you can have the shortcut that enables Admin privileges also run with the
-nosession -multiInst
command-line options, so that you can run a standalone admin-Notepad++ without closing any existing normal Notepad++ instances.