• Login
Community
  • Login

Сreation of .bak files

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 1.1k 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.
  • V
    VAVoices
    last edited by Jan 5, 2023, 9:19 AM

    Hello.

    I have a strange problem with ‘backup’ settings.

    From time to time I have the ‘create .bak file’ in ‘backup’ section automatically enabled. This happens by accident, not from installing a new version and (or) restarting the program.
    Sometimes it becomes very annoying when the same files appear, but with a different extension.
    I hope you can help me with this phantom problem.

    12ab387a-7ac4-47cc-876e-2788c12b6bd9-image.png

    NPP++ ver:
    01da7e77-3f30-45c4-bbaf-79f18a76dcb1-image.png

    debug info:

    Notepad++ v8.4.7   (64-bit)
    Build time : Nov  1 2022 - 23:31:11
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line : 
    Admin mode : ON
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Pro (64-bit) 
    OS Version : 1903
    OS Build : 18362.356
    Current ANSI codepage : 1251
    Plugins : 
        mimeTools (2.9)
        NppConverter (4.5)
        NppExport (0.4)
    
    
    P 1 Reply Last reply Jan 5, 2023, 2:02 PM Reply Quote 0
    • P
      PeterJones @VAVoices
      last edited by Jan 5, 2023, 2:02 PM

      @VAVoices ,

      That shouldn’t change without you intentionally changing the setting.

      Recently, there was another user who discovered that “mysteriously changing settings” were caused because they had two different copies of Notepad++ installed with different config files, and sometimes one was run and sometimes the other. You might want to check for multiple copies of notepad++.exe on your computer.

      The other thing I see is that you are running in Admin mode in your screenshot: it may be that in admin mode, Notepad++ is able to write the config files when it exits, but if you run in non-Admin mode that the user you are running as does not have write permission to the appropriate config.xml, so it cannot save the settings, so the next time you run, it has forgotten that you don’t want that option on.

      So, if you don’t have two copies of Notepad++, I would suggest looking into permissions of %AppData%\Notepad++\ directory and the files inside. You might find it easier to exit all copies of Notepad++, then use Windows Explorer to go into %AppData%\, and rename Notepad++ folder (maybe to Notepad++.old). Then re-run Notepad++, making sure it is not run-as-admin; this will recreate the %AppData%\Notepad++\ folder and all the critical configuration files that belong there, with everything set back to defaults (and the default for .bak is off, which is what you want), and the permissions should be right for your normal user to be able to save changes to the Notepad++ configuration when it exits.

      1 Reply Last reply Reply Quote 2
      • R
        Rene Timmermans
        last edited by Feb 28, 2023, 12:30 PM

        This post is deleted!
        1 Reply Last reply Reply Quote -1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors