Community
    • Login

    Run Notepad++ As Administrator?

    Scheduled Pinned Locked Moved General Discussion
    feature request
    9 Posts 5 Posters 9.8k 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.
    • Nicholas PiazzaN
      Nicholas Piazza
      last edited by

      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.

      Alan KilbornA mkupperM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Nicholas Piazza
        last edited by

        @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
        • Nicholas PiazzaN
          Nicholas Piazza
          last edited by

          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.

          PeterJonesP 1 Reply Last reply Reply Quote 1
          • PeterJonesP
            PeterJones @Nicholas Piazza
            last edited by

            @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
            • Nicholas PiazzaN
              Nicholas Piazza
              last edited by

              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.

              PeterJonesP 1 Reply Last reply Reply Quote 1
              • PeterJonesP
                PeterJones @Nicholas Piazza
                last edited by

                @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

                Ian BlackieI 1 Reply Last reply Reply Quote 2
                • Ian BlackieI
                  Ian Blackie @PeterJones
                  last edited by

                  @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
                  • mkupperM
                    mkupper @Nicholas Piazza
                    last edited by

                    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.

                    PeterJonesP 1 Reply Last reply Reply Quote 3
                    • PeterJonesP
                      PeterJones @mkupper
                      last edited by

                      @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