Forum Discussion
CSP Policy for BitLocker Encryption on AutoPilot Devices
- Nov 26, 2018
After a great deal of experimentation and a blog post from Per Larson; I tracked down the cause of the issue.
The encryption section of the EndPoint Protection policy does not correctly apply to AAD Joined devices capable of HSTI if the policy is set to Encrypt Device: Require.
I was able to successfully encrypt a device during AutoPilot with AES 256 under the following circumstances.
- Create a brand new Endpoint Protection policy (Important!)
- Apply the encryption settings that you want to set
- Make sure the Encrypt Device setting is set to Not Configured
- Apply the policy to a group containing Azure AD Joined windows devices
- Do not target the policy at user accounts
The policy settings that I used are attached.
After a great deal of experimentation and a blog post from Per Larson; I tracked down the cause of the issue.
The encryption section of the EndPoint Protection policy does not correctly apply to AAD Joined devices capable of HSTI if the policy is set to Encrypt Device: Require.
I was able to successfully encrypt a device during AutoPilot with AES 256 under the following circumstances.
- Create a brand new Endpoint Protection policy (Important!)
- Apply the encryption settings that you want to set
- Make sure the Encrypt Device setting is set to Not Configured
- Apply the policy to a group containing Azure AD Joined windows devices
- Do not target the policy at user accounts
The policy settings that I used are attached.
Andrew Matthews Hi Andrew, quick question you have two policies attached. I would like to know how you are assigning each policy. I gather the first one is to an autopilot group that only contains devices and these settings will be applied during the OOBE/Autopilot process (Enrolment Status page). How are you applying the second policy is it to the same group and also is the does the second policy exclude the settings you have in the first ? Are you applying both policies to the same autopilot group but the settings cannot be combined in a single profile ?
- Andrew MatthewsApr 30, 2019Iron Contributor
I found that most Device Restriction and Endpoint Protection settings can be applied to a user group but some settings have to be applied to a device group.
My current deployments apply BitLocker settings using a separate Endpoint Protection policy that is a assigned to an Azure AD group containing devices. I use the ZtdId trick to create a dynamic group that targets all AutoPilot devices.
- NateffromWellyMay 01, 2019Copper Contributor
Andrew Matthews Thanks for your quick reply Andrew. As per your Policy 1 image, I have the same settings applying to a Dynamic group and assigned to new devices for autopilot. I was curious as to how you are assigning your second policy with the additional encryption settings. Is this to a wider device or user group that would apply after the ESP page ?
I have a ticket logged with MS at the moment and been working on it for nearly a month and they too are struggling and acknowledged there is a bug with the ESP page and BitLocker for 1809.
- smukherjeeMay 30, 2021Copper ContributorHow to force user to set pre boot bitlocker pin for autopilot devices?