OSDeploy / OSD

OSD Shared Functions
MIT License
144 stars 59 forks source link

Failed to add package #29

Closed smarbar closed 2 years ago

smarbar commented 2 years ago

When creating a new OSDCloud template with WinRE I am getting a lot of failed to add package errors with code 0x800f081e. This seems to mean that the package is not applicable to the image but when I try to boot from the USB image created from this template it doesn't launch into PowerShell and says PowerShell is not recognized (One of the errors is for PowerShell)

IMG_0489

I have tried creating it with Windows 10 on a physical device as well as a VM but both have the same issue.

If I create one without the WinRE switch, everything works as expected but would really like to get the WiFi working.

OSDeploy commented 2 years ago

This error happens when ADK doesn't match the WIM OS you are servicing. So if you are using the Windows 11 ADK, your computer needs to be on Windows 11 to use WinRE. If you are on Windows 10, you need the Windows 10 ADK installed to service your WinRE as that is Windows 10 based. Error Code shows it is not applicable.

smarbar commented 2 years ago

thanks, installed the adk for Win 10 2004 and all works now