Community
    • Login

    Run as Admin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 4 Posters 1.2k Views 3 Watching
    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.
    • Nachum ShmilovitzN Offline
      Nachum Shmilovitz
      last edited by

      The Run As Admin plug in removed from the plugin list a month ago (±)

      Any reason for that?

      Is there a different plugin that do the same?

      is there a way to download this plug in seperatly from the npp installer?

      It help me a lot when editing protected by admin privilage files as hosts

      Nachum

      xomxX 1 Reply Last reply Reply Quote 0
      • xomxX Offline
        xomx @Nachum Shmilovitz
        last edited by

        @Nachum-Shmilovitz

        https://github.com/notepad-plus-plus/nppPluginList/commit/7a889ea7f1ea59deaa8fcae5185d759098a83fbc

        reason:
        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14990#issuecomment-2053828749

        workaround (works best if one has the N++ Preferences > Backup > “Enable session snapshot and periodic backup” ON:
        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14990#issuecomment-2090354660

        is there a way to download this plug in seperatly from the npp installer?

        https://github.com/Hsilgos/nppsaveasadmin/releases

        Lycan ThropeL Nachum ShmilovitzN 2 Replies Last reply Reply Quote 1
        • Lycan ThropeL Offline
          Lycan Thrope @xomx
          last edited by

          @xomx said in Run as Admin:

          workaround (works best if one has the N++ Preferences > Backup > “Enable session snapshot and periodic backup” ON:
          https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14990#issuecomment-2090354660

          That’s how I usually do it, just so I know when something may be trying to write to those protected directories. It’s a bit of a pain, but not as much as trying to find out what wrote where, without knowing it, and screwing up something bigger.

          Nachum ShmilovitzN 1 Reply Last reply Reply Quote 0
          • Nachum ShmilovitzN Offline
            Nachum Shmilovitz @xomx
            last edited by Nachum Shmilovitz

            @xomx
            Thanks
            So i can not use it till the autor will fix it, right?

            i download the latest version and put it in the plugin folder and got the following on npp plugin admin

            c7444c04-cdcd-47ee-83e6-e1876d0cdc50-image.png

            1 Reply Last reply Reply Quote 0
            • Nachum ShmilovitzN Offline
              Nachum Shmilovitz @Lycan Thrope
              last edited by

              @Lycan-Thrope
              Thanks
              as you say, its annoying

              dinkumoilD 1 Reply Last reply Reply Quote 0
              • dinkumoilD Offline
                dinkumoil @Nachum Shmilovitz
                last edited by

                @Nachum-Shmilovitz
                I have never used Notepad++'s session snapshot and periodic backup feature, nor do I want Windows to decide when to install updates and restart my computer automatically (and took measures to stop it from doing so), so I have never encountered the problem of NUL char file corruption. That’s the reason why I’m not happy with the disablement of the NppSaveAsAdmin plugin, too.

                My workaround is to patch the version info of the plugin’s DLL file to outwit Notepad++'s compatibility check in PluginsAdmin. This can be done with the small tool Resource Hacker. I set the version number from 1.0.211 to 1.0.212, so the plugin can be used again. After saving a file with the plugin Notepad++ shows an error dialog mentioning an invalid handle but nevertheless the file gets saved correctly.

                The other option, patching Notepad++'s nppPluginList.dll file, doesn’t work because this file is signed. Any changes of this file prevents it from being loaded with Notepad++.

                1 Reply Last reply Reply Quote 1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors