Menu

#2348 Failed to load the specified file

KeePass_2.x
closed
nobody
5
2024-10-15
2024-10-15
No

My Windows 11 PC need to be reimaged, but before this I copied KeyPass 2.57 Portable to OneDrive.
After starting KeePass on the reimaged Windows 11 I was unable to load my database :-(

                C:\Users\jr\OneDrive\Documents\JR.kdbx
                Failed to load the specified file!
                The master key is invalid!
                Make sure that the master key is correct and try it again.

The Master Password is correct but it is unable to load the database.

I guess it could be some hashing algorithm the doesn't match, but it there a way to fix this to be able to load the database.
I don't think to remember that I using 'Windows user account' but I also tried to deselect 'Windows user account' during logon. This give the same result

1 Attachments

Discussion

  • wellread1

    wellread1 - 2024-10-15

    This is not a bug.

    This error occurs after system reimage if the database in question was protected by either a key file or the Windows User Account expert master key options, and the user files containing these additional secrets and/or certain supporting Windows User Account files are either missing or in new locations. If the files are missing and there are no backups the error is unrecoverable. See the KeePass master key documentation for details.

    Recovery may be possible under certain circumstances:

    • If the problem is a user's misplaced or missing master key file, restore the key file to a convenient location in the Documents directory, e.g. …\Documents\KeePass and enter the location on the Enter Master Key dialog when prompted for the database master key.

    • If the problem is a missing Windows User Account the potential restore procedure is considerably more complex. See the Recover Windows User Account Credentials wiki for details. Note: None of the preventative methods mentioned in this document are useful if they weren't completed prior to reimaging.

    Going forward see the KeePass Database Backup Wiki for helpful suggestions for how to backup your database and database master key.

     

    Last edit: wellread1 2024-10-15
  • Dominik Reichl

    Dominik Reichl - 2024-10-15
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB