I've found the root cause of this bug and submitted a fix as a pull request on GitHub: https://github.com/veracrypt/VeraCrypt/pull/1658 Root cause: SHChangeNotify(SHCNE_DRIVEREMOVED) is asynchronous by default. In CLI mode with /q, the process exits before Explorer processes the notification — the drive letter stays in the shell namespace cache. Fix: Add SHCNF_FLUSH flag in Silent mode to force synchronous notification. See the PR for full analysis. This also applies to GitHub issues #337 and #1...
I've found the root cause of this bug and submitted a fix as a pull request on GitHub: https://github.com/veracrypt/VeraCrypt/pull/1658 Root cause: SHChangeNotify(SHCNE_DRIVEREMOVED) is asynchronous by default. In CLI mode with /q, the process exits before Explorer processes the notification — the drive letter stays in the shell namespace cache. Fix: Add SHCNF_FLUSH flag in Silent mode to force synchronous notification. See the PR for full analysis. This also applies to GitHub issues #337 and #1...