Showing posts with label MDT Boot Image. Show all posts
Showing posts with label MDT Boot Image. Show all posts

Friday 30 September 2022

Solved: Error when creating MDT Boot Image - "Failed to make a copy of the source WIM file due to error 5"

Error window while creating MDT Boot Image:



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\pj360i\AppData\Local\Temp\2\edrtn4z4.luu
Unmounting WIM.
Copying WIM to the package source directory.
Creating boot image package. Error while importing Microsoft Deployment Toolkit Task Sequence. 
Failed to make a copy of the source WIM file due to error 5

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)



Solution:

I was using Package Source as a remote network directory that is specifically used for OSD related packages, but it was throwing me errors. It was due to permission difficulties, as you can see from the error message - "Failed to make a copy of the source WIM file due to error 5";  To overcome this, utilise the Configuration Manager OSD Boot default folder, which is "\\<ConfigMgr Server>\SMS (SiteCode)\OSD\boot" - created a new folder within the boot folder called MDT (any name would do) and reran the MDT Boot Image creation; it worked perfectly.




FREE Cybersecurity Certifications

Here's 15 FREE courses provided by the Qualys. The cybersecurity firm Qualys focuses on providing cloud-based security and compliance so...