Table of Contents

VeraCrypt

VeraCrypt is an open source encryption software, and the successor of TrueCrypt. Download

Command Line

  • Desktop link to open a veracrypt volume:
    "C:\Program Files\VeraCrypt\VeraCrypt.exe" /l H /m rm /hash sha512 /c /a /q /v ID:14DB492097B73CBBCFD15275944B806E950DAD704F1239722650ECC1FE3F7698
  • Mount volume with keyfile:
    "C:\Program Files\VeraCrypt\VeraCrypt.exe" /v D:\container.hc /k E:\keyfiles /l K: /tryemptypass yes /hash sha512 /a /s /q
  • To check whether the mount command is correct, run VeraCrypt as user:
    runas /profile /user:bco "C:\Program Files\VeraCrypt\VeraCrypt.exe"
  • To mount the veracrypt container at startup, either put a Shortcut with above command to C:\Users\bco\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup, or create a task run at user logon of the user who owns the container, and enter above command.