1. Frédéric Bourqui
  2. KeePassVeraCryptMount


Clone wiki

KeePassVeraCryptMount / Home

VeraCrypt mount plugin for KeePass v2.x

This plugin helps you to save time mounting VeraCrypt volumes.

You don't have to select each time your container, select a drive letter and optionally type in the password.


Download page


Unzip and then copy the latest KeepassVeraCryptMount.plgx into your KeePass plugin directory (usually: C:\Program Files (x86)\KeePass Password Safe 2\Plugins).


Tools menu

The options dialog is in the Tools menu item.

Options Dialog

Here you must specify the VeraCrypt executable path.

You can press the button with the green icon to resolve automatically from the local registry

The check box "Show VeraCrypt Mount menu item on each KeePass entry" controls the visibility of the context menu item. Before you setup your KeePass entries for usage with this plugin, it is recommended to enable this box. Otherwise you can press and hold the SHIFT key when the context menu is visible to show the mount menu item.

Note: You will need to disable "Show VeraCrypt Mount menu item on each KeePass entry" if you do not wish to see the mount panel each time you click on the context menu VC Mount Volume (you will need to select "Hide dialog next time" option at the bottom of the mount panel as well)


Assuming you have a separate KeePass entry for each VeraCrypt volume, you should right click the KeePass entry (using SHIFT key if you do not see the VC Mount volume in the context menu) The password for the volume is stored in the default password field of KeePass.

Entry context menu

With a click on the "Mount volume..." item you see the dialog below.

VeraCrypt mount dialog

Here you can specify the mount settings for this password entry.

Note: Never enclose your path_to_file with "" even if you have spaces in your path, they will be added automatically if needed.

Choose the file name of the encrypted container or type in the name of a physical partition which is encrypted. The following formats are allowed:

1 File container

  • [DriveLetter]:\[FileContainer].[Extension]

  • \\[HostName]\[ShareName]\[FileContainer].[Extension]

2 Physical partitions

The best way to fetch the correct partition, open VeraCrypt and choose your partition with the "Select a Partition or Device" dialog and copy the value from the volume field.

  • \Device\[HarddiskX]\PartitionX

3 Disk/volume

as shown by mountvol.exe

The Volume ID value can be retrieved using the volume properties dialog in VeraCrypt

VeraCrypt get VolumeID

  • ID:DE5976C70416E8B5EAC99081EE4ABCBDA2A218602966D3835695C29FD601EDE3

After that, choose a free drive letter and check/uncheck needed options.

Then press the Apply button and then Mount button to store the settings inside of the KeePass password entry as custom strings.

The check option "Hide dialog next time" will disabling this dialog for the current entry at your next mount operation. To reach this dialog again, press and hold the SHIFT key when you right click the KeePass entry.

The "Mount" button starts the mount operation.

Technical information

Used API Methods