Сreation of .bak files
-
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.NPP++ ver:
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)
-
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 renameNotepad++
folder (maybe toNotepad++.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. -
This post is deleted!