Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 there a way to enable Bitlocker during Windows setup?

share|improve this question

There is a post on giving an option. I'm not in a position to try it until Monday but it sounds okay.

I'm assuming your attended install currently logs into the "created" user at least once. So, write a batch file that calls manage-bde, enables TPM then encrypts then drive. Finally the batch file should delete itself (or the shortcut to it) from the All User's Start Up folder, meaning it won't re-run after that first automated log in.

The batch file should enable the TMP chip (and set the password):

manage-bde –tpm –t –o <password> 

Then encrypt the drive, we'll assume c: and since you aren't at the machine you'll need to get the output of the command written somewhere so you have the Recovery Password. In the example it's going to e:

manage-bde –on c: -rp > e:\bitlocker.txt

Finally delete the batch file or the shortcut to it and restart the PC.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.