Environment:
Cause:
Use the bcdboot command to initialize the drive with the boot environment files
Additional Information:
example modifications
rem ---- Unpack the ImageX image.
ECHO Restore "%$ImageXImage$%" using ImageX
format c: /FS:NTFS /X /Q /V:OSIM_VOL /Y
cmd /c "s:\dism.exe /apply-image /imagefile:"%$ImageXImage$%" /index:1 /ApplyDir:c:\ /Verify"
if not %errorlevel% == 0 (
echo Error from ImageX during restore of %$ImageXImage$%.wim
goto error )
bcdboot c:\windows
rem ---- Unpack the ImageX image.
ECHO Restore "%$ImageXImage$%" using ImageX
format c: /FS:NTFS /X /Q /V:OSIM_VOL /Y
cmd /c "s:\imagex.exe /apply "%$ImageXImage$%" 1 c:\ /verify"
if not %errorlevel% == 0 (
echo Error from ImageX during restore of %$ImageXImage$%.wim
goto error
)
bcdboot c:\windows
The deployment of UEFI enabled target is supported only with WINPE40x64 images.
NOTE:
For more information about deploying an OS to a UEFI enabled system, please see the documentation here:
https://docops.ca.com/ca-client-automation/14-0/en/administrating/os-installation-management-administration/osim-images-using-imagex/deploy-os-to-uefi-enabled-target