Hi Joshua Bauer
Error 2147942487 from manage-bde translates to “The key protector has an invalid format.” or “The EncryptionMethod parameter is provided but is not within the known range.”
-This could indicate that TPM settings in BIOS is invalid. have you tried to reset the TPM chip?
-Make sure that the %OSDisk% variable is assigned to the Windows partition in the format step.