'Failed to insert OSD binaries into the WIM file' error when you create a MDT Task Sequence or MDT Boot Image in ConfigMgr 2012

'Failed to insert OSD binaries into the WIM file' error when you create a MDT Task Sequence or MDT Boot Image in ConfigMgr 2012

When you trying to create a boot image using MDT (or select the 'create a new boot image package' option in 'Create MDT Task Sequence' wizard) you get the following error:

Started processing.
Creating boot image.
Copying WIM file.
Mounting WIM file.
WIM file mounted.
Setting Windows PE system root.
Set Windows PE system root.
Set Windows PE scratch space.
Adding standard components.
Adding component: winpe-mdac
Adding extra content from: C:\Users\A637C~1.ZHU\AppData\Local\Temp\wmquafaq.hbp
Unmounting WIM.
Copying WIM to the package source directory.
Creating boot image package.
Error while importing Microsoft Deployment Toolkit Task Sequence.

Failed to insert OSD binaries into the WIM file

Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException: The SMS Provider reported an error. ---> System.Management.ManagementException: Generic failure
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObject.Put(PutOptions options)
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
   --- End of inner exception stack trace ---
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
   at Microsoft.BDD.Wizards.SCCM_ImportTaskSequenceTask.DoWork(SmsPageData smspageData, Dictionary`2 data)

1. You need to add a Read permission for a SYSTEM account to the file://siteserver/SMS_%3CSite-Code%3E/OSD/bin/ (both, share and NTFS permissions).
2. Check also if you are trying to insert only network drivers. Remove all other Drivers from the "insert list".
3. Check if there is enough space on SQL HDDs or LUNs.

Leave a Comment
  • Please add 7 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
  • Hi, i am having exactly this Problem, but Share and NTFS permissions are alright for the System Account. Any other idea what might cause this issue? It's a fresh default Installation ... thank you.

  • I got exactly the same failure. Updateing service point or reinstalling WAIK does NOT WORK. Updateing permissions (like you have written here) does not work, too.

  • I was able to resolve this error by eliminating excess drivers. Following the Quick Start Guide for Microsoft System Center 2012 Configuration Manager I was led to believe that I needed to add all drivers for the reference machine. I tried using only the x64 drivers needed for the target machine and was able to successfully update my WIM file. Eliminate all additional drivers (GPU/CPU etc) and you should be able to create this. Also, the system account had proper file permissions the entire time. Hope this helps someone.

  • I was able to solve this issue, too. But in my case it was an failure on the SCCM referenced SQL Server. The local SQL-Server HDD was full. Reinstalling "WAIK for Windows 7" on SCCM PXE-Point later and trying again solve my problem. Hope that helps.

  • Hi, I am receiving the exact error while creating a boot image. I checked and applied all resolutions, but none have corrected the issue. I'm not trying to install any drivers at this time, just a custom default boot image. I have also tried reinstalling WAIK. Any other suggestions? Thanks.

  • Hi sd06, did you try to build custom boot.wim for MDT or SystemCenter 2012? To solve your problem a bit faster please open new question in technet forums in reference to this wiki-article.

Page 1 of 1 (6 items)