Community
    • Login

    Important files lost during recent update

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 2 Posters 60 Views 2 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.
    • Zack MosbruckerZ Offline
      Zack Mosbrucker
      last edited by

      Please help!

      I just updated Notepad++ to version 8.9.6.4 and after the update, I noticed that 2 of the 5 tabs that I use are an extremely outdated version (9/2/25 to be exact). I checked the backup directory and I am only seeing 3 files there, none of them are the file that I am looking for. It seems that a bunch of these files got deleted during the update.

      I have checked that session snapshots/backup is enabled and I also checked that the backup path is correct. Also “remember current session for next launch” is also checked. I am not sure what happened here, but I am panicking! Anyone know how I can restore these files? I haven’t had any luck with Recycle bin, OneDrive backups, windows snapshot (unavailable), or the %APPDATA%\Local\Temp directory. Am I screwed here? See below for Debug info. Thanks in advance for any support you can give!

      Notepad++ v8.9.6.4 (ARM 64-bit)
      Build time: Jun 3 2026 - 23:40:57
      Scintilla/Lexilla included: 5.6.2/5.4.9
      Boost Regex included: 1_90
      pugixml included: 1.15
      nlohmann JSON included: 3.12.0
      Path: C:\Program Files\Notepad++\notepad++.exe
      Command Line: “C:\Users\zack.mosbrucker\AppData\Roaming\Notepad++\session.xml.inCaseOfCorruption.bak”
      Admin mode: OFF
      Local Conf mode: OFF
      Cloud Config: OFF
      WinGUp: present
      disableNppAutoUpdate.xml: absent
      Periodic Backup: ON
      Placeholders: OFF
      Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
      Multi-instance Mode: monoInst
      asNotepad: OFF
      File Status Auto-Detection: cdEnabledNew (for current file/tab only)
      Dark Mode: OFF
      Display Info:
      primary monitor: 1920x1080, scaling 100%
      visible monitors count: 3
      installed Display Class adapters:
      0000: Description - Qualcomm® Adreno™ X1-85 GPU
      0000: DriverVersion - 31.0.133.1
      OS Name: Windows 11 Enterprise (64-bit)
      OS Version: 24H2
      OS Build: 26100.8457
      Current ANSI codepage: 1252
      Plugins:
      mimeTools (3.1)
      NppConverter (4.7)
      NppExport (0.4)

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Zack Mosbrucker
        last edited by PeterJones

        @Zack-Mosbrucker ,

        see the Backup FAQ: section on “Scenario: My (unsaved) files are missing!” for recovery ideas

        The only files in the backup directory are files that have unsaved changes when Notepad++ exits; once you have saved the file, it is deleted from there. And even if your session file is overwritten (it should not have been, the Notepad++ installer intentionally does not overwrite it), the files in the backup subdirectory should not have been touched, as the installer does nothing with that subfolder, so that strongly implies that there weren’t unsaved changes in other files. In which case, the original files should still be wherever you had last saved them.

        If you had a strange update scenario, it might change the expectation:

        • If you uninstalled before you did the update, it might have deleted files in there (though it only does that if you specifically tell it to).
        • If you had originally had Notepad++ installed someplace other than c:\program files\notepad++ and the old copy was set to doLocalConf or cloud-config or manual -settingsDir, then the old session file and backup files would be wherever that other copy was looking for it.
          • If you think this is the case, search your drive(s) for notepad++.exe, and anyplace other than c:\program files\notepad++\notepad++.exe that it’s found might give you a clue as to where to look for the backup files from that other instance of Notepad++
        Zack MosbruckerZ 1 Reply Last reply Reply Quote 0
        • Zack MosbruckerZ Offline
          Zack Mosbrucker @PeterJones
          last edited by

          @PeterJones - So does this mean if I accidentally saved a named file that opened as the old version, then I cannot recover what I had before?

          I replaced my PC last September and created a directory containing all of my notepad files. When I look in that directory, they have not been modified/saved since 9/2/2025. I have had 9 months of updates since then and after today’s update I cannot find the most recent version anywhere. I’m a bit lost here…

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones @Zack Mosbrucker
            last edited by

            @Zack-Mosbrucker said:

            @PeterJones - So does this mean if I accidentally saved a named file that opened as the old version, then I cannot recover what I had before?

            If you hit SAVE, then the file on disk in the main filesystem contains the contents that were visible at that time, then as far as I know, you cannot recover it (because it almost certainly overwrote the same portion of disk, or the portion that it freed has since been used by your disk). If you had no other backups of important-to-you files, then that is unfortunate.

            But, I think you’re under a mis-impression: if you hadn’t been hitting SAVE at any point in the last 9 months, then the file on disk in your normal “notepad” directory has never been written to in the last 9 months, so you didn’t “overwrite” anything. Notepad++'s peridodic-backup (better known as a “snapshot”) ONLY writes to the %AppData%\Notepad++\backup directory, not to the main file’s location, so it has never saved your file there, so there was nothing to be overwritten. If those backups somehow got deleted (and we cannot know how they did, though the installer/updater does not have code to do anything with that directory, so it seems unlikely to me that the installer/updater is the culprit), then the only place that those files have been written to disk was deleted. (And, as it says in the FAQ, you could try to use Recuva or similar recovery software on the %AppData%\Notepad++\backup directory, to see if there are remnants of the deleted backups)

            I replaced my PC last September and created a directory containing all of my notepad files. When I look in that directory, they have not been modified/saved since 9/2/2025. I have had 9 months of updates since then and after today’s update I cannot find the most recent version anywhere.

            Then you presumably never hit SAVE anytime in those 9 months, until after you had the problem. That’s sad.

            As I said, given your settings, any files with unsaved changes should have been in the %AppData%\Notepad++\backup directory. Unfortunately, you have not given any clue as to the exact sequence of events (nor answered whether it was an unusual “update” procedure, by either going from one type of install to another, or by using “uninstall” first), to help someone debug why, on very rare occasions, people have difficulty with losing their session and/or backup files.

            To prevent data loss in the future, I highly recommend either adding Ctrl+S to your frequent keystroke mental pattern, or click the menu entry or toolbar icon, or use the AutoSave plugin (as described in the FAQ I already linked). Given that you hadn’t hit SAVE anytime in 9 months, I highly recommend installing that plugin, then following the FAQ to set it to actually automatically save your files to their normal folders

            Zack MosbruckerZ 1 Reply Last reply Reply Quote 0
            • Zack MosbruckerZ Offline
              Zack Mosbrucker @PeterJones
              last edited by

              @PeterJones - There was nothing unusual that I noticed about the install. Seemed just like any other update done previously. I didn’t realize the backups could be deleted, which is why I never bothered to save. Pretty stupid, I know, but I got away with it up until this point.

              Anyhow, sounds like my only hope is to try and use Recuva. I’ll give that a shot and cross my fingers that it can somehow be recovered.

              Appreciate you taking the time to help with this!

              1 Reply Last reply Reply Quote 0

              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