Failed to insert OSD binaries into the WIM file

Failed to insert OSD binaries into the WIM file

I have seen this problem when trying to create a MDT task sequence or MDT boot image in System Center Configuration Manager 2012 SP1.

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:UsersLarsAppDataLocalTemp2crv0zctm.r3q

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)


The solution for me was to disable Mcafee Access protection, then everything worked as expected – sigh.


Table of Contents

Share this post
Search blog posts
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.
Modern Workplace consultant and a Microsoft MVP in Windows and Devices for IT.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Passionate IT professional with 20+ experience in IT architecture, consulting, and design. 

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

follow us in feedly

Follow on SoMe