Registered Member
|
Hi
Using KMM 5.06 on Windows 10. Using Veracrypt 1.24 Update 7. After changing entries and saving. I exit Kmm. When I try to dismount the volume in Veracrypt I am required to "force dismount" because "the volume is in use" I have used task manager to ensure the Kmm task is ended. No change. This does not happen on my Linux installation (mint 20.10 Kmm v 5.08) so am leaning away from it being a veracrypt issue but rather a Kmm issue. Any suggestions? I have used process explorer but cannot find any indication of locks on the file. |
Registered Member
|
First, let me say that using VeraCrypt is a good way of encrypting your KMyMoney data. Users might want to consider encrypting just the .kmy file, including backups, and storing the program outside of VeraCrypt. On Linux, GNU Privacy Guard is another option. But GPG did not work with KMyMoney 5.06 on Windows and am unsure about the more recent KMyMoney versions.
There is a way to get information on what is “in use.” Run OpenedFilesView, which you can download from OpenedFilesView - View opened/locked files in your system (sharing violation issues). The program is portable. It does not write to the registry or AppData. The first time you run it, go into Options and select Show Opened Directories. Each row in OpenedFilesView shows a file or directory that is in use. You can click on the Full Path column to sort by that column. When you do that, the main sort is by drive letter. This lets you quickly see the files or directories that are in use on the volume created by VeraCrypt. Another way is View > Use Quick Filter. One of the columns shows the Process Name that has the file or directory open. I suspect that dbus-daemon.exe is still running after the user exits from KMyMoney. You can use Task Manager to end that process. Added Section The VeraCrypt “Force dismount?” message means that at least one file or folder on the volume that VeraCrypt mounted is still open. The OpenedFilesView program mentioned above can identify what is still open. Here the purpose of using VeraCrypt would be to encrypt the .kmy files and possibly other files, such as OFX and report files. In tburke’s case, it seems likely that the KMyMoney program ran from the VeraCrypt volume and a part of it was still running when the user tried to dismount. In particular, I suspect dbus-daemon.exe, which is used in KMyMoney. The Windows version of KMyMoney includes the dbus code. My experience is that on Windows the dbus task continues to run after the rest of KMyMoney exits. The Windows Task Manager can be used to stop dbus. But even without stopping dbus, the force dismount problem can be solved by storing and running the KMyMoney program from outside of a VeraCrypt volume. VeraCrypt would then not check the open status of the program files. VeraCrypt warnings would be limited to open files/folders still in the VeraCrypt volume. Also, there would not be a performance hit from on-the-fly decrypting of the program by VeraCrypt.
Last edited by Stephen Leibowitz on Mon May 10, 2021 8:27 pm, edited 1 time in total.
|
Registered Member
|
Hi,
I currently use a VeraCrypt container to store my KMM data file ( with its backups) and a couple of other routine non-KMM files. ( NB, I have muitiple backups of this container) Re..
Can you please clarify what you mean by "outside of VeraCrypt"? Are you suggesting NOT to store the programme itself in VeraCrypt ( although the OP hasn't indicated that (s)he has)? Thanks, Tony |
Registered Member
|
The VeraCrypt Volume Creation Wizard has an option to create an encrypted file container (a virtual encrypted disk within a file that has a default file extension of .hc). I think that tburke used that option. Encrypting the .kmy data file has a security benefit. Can a user also store the KMyMoney program in a VeraCrypt file container? Yes, but unless a user wants to hide the fact that KMyMoney is being used, there seems to be no benefit. Also, there is a performance hit from the on-the-fly decrypting of the program by VeraCrypt.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]