So I am logging into a windows server and once I login as a administrator a small pop u box of the TrueCrypt comes up and it asks for a TrueCrypt password.Once I provide the password certain files will be mounted.So I am looking for a script which would help me to automate this process.Like every time the server reboots I want to set the password to the TrueCrypt automatically so that the files would be mounted.
I was actually thinking of a powershell script which could be set up in windows Task scheduler and then configure the task to run every time the server restarts.But I am not sure how we can send the password of TrueCrypt using powershell commands.Could you let me know how this can be achieved.
Don't.
You should be moving away from TrueCrypt altogether. It is no longer supported, no longer being developed, and per the creators may have unpatched security vulnerabilities. Get away from TrueCrypt ASAP.