Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to specify in TrueCrypt (under Windows) that some specific (not all) mounted volume has to be automatically dismounted after some period of time? In the settings I can only set auto dismount to apply to all volumes.

share|improve this question

If you know which volume it is, you can dismount it from the command line: The following command dismounts a TrueCrypt volume mounted to drive S:

truecrypt.exe /d s /q

Note that this is interactive, and will fail if a file on the volume is open. Use /f to force a dismount.

The following mounts X.TC to drive S:

truecrypt.exe /v /q /ls /e /b /m ts

I use batch files to do this every day. Hope this helps!

share|improve this answer
Thanks. I think this could be useful. I would like to dismount the volume after a certain time of inactivity (no reads/writes to the mounted drive). Perhaps I achieve this with the scheduler in Windows to run a dismount script. – DustByte Mar 26 '13 at 11:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .