Community
    • Login

    All configs lost

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    10 Posts 3 Posters 1.6k Views 1 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.
    • jomofcwJ Offline
      jomofcw
      last edited by

      Hello,

      I’m using Npp since years and that’s the first time I fall in that trouble…
      As many time before, I open my “hosts” file (in “C:\Windows\System32\drivers\etc”) and when I want to save it, it ask me to reload Npp in admin mode. I click “restart” and then it close then reopen Npp, as usual, but there… all my configs disapear ! It look like Npp after a fresh install :/.

      Is there a way to get back to my previous config please ? Is it a known bug ? If yes, how to fix it, please ?

      1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse
        last edited by

        I had a similar issue once, some time ago.
        For me the problem was, that the “original/first” notepad++ process
        didn’t exit cleanly and another npp process was created.
        Not sure if this is your case as well but as soon as I made sure
        that no other npp process was running,
        a newly create npp process behaved like expected.

        1 Reply Last reply Reply Quote 1
        • jomofcwJ Offline
          jomofcw
          last edited by

          Hello @Ekopalypse !

          Thanks for your answer.
          Perhaps this is the problem… but did you find any solution to get back your previous settings ? Mine has gone, and it seems that I can’t get them back :'(.

          1 Reply Last reply Reply Quote 2
          • EkopalypseE Offline
            Ekopalypse
            last edited by Ekopalypse

            For me a new start of npp, after ensuring that no other npp process still runs, fixed it.

            Can you post your debug-info? (available under the last menu item, the ? menu)
            Maybe we can find a way to bring it back.

            jomofcwJ 1 Reply Last reply Reply Quote 1
            • jomofcwJ Offline
              jomofcw @Ekopalypse
              last edited by

              @Ekopalypse sadly nop, a restart let it in the same state :/.

              Here are my debug infos :
              Notepad++ v7.7.1 (64-bit)
              Build time : Jun 16 2019 - 21:24:47
              Path : C:\Program Files\Notepad++\notepad++.exe
              Admin mode : OFF
              Local Conf mode : OFF
              OS : Windows 10 (64-bit)
              Plugins : mimeTools.dll NppConverter.dll NppFTP.dll

              1 Reply Last reply Reply Quote 1
              • EkopalypseE Offline
                Ekopalypse
                last edited by

                Local Conf mode : OFF

                give the information, that your configuration data is stored in %APPDATA%\notepad++

                If you press CTRL+R or the windows key and paste this into the field and
                press enter it will open an explorer window pointing to the need directory.

                Can you check if there is a config.xml file and when it got created and modified?

                jomofcwJ 1 Reply Last reply Reply Quote 1
                • jomofcwJ Offline
                  jomofcw @Ekopalypse
                  last edited by

                  @Ekopalypse I have a config.xml in “C:\Users\myUserName\AppData\Roaming\Notepad++” and it was last modified… the last time I have closed Npp (just right now) :'(. So I guess it erase my previous settings…

                  1 Reply Last reply Reply Quote 0
                  • EkopalypseE Offline
                    Ekopalypse
                    last edited by

                    ok - so it looks like we can be sure that this is the right directory.
                    Now, depending on your windows setup you might be able to get a previous version of that file by right-clicking on that file an choose
                    properties and select tab previous versions.

                    If there is nothing, one other possible way to get an older version is to
                    use a software like recuva and do a deep search with the full appdata path.

                    jomofcwJ 1 Reply Last reply Reply Quote 3
                    • jomofcwJ Offline
                      jomofcw @Ekopalypse
                      last edited by

                      @Ekopalypse
                      YOU
                      ARE
                      AMAZING !

                      Thanks so much, I’ve restored a previous version (just before the fail), and all seems to be OK right now.
                      Thank you so much !

                      1 Reply Last reply Reply Quote 3
                      • mahi soniM Offline
                        mahi soni
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote -3

                        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