Monday, 6 August 2018

boot - How to automount a Truecrypt volume before login in Windows 7?


I have an external hard drive containing all my documents, and it is encrypted with a password via Truecrypt. I'd like my desktop computer at home to automatically mount the volume prior to my logging in (so that it can be used as my user folder) without asking me for a password. (Yes, the password can be saved in plain text on my desktop's hard drive - that's okay.) For the life of me, I can't figure out a way to do this that actually works though.


Tried using the Task Scheduler to schedule a mount when the computer starts up, and it works, but the volume is only accessible by my user account after I log in. (Haven't tried every combination of users/options for the scheduled task, so maybe there's something else there I need to try.) Also tried adding a startup script for my user account that runs on login, which evidently is too late to set up the user's profile folder. Anybody ever successfully achieve this or something like it?



Answer



I was finally able to kind of get this working in the Task Scheduler by having the user called "SYSTEM" be the one to execute the task (on startup). If I attempt to log in to my user account too quickly, it doesn't work, but if I wait a few seconds it mounts and I can successfully log in. Wish there was a synchronous way to run a task prior to login...


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...