Problem:
Trying to create a new Boot Image it fails with Error 39 Failed to create the WinPE boot image in directory: C:\Program Files (x86)\CA\DSM\Server\SDBS\var\ManagedPC\bttmp\winpe30
The log file TRC_USD_CREATEBTIMAGES_x.log shows the following errors:
copype failed with 255 , copype30.cmd "C:\Program Files (x86)\Windows Kits\8.0" "C:\Program Files (x86)
\CA\DSM\Server\SDBS\var\ManagedPC\bttmp\winpe30" ""
CreateBTImages returned error 39:
Failed to create the WinPE boot image in directory: C:\Program Files (x86)\CA\DSM\Server\SDBS\var\ManagedPC\bttmp\winpe30
Environment:
CA Client Automation - All Versions
Resolution:
The reason for the error is the wrong Windows Kit used.
Up to WinPE 3, the Windows Automated Installation Kit (Windows AIK) is used and from WinPE 4, the new Windows Assessment and Deployment Kit (Windows ADK) is used.
In this case, the new Windows Assessment and Deployment Kit (Windows ADK) has been used to build a WinPE 3 Boot Image but as it expected to use Windows Automated Installation Kit (Windows AIK), it failed.
By default, when selecting a WinPE 3 image, the source of the Windows Kit is set to the right one but if updated to use ADK, this error will appear.
Point to the right Windows Automated Installation Kit (Windows AIK) directory that is usually C:\Program Files (x86)\Windows AIK will allow the WinPE 3 image to be created with the right files.