Jump to content


jcdown

Bitlocker Pre-provision on wipe and reload

Recommended Posts

Trying to figure out if it's possible to get the Bitlocker pre-provision task sequence step to run on a wipe and reload scenario.

-Going Win7 (no encryption) to Win10 (encrypted)

-USMT is hardlinking inside WinPE

-Old Win7 OS (other than hardlinked files) are being wiped (like normal) on "Apply operating system" step 

Anyway to make this scenario work? 

Edited by jcdown

Share this post


Link to post
Share on other sites

FYI, this is error I'm seeing

BitLocker) in the group (Install Operating System) with the error code 2147500037
Action output: ... =====================
Command line: "OSDOfflineBitlocker.exe" /enable /ignoretpm:True
Initialized COM
Command line for extension .exe is "%1" %*
Set command line: "OSDOfflineBitlocker.exe" /enable /ignoretpm:True


Target drive, disk index and partition index are not specified. We should use current system partition.


Initializing TPM...

Tpm is enabled

Tpm is activated

Tpm is owned

Tpm ownership is allowed

Tpm has compatible SRK
Tpm has EK pair

Initial TPM state: 63


Searching for next available system volume:
  
Volume C: is the boot volume.
  
Volume X: is not a local hard drive.

it != arrVolumes.end(), 
HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\offlinebitlocker\main.cpp,256)
GetNextAvailableVolume(argInfo.sDrive), 
HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\offlinebitlocker\main.cpp,297)
ResolveVolume(argInfo), 
HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\offlinebitlocker\main.cpp,435)
 There are no more volumes available for use.. The operating system reported error 2147500037: Unspecified error 

Share this post


Link to post
Share on other sites

Welp. I was able to get this resolved by using a diskpart /s script.txt (see script below). Unfortunately,  I'm getting a windows recovery screen on the first reboot,  no matter what I do in the wipe+reload w/ USMT hardlinks (even removing preprovision and making bitlocker drive creation + enable the last steps). It all completes successful, TPM is on, active... pre-cleared... and it still prompts recovery. 

 

select disk 0
list partition
select partition 1
active
shrink desired=550 minimum=550
create partition primary
format quick fs=ntfs label=Recovery
set id=27
select partition 2
active
list partition
exit

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.