You are here

KeePass: How do I restore lost settings?

8 posts / 0 new
Last post
foxcole
Offline
Last seen: 2 months 1 week ago
Joined: 2007-05-26 16:30
KeePass: How do I restore lost settings?

For no apparent reason, KeePass Portable 1.18 opened with all settings reverted to default (after I've used it successfully many times).

It's easy enough to open the primary database manually so I can use the app, but how can I restore the preference settings? Reinstalling KeePass doesn't help.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
auto open last used db

You can set it to automatically open the last used database by going to Tools-Options-Advanced-Start and exit-Automatically open last database on startup.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

foxcole
Offline
Last seen: 2 months 1 week ago
Joined: 2007-05-26 16:30
Thanks, but...

... that's not what I asked. That setting, I assume, is stored with all the other option preferences that aren't working, and I already had that specified. My problem is, those options are no longer tied (I don't know the proper term) to the app at startup, so KeePass starts up in its default configuration.

I need to re-establish that tie because it would be a pain to have to go through and set each option again manually. I've done it that way twice before when this same problem happened in different earlier versions (and different OS environments), but because it's recurred again, I need a better way to deal with it.

Again, nothing obvious happened to cause the problem... except perhaps just the fact that I have EjectUSB automatically run when PStart closes. That utility closes or aborts all programs running from the USB stick. But this is the first time I've lost the KeePass settings while running EjectUSB, so I can't point to it as a sure cause.

Cheers!
---Fox

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 6 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
EjectUSB

That would be it then. EjectUSB kills the launcher and doesn't let the app close properly. You can not kill a portable apps launcher and expect the app to remain portable or keep your settings. If KeePass Portable is running and you run EjectUSB, it will crash it. Aborting an app is the same as killing it in task manager which is the same as it crashing and being unable to finish running.

Sometimes, the impossible can become possible, if you're awesome!

foxcole
Offline
Last seen: 2 months 1 week ago
Joined: 2007-05-26 16:30
Okay....

... I'll accept that explanation even though this is the first time in a year and a half that EjectUSB caused any problems. So I'll find some other way to close my apps.

This still doesn't answer my question. How can I restore the settings?

Cheers!
---Fox

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 6 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Reset The App

You'll need to reset the app. As the settings are either in Data or App and stuck in an in-between state, I'd suggest just uninstalling and re-installing and redoing the settings from scratch (since that'll only take a few seconds and is dead easy to do). Most likely, you usually close KeePass before hitting eject. Or it could be that this particular time it killed the launcher before KeePass. Or the PC was overloaded causing it to take too long to close. Just be sure your KeePass database is NOT somewhere inside the KeePassPortable folder before you delete it and then re-install.

Sometimes, the impossible can become possible, if you're awesome!

foxcole
Offline
Last seen: 2 months 1 week ago
Joined: 2007-05-26 16:30
All right, thanks

Lesson learned. Thanks for your help! I'll redo it by hand again.

PStart allows files to execute at close, and that's when I was running EjectUSB as a means to shut down all the files and processes I had open from the flash drive.

Am now wondering if there's a similar but better way to close all processes and files that are open from the USB stick, in one action (such as closing PStart). I found a couple of old forum topics related to this, but I'm not sure how to implement what they're talking about, if in fact the methods are still useful. They're written for and by people who understand them. I'm too old-school now to instantly get it, but am very coachable.

Or is there, by now, a portable app solution to this problem? I haven't found one yet but maybe am not looking for the right terms.

Thanks again.

Cheers!
---Fox

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 6 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform

There will be that ability built into the platform with an understanding of how apps in PA.c Format function, but it will not be available separately. The eject function of the platform currently does not close running apps. It does, however, eject the current drive without bringing up the Windows prompt as it used to.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments