"C:\Program Files\VeraCrypt\VeraCrypt.exe" /dismount /silent /quit Only happens when hibernating.
I've added an event-driven task so that any mounted VeraCrypt volumes are dismounted when the PC is hibernated. This runs successfully in dismounting the drive according to the VeraCrypt GUI but the drive letter is not being freed according to Windows i.e. the mounted drive still appears in File Explorer but reports as unavailable if accessed. This issue doesn't happen if the dismount is performed through the GUI. Any ideas?