Thanks Dominik for the answer The option 'Use file transactions for writing configuration settings' set on OFF works well. Ransomware protection panel show actions "blocked by the administrator" for KeePass.exe for the protected directory 'Documents\password'. It also says that I can authorize applications to access to those protected directories but only for approved ones. So I added KeePass.exe from the blocked list of applications to the approval list and it works well too. I set back the option...
Last try : 1) - download 2.54 in a other Onedrive directory (c:\users\chris\OneDrive\desktop\password) - copy the database - test OK 2) - rename the original directory (c:\users\chris\OneDrive\documents\password --> ...\documents\password 2) - copy the working directory content in a new directory with the original name (...\documents\password) - copy the database --> error 3) - move "password" directory from documents to the Onedrive root directory (c:\users\chris\OneDrive\password) - test OK It...
Usually, I use the Save icon. I tried with File -> Save without success
Database is not saved. Timestamp does not change. And modification is lost if I force exit. Revert to KeePass 2.53.1 works well, with no error message on both changes (database and config files).
On a Windows 10 PC, from the same location (with the same Microsoft account), Portable KeePass works correctly.
Error saving database on Onedrive location