Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Create Bitlocker partition during OSD

Posted on March 6, 2011March 9, 2011 by Jörgen Nilsson

I have answered this question many times now on the Technet forum so I think it is time to write about it here as well.
When installing Windows 7 from the DVD manually the partition needed for Bitlocker is created automatically, when deploying a captured image using SCCM however this has to be created manually.
The easiest way to create the partition required by Bitlocker during OS Deployment is to use the following command in the task sequence.

“BdeHdCfg -target default -quiet”

bitlocker

It will shrink the System partition and create the partition needed for bitlocker. This command must be run when the Windows 7 is installed.
It can also be run after OSD if the decision to use Bitlocker in the organisation is taken after the deployment and roll out of Windows 7 is complete.

If you are deploying Windows 7 X64 the “Disable 64-bit file system redirection” must be checked otherwise it will not work.

A reboot is required after the command is executed to complete the creation process.

5 thoughts on “Create Bitlocker partition during OSD”

  1. Aaron says:
    July 22, 2011 at 8:51 pm

    I’m thinking of using this idea for a group of machines, but had a quick question.

    I originally setup my task sequence following many other posts which all had the same info as the following: (http://blogs.technet.com/b/pauljones/archive/2010/03/08/how-to-enable-bitlocker-with-sccm-osd.aspx in particular)

    For some reason, two machines that I installed (they were fresh out the box from Dell) received this successfully, however, once I threw some older machines on I’m now having issues with logical drive letters being assigned to the correct partition. During my sequence, it partitions the first part, calls it C:\, then partitions the second part, and calls it D:\ then puts the OS on D:!!!
    Any ideas why this may be happening?

    Reply
  2. Jörgen Nilsson says:
    July 25, 2011 at 9:46 am

    Hi,
    Are the machines you reinstall installed with the OEM installation from Dell? The problem you are having is probably due to the OEM installlation and the partitions it uses. If you test my method in the blogpost it should work just fine for you. Firts removing the partition and then creating it again..

    /Jörgen

    Reply
  3. Pingback: Failed to open unattend.xml (0×80070003) error « ConfigMgr in the real world
  4. Chris says:
    September 30, 2013 at 4:13 pm

    hello
    i tried the computer on my existing laptop but it does not work. it still tell me that Bitlocker setup could not finda target system drive. you may need to manually prepare you drive for Bitlocker. can you advise

    Reply
    1. Jörgen Nilsson says:
      September 30, 2013 at 4:32 pm

      Hi Chris,
      Did you have the Power adapter connected? BDEHDCFG will not run when on battery.
      Regards,
      Jörgen

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Tweets by ccmexec

Recent Posts

  • Windows Servicing, Personal Teams and Success.cmd
  • Windows MDM Security Baseline – Settings Catalog
  • Configuring MS Edge Security Baseline v107 using Settings Catalog
  • Configuring Desktop App Installer using CSP and script?!
  • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT