Hi, I'm having trouble figuring out something that is happening when I am Enabling Bitlocker on machines. I have a script that runs on various different computers and enables bitlocker.
The command I am using is: Enable-Bitlocker -MountPoint C: -RecoveryPasswordProtector -SkipHardwareTest -UsedSpaceOnly
What's odd, is on virtually all systems other than one of them, this works as expected, starting encryption with around 90% "completed". On the other systems though, it will essentially behave as though the "-UsedSpaceOnly" parameter isn't there. All the machines have the same powershell version (5.1) and all have TPM 2.0.
I also run this command on every machine before the enable-bitlocker command: Initialize-TPM -AllowClear -AllowPhysicalPresence
Any ideas what could be causing this?
Powershell 'Encrypt Used Space Only' Issue
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- WSUsoftware
- Posts: 30
- Last visit: Thu Feb 17, 2022 2:52 pm
Re: Powershell 'Encrypt Used Space Only' Issue
From your post we have to assume that the script is working. You have a configuration or version issue on the faulting system. We cannot fix that for you. You will need to analyze the failing system.