TrueCrypt.exe command options (Windows) | Description |
truecrypt.exe /a or /auto [devices | favorites] | If no parameter is specified, automatically mount the volume. If devices is specified as the parameter, auto-mount all currently accessible device/partition-hosted TrueCrypt volumes. If favorites
is specified as the parameter, auto-mount favorite volumes designated
as “mount upon logon”. Note that /auto is implicit if /quit and /volume
are specified. If you need to prevent the application window from
appearing, use /quit. |
truecrypt.exe /b or /beep | Beep after a volume has been successfully mounted or dismounted. |
truecrypt.exe /c or /cache [y | n] | Enable
or disable password cache, Note that turning the password cache off
will not clear it (use /w to clear the password cache). |
truecrypt.exe /d or /dismount [drive letter] | Dismount volume specified by drive letter. When no drive letter is specified, dismounts all currently mounted TrueCrypt volumes. |
truecrypt.exe /e or /explore | Open a Windows Explorer window after a volume has been mounted. |
truecrypt.exe /f or /force | Forces
dismount (if the volume to be dismounted contains files being used by
the system or an application) and forces mounting in shared mode (i.e.,
without exclusive access). |
truecrypt.exe /h or /history [y | n] | Enables or disables saving the history of mounted volumes. |
truecrypt.exe /help or /? | Display command line help. |
truecrypt.exe /k or /keyfiles [keyfile | search path] | Specifies a keyfile or a keyfile search path. For multiple keyfiles, specify e.g.: /k c:\keyfile1.dat /k d:\KeyfileFolder /k c:\kf2. To specify a keyfile stored on a security token or smart card, use the following syntax: token://slot/SLOT_NUMBER/file/FILE_NAME. |
truecrypt.exe /l or /letter [drive letter] | Driver letter to mount the volume as. When /l is omitted and when /a is used, the first free drive letter is used. |
truecrypt.exe /m or /mount [bk|rm|recovery|ro|sm|ts] | bk
or headerbak: Mount volume using embedded backup header. All volumes
created by TrueCrypt 6.0 or later contain an embedded backup header
(located at the end of the volume).
recovery: Do not verify any
checksums stored in the volume header. This option should be used only
when the volume header is damaged and the volume cannot be mounted even
with the mount option headerbak.
rm or removable: Mount volume as removable medium.
ro or readonly: Mount volume as read-only.
ts or timestamp: Do not preserve container modification timestamp.
sm
or system: Without pre-boot authentication, mount a partition that is
within the key scope of system encryption (for example, a partition
located on the encrypted system drive of another operating system that
is not running). Useful e.g. for backup or repair operations.
Note:
If you supply a password as a parameter of /p, make sure that the
password has been typed using the standard US keyboard layout (in
contrast, the GUI ensures this automatically). This is required due to
the fact that the password needs to be typed in the pre-boot environment
(before Windows starts) where non-US Windows keyboard layouts are not
available. |
truecrypt.exe format.exe /n or /noisocheck | Do not
verify that TrueCrypt Rescue Disks are correctly burned. Warning: never
attempt to use this option to facilitate the reuse of a previously
created TrueCrypt Rescue Disk. Note that every time you encrypt a system
partition/drive, you must create a new TrueCrypt Rescue Disk even if
you use the same password. A previously created TrueCrypt Rescue Disk
cannot be reused as it was created for a different master key. |
truecrypt.exe /p or /password [password] | The
volume password. If the password contains spaces, it must be enclosed
in quotation marks (e.g., /p “My Password”). Use /p “” to specify an
empty password. Warning: this method of entering a volume password may
be insecure, for example, when an unencrypted command prompt history log
is being saved to unencrypted disk. |
truecrypt.exe /q or /quit [background|preferences] | Automatically perform requested actions and exit (main TrueCrypt window will not be displayed). If preferences
is specified as the parameter (e.g.,/q preferences), then program
settings are loaded/saved and they override settings specified on the
command line. /q background launches the TrueCrypt Background Task (tray
icon) unless it is disabled in the Preferences. |
truecrypt.exe /s or /silent | If
/q is specified, suppresses interaction with the user (prompts, error
messages, warnings, etc.). If /q is not specified, this option has no
effect. |
truecrypt.exe /v or /volume [volume] | Path
to a TrueCrypt volume to mount (do not use when dismounting). For a
file-hosted volume, the path must include the filename. To mount a
partition/device-hosted volume, use, for example, /v \Device\Harddisk1\Partition3
(to determine the path to a partition/device, run TrueCrypt and click
‘Select Device’). You can also mount a partition or dynamic volume using
its volume name (for example, /v \\?\Volume{5cceb196-48bf-46ab-ad00-70965512253a}\). To determine the volume name use e.g. mountvol.exe. Also note that device paths are case-sensitive. |
truecrypt.exe /w or /wipecache | Wipes any passwords cached in the driver memory. |