SCCM windows 11 image fails --Windows 11 Image Capture Fails for a WIN 11 based Hyper- V Machine - Using Endpoint Config Manager Capture Media ISO

Mohammed Azad Sofi 1 Reputation point
2021-11-17T09:18:47.883+00:00

I am trying to capture windows 11 ISO image

I am using a windows 11 VM Based on Hyper V.
while running the image capture wizard received the get the error as below

Task Sequence: Image Capture Wizard has failed with the error code (0x00004005). the same file works for windows 10 VM.

Tried so far.

https://www.sccm.ie/how-to/13-task-sequence-image-capture-wizard-has-failed-with-the-error-code-0x00004005

https://learn.microsoft.com/en-us/answers/questions/580069/unable-to-capture-windows-11-using-endpoint-config.html

Task Sequence: Image Capture Wizard has failed with the error code (0x00004005) (sccm.ie)

150109-win11.jpg

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,164 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Eddie 1 Reputation point
    2022-06-08T14:28:36.567+00:00

    Run the following under Powershell as Admin to remove all the extra preinstalled AppxPackages that cause this error.

    Get-AppxPackage AV1VideoExtension | Remove-AppxPackage
    Get-AppxPackage BingNews | Remove-AppxPackage
    Get-AppxPackage BingWeather | Remove-AppxPackage
    Get-AppxPackage WebpImageExtension | Remove-AppxPackage
    Get-AppxPackage HEIFImageExtension | Remove-AppxPackage
    Get-AppxPackage ZuneMusic | Remove-AppxPackage
    Get-AppxPackage ZuneVideo | Remove-AppxPackage
    Get-AppxPackage MicrosoftOfficeHub | Remove-AppxPackage
    Get-AppxPackage WindowsMaps | Remove-AppxPackage
    Get-AppxPackage GetHelp | Remove-AppxPackage
    Get-AppxPackage WindowsSoundRecorder | Remove-AppxPackage
    Get-AppxPackage MicrosoftStickyNotes | Remove-AppxPackage
    Get-AppxPackage PowerAutomateDesktop | Remove-AppxPackage
    Get-AppxPackage Xbox | Remove-AppxPackage
    Get-AppxPackage WindowsFeedbackHub | Remove-AppxPackage
    Get-AppxPackage Todos | Remove-AppxPackage
    Get-AppxPackage WindowsAlarms | Remove-AppxPackage
    Get-AppxPackage YourPhone | Remove-AppxPackage
    Get-AppxPackage SpotifyAB.SpotifyMusic | Remove-AppxPackage
    Get-AppxPackage ScreenSketch | Remove-AppxPackage
    Get-AppxPackage MicrosoftSolitaireCollection | Remove-AppxPackage
    Get-AppxPackage Windows.Photos | Remove-AppxPackage
    Get-AppxPackage OneDriveSync | Remove-AppxPackage
    Get-AppxPackage SkypeApp | Remove-AppxPackage
    Get-AppxPackage GamingApp | Remove-AppxPackage
    Get-AppxPackage Microsoft.549981C3F5F10 | Remove-AppxPackage

    0 comments No comments

  2. Matthew Lemire 1 Reputation point
    2022-08-08T18:19:44.973+00:00

    Had the same issue. Eddie has right answer. Instead of doing each app though, I simplified it using

    get-appxpackage | remove-appxpackage

    This ran the cmd for all apps.

    0 comments No comments