• Login
Community
  • Login

Run Notepad++ As Administrator?

Scheduled Pinned Locked Moved General Discussion
feature request
9 Posts 5 Posters 10.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    Nicholas Piazza
    last edited by Mar 16, 2021, 1:45 PM

    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.

    A M 2 Replies Last reply Mar 16, 2021, 1:48 PM Reply Quote 0
    • A
      Alan Kilborn @Nicholas Piazza
      last edited by Mar 16, 2021, 1:48 PM

      @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++ ?

      1 Reply Last reply Reply Quote 0
      • N
        Nicholas Piazza
        last edited by Mar 16, 2021, 1:50 PM

        When I right-click on the Notepad++ icon in the taskbar I get the following popup.
        npplus.png

        There is nothing there about running as administrator.

        P 1 Reply Last reply Mar 16, 2021, 2:26 PM Reply Quote 1
        • P
          PeterJones @Nicholas Piazza
          last edited by Mar 16, 2021, 2:26 PM

          @Nicholas-Piazza ,

          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?

          1 Reply Last reply Reply Quote 1
          • N
            Nicholas Piazza
            last edited by Mar 16, 2021, 3:27 PM

            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.

            P 1 Reply Last reply Mar 16, 2021, 3:37 PM Reply Quote 1
            • P
              PeterJones @Nicholas Piazza
              last edited by Mar 16, 2021, 3:37 PM

              @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.

              752fa2b9-6c8e-4c6e-9977-9c9556d2090f-image.png

              I 1 Reply Last reply Apr 17, 2024, 6:58 PM Reply Quote 2
              • I
                Ian Blackie @PeterJones
                last edited by Apr 17, 2024, 6:58 PM

                @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.
                Notepadplusplus.png

                1 Reply Last reply Reply Quote 1
                • M
                  mkupper @Nicholas Piazza
                  last edited by Apr 18, 2024, 6:37 AM

                  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.

                  P 1 Reply Last reply Apr 18, 2024, 1:10 PM Reply Quote 3
                  • P
                    PeterJones @mkupper
                    last edited by Apr 18, 2024, 1:10 PM

                    @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.

                    1 Reply Last reply Reply Quote 3
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors