Error adding KB4516077 to offline image.

Steel Contributor

I need to add the latest cumulative update KB4516077 to my Windows 1809 image, but it throws an error.

I did add the required servicing stack KB4516077 update before that successfully.

 

Those are the commands I used:

 

 

> Add-WindowsPackage -PackagePath "C:\Users\daniel\Downloads\windows10.0-kb4512577-x64_5b2f60d7e81ff707394fc99706178409ad5a4bd5.msu" -Path 'C:\Temp\Windows 10 Pro 1809 English\'


Path          : C:\Temp\Windows 10 Pro 1809 English\
Online        : False
RestartNeeded : False


> Add-WindowsPackage -PackagePath "C:\Users\daniel\Downloads\windows10.0-kb4516077-x64_6486672a9e3e90c5aeee38383c658b0d9d1a57e9.msu" -Path 'C:\Temp\Windows 10 Pro 1809 English\' -LogPath C:\temp\msu.log
WARNING: Failed to add package C:\Users\daniel\Downloads\windows10.0-kb4516077-x64_6486672a9e3e90c5aeee38383c658b0d9d1a57e9.msu
WARNING: Add-WindowsPackage failed. Error code = 0x800710fe
Add-WindowsPackage : An error occurred applying the Unattend.xml file from the .msu package.
For more information, review the log file.
At line:1 char:1
+ Add-WindowsPackage -PackagePath "C:\Users\daniel\Downloads\windows1 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-WindowsPackage], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsPackageCommand

 

 

This is part of the log file that throws the errors: https://gist.github.com/Borkason/9635460250d20bb83e68366b3afee489

 

I can't upload the complete logs, because they are too big for gist.github.com.

 

Any advice?

1 Reply

@Daniel Niccoli 

 

I see that this an old post and I hope you do not see this issue anymore.

But today I got the same issue and would like to share you and others what I did.

 

I first got the exact same error message. I also notice that the import took forever before getting the error message. So I excluded the mount folder of the offline image, from Defender Antivirus and tried again. Now the import of the update goes allot quicker and without any errors.

 

In my case it happed with Windows 11 22H2.

 

Hope this helps.