Backup Bitlocker Recovery Key during OSD Task Sequence

jaybird283 561 Reputation points
2021-06-10T20:00:48.573+00:00

I have been trying to get an OSD task sequence setup for imaging PC's, enable bitlocker, and backup recovery key to Config Manager, i followed the instructions to run Invoke-MbamClientDeployment.ps1 to do this. but it seems to fail a lot. i tried disabling auto root certificate updates and that helped a little bit but that script still seems unreliable. is there a newer way of backing up the recovery info? maybe something built into newer versions of MEMCM? seems like an out dated process and something that should be integrated.

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
920 questions
0 comments No comments
{count} votes

Accepted answer
  1. Frank Rojas 116 Reputation points Microsoft Employee
    2021-06-25T20:17:08.747+00:00

    DO NOT use the Invoke-MbamClientDeployment.ps1 script with ConfigMgr BitLocker Management. This script is not supported for use with either versions of ConfigMgr newer than 1902 or with ConfigMgr BitLocker Management. Using this script with ConfigMgr 2103 or newer will in fact cause major issues. Regarding enabling BitLocker during a task sequence, simply use the out of box Pre-provision BitLocker and Enable BitLocker tasks. Regarding escrowing keys during the task sequence, this feature is not currently available in the product, but it also is not really needed. For versions of ConfigMgr prior to 2103 that have BitLocker Management, the key will escrow after the task sequence is done, the client registers, and a user logs in locally, assuming a BitLocker Management policy is deployed to the device. For ConfigMgr 2103 or newer the key will escrow after the task sequence is done and the client registers, again assuming a BitLocker Management policy is deployed to the device. A user does not have to log into the device for the key to escrow in ConfigMgr 2103 or newer.

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. HanyunZhu-MSFT 1,841 Reputation points
    2021-06-11T08:09:39.447+00:00

    Hi @jaybird283 ,

    Thank you for posting in Microsoft Q&A forum.

    You have done some steps for troubleshooting and have excluded some possibilities for our next work.
    For further reference, could you share the smsts.log with the sensitive information to review? Maybe we can find the problem that caused the script to fail.

    And I found an article that describes the task sequence deployment of MBAM client in detail, we may use this as a reference:
    https://msendpointmgr.com/2020/04/02/goodbye-mbam-bitlocker-management-in-configuration-manager-part-3/
    Note: This is not from MS, just for your reference.


    If the response is helpful, please click "Accept Answer"and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. jaybird283 561 Reputation points
    2021-06-11T22:23:14.707+00:00

    Thanks for your response. I actually followed that link you shared when I set up my task sequence. Here is the relevant section of the SMSTS.log.

    104907-image.png

    0 comments No comments

  3. jaybird283 561 Reputation points
    2021-06-26T05:10:46.377+00:00

    @Frank Rojas this is great info. Thanks for sharing. Do you have any suggestions on applying a bitlocker policy to ONLY new machines (as soon as they come up)?

    0 comments No comments

  4. Frank Rojas 116 Reputation points Microsoft Employee
    2021-07-01T19:35:53.073+00:00

    Why would you only want to do new machines?

    0 comments No comments