none
Cannot create image, OSCDIMG failed, rc=1 RRS feed

  • Question

  • I am trying to create a custom media image using the MDT, but when I go to update the media content, I keep getting the same error, every time.  I have tried uninstalling MDT, reboot, reinstall; didn't work. Tried removing old media and creating new media. Re-made the custom source image, completely restored computer to prior to installing the whole media toolkit and everything; but still same error as below, the bold italicized and underlined part is where it errors out. Any and all help is very appreciated. Thanks everyone in advance!

    Starting MDT Media Update Opened the media deployment share. Folders to be copied to the media deployment share: 4 Copied: DS001:\Operating Systems\Custom Copied: DS001:\Out-of-Box Drivers\Windows 10 Copied: DS001:\Task Sequences\Windows 10\Deployment Copied: DS001:\Selection Profiles Copied: DS001:\Operating Systems\Custom with Replace option Copied: DS001:\Out-of-Box Drivers\Windows 10 with Replace option Copied: DS001:\Task Sequences\Windows 10\Deployment with Replace option Copied: DS001:\Selection Profiles with Replace option Copied standard folders. DISM was unable to set the system root (target path) for the Windows PE image, so the update process cannot continue. Boot images updated. Setting up x64 boot image. Boot configuration editing completed. Reset read-only attributes. Starting: "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\dism.exe" /image:"C:\Users\Training Support\AppData\Local\Temp\MDTUpdate.10780\Mount" /set-targetpath:X:\ > "C:\Users\Training Support\AppData\Local\Temp\PEManager.10780\PEManager.log" 2>&1 Exit code = 1 Starting: "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\oscdimg.exe" -u2 -udfver102 -m -o -h -w4 -yo"C:\Program Files\Microsoft Deployment Toolkit\Templates\BootOrder.txt" -bootdata:2#p0,e,b"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\etfsboot.com"#pEF,e,b"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\efisys.bin" "C:\Media\Content" "C:\Media\LiteTouchMedia.iso" > "C:\Users\Training Support\AppData\Local\Temp\PEManager.10780\PEManager.log" 2>&1 Exit code = 1 Starting: "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\dism.exe" /image:"C:\Users\Training Support\AppData\Local\Temp\MDTUpdate.10780\Mount" /set-targetpath:X:\ > "C:\Users\Training Support\AppData\Local\Temp\PEManager.10780\PEManager.log" 2>&1 Exit code = 1 Starting: "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\oscdimg.exe" -u2 -udfver102 -m -o -h -w4 -yo"C:\Program Files\Microsoft Deployment Toolkit\Templates\BootOrder.txt" -bootdata:2#p0,e,b"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\etfsboot.com"#pEF,e,b"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\OSCDIMG\efisys.bin" "C:\Media\Content" "C:\Media\LiteTouchMedia.iso" > "C:\Users\Training Support\AppData\Local\Temp\PEManager.10780\PEManager.log" 2>&1 Exit code = 1 System.Management.Automation.CmdletInvocationException: OSCDIMG failed, rc = 1. ---> System.Exception: OSCDIMG failed, rc = 1. at Microsoft.BDD.PSSnapIn.PEManager.CaptureIso(String sourceDir, String captureFile, Boolean supportUEFI) at Microsoft.BDD.PSSnapIn.GenerateMDTMedia.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at Microsoft.BDD.Wizards.GenerateMediaProgress.WizardProcessing() at Microsoft.BDD.Wizards.WizardProgress.InitiateWizardProcessing()

    Thursday, March 19, 2020 3:18 PM

All replies

  • Hello,

    Ensure you have enough space where you generating the media! Have you installed the WinPE Addons! As well Cross check the ADK Version.

    Friday, March 20, 2020 5:26 PM