-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Expected behavior
Dismounting the drive from the command line should work the same as from the UI and release the drive letter. This is how it worked in previous versions of Veracrypt and how it still works if I dismount from the UI.
Observed behavior
When I dismount a drive using the command line (for example, "C:\Program Files\veracrypt\veracrypt.exe" /dismount J: /q), the drive letter is not released. Explorer sees it as a Local Disk, even after the drive is removed with Safely Remove.
Steps to reproduce
- Mount an external disk drive in Veracrypt and assign it a drive letter J:
- "C:\Program Files\veracrypt\veracrypt.exe" /dismount J:
- The drive is dismounted but still appears as a Local Disk J: and cannot be re-assigned to J: in Veracrypt
- Remove the drive with Safely Remove
- The drive is still listed in Explorer as Local Disk J: but is invalid.
Screenshots
Your Environment
Windows 11 Pro, HP Laptop 17, 64GB RAM, WD external drives (various drives tried, behavior is the same in all of them)
Please tell us more about your environment
VeraCrypt version:
Veracrypt 1.26.15, 64-bit
Operating system and version:
Windows 11 Pro, 23H3, Build 22631.4169
System type:
64-bit