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

I have a truecrypt volume that is automatically mounted as a favorite upon login. However, I have other startup programs that depend on it being mounted.

How can I have the password prompt appear and be entered before the other programs run?

I don't want to use a delay, but am happy to try running truecrypt as a service (before login) or login script, if I knew how.

share|improve this question
up vote 0 down vote accepted

I was able to solve this by using a login script. It runs before startup programs.

I'm not entirely sure how the login scripts themselves are triggered (it's part of the standard operating environment), but I add this line to the relevant .vbi file:

wshShell.Run """C:\Program Files\TrueCrypt\TrueCrypt.exe"" /auto favorites /quit", 0, True

share|improve this answer
    
Care to expand on how you wrote this login script, where you put it, how TrueCrypt needs to be configured etc? – rmac Feb 5 '11 at 11:16
    
Good question. Updated my answer – Rog Feb 7 '11 at 4:11

You must log in to answer this question.

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