Tomas Kan - 2023-03-07

Here's the thing, I'm writing a master's thesis in which I use the product veracrypt as one of the services and I badly need advice on one question.

Is it possible to combine veracrypt with Powershell? The idea is when a user on startup inputs his password (full disk encryption is used) and after decrypting the hard drive - veracrypt automatically runs a Powershell script which is able to make changes to the file system.

The problem is that I cannot find the exact place where I have to run the PS code. I tried many options, e.g. create a key in the register after decrypting the disk, but all without success.
I also have another question - if this implementation is possible, can the system show the user the initial window in which the entered password is checked until the script does not complete its work?

Thanks for any information!