Enable Bitloacker on OS Volume from Command Line -unattended

~OSD~ 2,201 Reputation points
2022-01-07T12:43:27.007+00:00

Hi,

I would like to enable Bitlocker Drive Encryption on Operating System Volume from command line in unattended method that do not require user input.

Here is what I have done so far, pleas let me know which stage I am doing it wrong or feel free to share your thoughts /methods if something is different from what I am trying now.

  1. Group Policy <Require Additional Authentication at Startup> = Enabled

163197-image.png

  1. PowerShell <Add Key Protector>
    Add-BitLockerKeyProtector -MountPoint C: -Password ("MyPassword" | ConvertTo-SecureString -AsPlainText -
    Force) -PasswordProtector

but above command give me following error:

163222-image.png

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Shane Walsh 31 Reputation points
    2022-01-07T13:44:21.363+00:00

    Try this:

    $SecureString = ConvertTo-SecureString "1234" -AsPlainText -Force

    Add-BitLockerKeyProtector -MountPoint "C:" -Pin $SecureString -TPMandPinProtector


  2. ~OSD~ 2,201 Reputation points
    2022-01-07T13:52:46.737+00:00

    Eventually it continue to work (no changes made)

    163176-image.png

    But now when PC reboots, it say Bitloacker is not enabled:

    163271-image.png

    0 comments No comments

  3. Limitless Technology 39,921 Reputation points
    2022-01-10T09:07:02.827+00:00

    Hello OSD

    It sounds like you have checked several of the boxes that are required for BitLocker to be properly enabled. Could you validate if you have "PTT" enabled, or if this TPM is running in TPM 2.0 mode?

    Have you attempted to "clear" the TPM within TPM.MSC?

    Can you validate if you are also running within UEFI or Legacy BIOS mode? This can be found within MSinfo32 under "System Summary" in the "BIOS Mode" field.

    We may also need to ensure that your BIOS is up to date. it may be beneficial to update your device to ensure that BIOS, as well as all relevant chipset drivers are fully up to date.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  4. ~OSD~ 2,201 Reputation points
    2022-01-13T10:38:09.187+00:00
    • TPM 2.0 , even tried with Clear the TPM.
    • UEFI BIOS
    • All latest patches
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.