Community
    • Login

    Session lost after Windows 10 update, recovery options?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    10 Posts 5 Posters 467 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.
    • Career ScarceC
      Career Scarce
      last edited by

      Windows ran an update while my system was sleeping. N++ has always come up fine after updates so I just started it. It opened to a new session. I closed it then checked AppData\Roaming\Notepad++ and found session.xml and config.xml had recent time stamps.
      Are there any recovery options for my previous session?
      Are there any suggestions about how to prevent this? (Other than the obvious “be a better sysadmin,” #humor )

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Career Scarce
        last edited by

        @Career-Scarce

        A session configuration is written when you exit Npp.
        So after you started and closed Npp, it overwrote these settings. If you have used temporary files within the session, you can check the backup directory to see if they still exist.

        Career ScarceC 1 Reply Last reply Reply Quote 1
        • Career ScarceC
          Career Scarce
          last edited by

          So it sounds like Window’s winning streak of well-behaved shut-downs has been broken. I’ll just have to be more vigilant when they announce the next one.
          Thanks

          1 Reply Last reply Reply Quote 0
          • Career ScarceC
            Career Scarce @Ekopalypse
            last edited by

            @Ekopalypse All my open files were saved so nothing of note in the recent directory, thanks for the heads-up.
            And AppData\Roaming\Notepad++\session.XML is the only copy of the session, correct?
            Much appreciated

            EkopalypseE 1 Reply Last reply Reply Quote 0
            • EkopalypseE
              Ekopalypse @Career Scarce
              last edited by Ekopalypse

              @Career-Scarce

              If it is an installed version, then yes, that is the one being used, otherwise it would be the one from the directory where notepad++.exe is.

              1 Reply Last reply Reply Quote 0
              • mere-humanM
                mere-human
                last edited by

                Maybe, periodic backup might help you in the future.
                Take a look at the options in Preferences > Backup.

                PeterJonesP 1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @mere-human
                  last edited by

                  @mere-human said in Session lost after Windows 10 update, recovery options?:

                  Maybe, periodic backup might help you in the future.
                  Take a look at the options in Preferences > Backup.

                  periodic backup applies only to files that are being edited in the editor, not to the config files. The OP’s complaint is that the session information was lost.

                  Alan KilbornA 1 Reply Last reply Reply Quote 1
                  • Alan KilbornA
                    Alan Kilborn @PeterJones
                    last edited by

                    @PeterJones said in Session lost after Windows 10 update, recovery options?:

                    The OP’s complaint is that the session information was lost.

                    Well, probably that was one aspect of it.
                    The actual “data loss” was probably more important, which might be what @mere-human was meaning…getting the actual “files” back.
                    But of course you need the “pointers” to the file (session.xml) to know you have all of them.

                    EkopalypseE 1 Reply Last reply Reply Quote 2
                    • EkopalypseE
                      Ekopalypse @Alan Kilborn
                      last edited by

                      @Alan-Kilborn said in Session lost after Windows 10 update, recovery options?:

                      What data loss are you referring to?

                      Alan KilbornA 1 Reply Last reply Reply Quote 1
                      • Alan KilbornA
                        Alan Kilborn @Ekopalypse
                        last edited by

                        @Ekopalypse said in Session lost after Windows 10 update, recovery options?:

                        What data loss are you referring to?

                        Well, OP said he lost his existing session in favor of some presumably empty one.
                        The presumption is that he had a session of a bunch of unsaved, unnamed, temporary files.
                        In such a case, which is one that I do not operate under myself, haven’t you lost track of all of your “files”?

                        As you said, you might find them in the backup directory…

                        Ah, okay, I later see OP said:

                        All my open files were saved

                        So that’s a good thing.
                        But this is probably not how most people that ask such a question as the OP’s original actually work.

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