Community
    • Login

    Launch in Administrator mode not reopen edited file but original file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 4 Posters 2.6k 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.
    • Sauro DellapittimaS
      Sauro Dellapittima
      last edited by

      Hi all.
      In Windows with UAC environment, when try to save an edited file in a protected folder, Notepad ask if I want to start it in Administrator mode, and respond to ‘Yes’.
      That’s OK. But the problem is.
      While in some PC notepad restart in admin mode and automatically reopen the file that I had already edited, so I can, simply, click again on save and the file is saved.
      In other PC, notepad restart a new session in admin mode, but automatically reopen the original file (that was saved on disk), before I edited it, so I lost the modify that I do, and need to remodify again the file (really it’s possible to copy all contents in first notepad session and paste and replace all contents in notepad admin session).
      This, naturally, is very nuisance.
      I searched for options difference between one installation and another, without found it.
      How can I solve the problem ?
      Is there an option or setting that permit this ?
      Thanks in advance.
      Regards.

      Claudia FrankC 1 Reply Last reply Reply Quote 1
      • Claudia FrankC
        Claudia Frank @Sauro Dellapittima
        last edited by

        @Sauro-Dellapittima

        which notepad++ version do you use, in particular 32bit or 64bit?
        Currently I’m thinking that, maybe, the filesystem redirector did come into place.
        Could this be?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 1
        • Sauro DellapittimaS
          Sauro Dellapittima
          last edited by

          Thanks for response.
          The version is the last available (7.5.6) 64 bit, but the problem exist with other previous version too, in 32bit as 64 bit, same problem.
          “Currently I’m thinking that, maybe, the filesystem redirector did come into place” sorry, I’m afraid I do not understand what you mean.
          Regards

          Scott SumnerS 1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner @Sauro Dellapittima
            last edited by

            @Sauro-Dellapittima

            What is the complete pathname to the file you are having this trouble with?

            1 Reply Last reply Reply Quote 2
            • Sauro DellapittimaS
              Sauro Dellapittima
              last edited by

              Hello.
              The problem isn’t on specific file, it’s on all files in all directories (where is requested administrator right to modify)
              Regards.

              Claudia FrankC 1 Reply Last reply Reply Quote 1
              • chcgC
                chcg
                last edited by

                Maybe you want to have a look on plugin https://sourceforge.net/projects/nppsaveasadmin/, also available for 64bit, see PluginManager.

                1 Reply Last reply Reply Quote 1
                • Claudia FrankC
                  Claudia Frank @Sauro Dellapittima
                  last edited by

                  @Sauro-Dellapittima

                  could it be that the PC’s which do act like you want do have
                  Settings->Preferences->Backup->Enable session snapshot and periodic backup
                  activated while those which don’t work as expected don’t have that setting set?

                  I haven’t tested but this could explain the behavior.

                  If this isn’t the case, what exactly is different in terms of permissions on folder/files
                  or in other words, what do I need to do to see the same behavior as you do?

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 1
                  • Sauro DellapittimaS
                    Sauro Dellapittima
                    last edited by

                    Hello.
                    Excuse me all for late (I’m absent in that period).

                    Thanks, many thanks @Claudia-Frank, you are right.
                    "Settings->Preferences->Backup->Enable session snapshot and periodic backup " wasn’t enabled where the problem exist.
                    Activated this option, the problem is solved.

                    Renew thanks.
                    Cheers
                    Sauro

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