Cannot bind argument to parameter Exception because it is null with Backup-BitLockerKeyProtector
Problem Statement
I have installed Bitlocker hundreds of times, literally. In fact, I’ve written a guide that my work uses and it has served us for years with no issues! However, I like to stretch myself from time-to-time. It is easy to follow instructions and do them without thought. It is a bit more challenging, at least, to try to do the install from memory and without a formal “How-To” guide. That’s where I am today.
I have a DC and a Management server in a lab environment hosted on Hyper-V. All is Server 2016. I enabled the vTPM, installed the Bitlocker feature, and enabled Bitlocker. When I attempt to run the command Backup-BitLockerKeyProtector I get an error, no matter how I do it
The error itself is very not helpful.
Write-Error : Cannot bind argument to parameter 'Exception' because it is null. At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\BitLocker\BitLocker.psm1:2337 char:44 + Write-Error -Exception $ExceptionForHr + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [Write-Error], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteErrorCommand