Drivers fail to inject into the WinPE environment

book

Article ID: 159013

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

Drivers fail to inject into the wim on when creating preboot operating configurations on x86 site servers

Several message similar to the following will show in Bootwiz.log:

2016/09/24 10:39:47 I: ...............<misc::RunCommand - failed to launch - returning 549 (BDC_ERR_CREATE_PROCESS)
2016/09/24 10:39:47 I: ..............-CPlatformWinPe2::WimInsertDriver - command '"D:\Altiris Agent\Agents\Deployment\SBS\Bootwiz\{374E1C49-4F58-4f5c-8D51-07A30F0D44AD}\Cache\waik\Tools\amd64\servicing\dism" /image="C:\Windows\Temp\~bootwiz\000039b4\image" /Add-Driver /Driver:"C:\Windows\TEMP\~bootwiz\000039b4\image\Drivers\e1y51x64\e1y51x64.inf"' returned 549 (BDC_ERR_CREATE_PROCESS) with exitcode 0
2016/09/24 10:39:47 I: ..............<CPlatformWinPe2::WimInsertDriver - returning 602 (BDC_ERR_WIM_INSERT_DRIVER)

*Default location of bootwiz.log is \program files\Altiris Agent\Agents\Deployment\SBS\Bootwiz\{374E1C49-4F58-4F5C-8D51-07A30F0D44AD}\cache\bootwiz

Cause

The x86 site servers were using the x64 version of DISM.exe

Environment

DS 7.5 GA to DS 7.5 SP1 HF5

Resolution

This issue has been resolved in the DS 7.5 SP1 post HF5 cumulative pointfixes.  Update Deployment Solution to 7.5 SP1 HF5 and then apply all the updates per instructions available in TECH233459

 

Previous Workaround:

  1. On the NS go to ‘C:\Program Files\Altiris\Deployment\BDC\bootwiz\Platforms’
  2. Open up ‘winpex64.ini’ and ‘winpex86.ini’
  3. Find the five lines listed below


LIST_PKGS="%1!s!\dism" /image="%2!s!" /Get-Packages
INSERT_PKG="%1!s!\dism" /image="%3!s!" /Add-Package /PackagePath:"%2!s!"
IMPORT_PKG="%1!s!\dism" /image="%3!s!" /Get-PackageInfo /PackagePath:"%2!s!"
INSERT_DRIVER="%1!s!\dism" /image="%3!s!" /Add-Driver /Driver:"%2!s!"
SET_RAMDRIVE_SIZE="%1!s!\dism" /image="%3!s!" /Set-ScratchSpace=%2!d!

Change them to:

LIST_PKGS="..\x86\dism" /image="%2!s!" /Get-Packages
INSERT_PKG="..\x86\dism" /image="%3!s!" /Add-Package /PackagePath:"%2!s!"
IMPORT_PKG="..\x86\dism" /image="%3!s!" /Get-PackageInfo /PackagePath:"%2!s!"
INSERT_DRIVER="..\x86\dism" /image="%3!s!" /Add-Driver /Driver:"%2!s!"
SET_RAMDRIVE_SIZE="..\x86\dism" /image="%3!s!" /Set-ScratchSpace=%2!d!

  1. Let package replication occur or click update distribution points for the BDC package in the console at Settings > All settings > Deployment and Migration > Packages.
  2. INIs will be modified on the Site servers.