how to enable bitlocker

rookie 0 Reputation points
2025-07-29T02:02:30+00:00

Getting an error when enabling bitlocker via powershell:

Add-TpmProtectorInternal : This key protector cannot be added. Only one key protector of this type is allowed for this

drive. (Exception from HRESULT: 0x80310031)

When i check TPM - it's already running at XTSAES128. the code i am using is

Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -UsedSpaceOnly -TpmProtector

Windows for business | Windows for IoT
{count} votes

2 answers

Sort by: Most helpful
  1. Brian Huynh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff Moderator
    2025-08-01T06:20:24.94+00:00

    Hello,

    Thank you for reaching out.

    The error 0x80310031 indicates that the C: drive already has a TPM protector enabled.

    The Enable-BitLocker cmdlet is used for the initial encryption of an unprotected drive. Since a TPM protector is already present, the command fails because it cannot add a duplicate one. You must decrypt the drive first and then re-encrypt it with the new settings.

    1. Check Current Status: Verify the drive's status. You will likely see ProtectionStatus is On.
         Get-BitLockerVolume -MountPoint "C:"Get-BitLockerVolume -MountPoint "C:"
      
    2. Decrypt the Drive: Disable BitLocker to start the decryption process. Ensure you have your BitLocker Recovery Key backed up.
         Disable-BitLocker -MountPoint "C:"
      
    3. Re-enable BitLocker with the New Method: Once the drive is fully decrypted, run your original command to enable the desired encryption method.
         Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -UsedSpaceOnly -TpmProtector
         Resume-BitLocker -MountPoint "C:"
      

    If you find this helpful, please accept the answer.

    Best regards.

    0 comments No comments

  2. BryceSor 3,890 Reputation points Volunteer Moderator
    2025-08-01T06:50:19.51+00:00

    Control Panel\All Control Panel Items\BitLocker Drive Encryption also show the status of bitlocker.

    User's image

    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.