Closed suazione closed 1 year ago
Can confirm this works.
I have been trying to modify the script for the workaround above to no avail, could you advise the change you made to get this to work please? Thanks!
I can also confirm this fix works build 22621.674
Update Update-CumulativeOS in AllFunctions.ps1 Error is caused by the function Test-WindowsPackageCAB used in the Update-CumulativeOS function. For some reason Get-WindowsPackage -PackagePath errors out on (only) W11 22H2. After the RPC error all subsequent DISM calls seem to fail. No idea why this happens on Win11 22H2 only. Updating Update-CumulativeOS to skip the Test-WindowsPackageCAB and setting it "manually" to CombinedMSU if OS is Win11 22H2 is a workaround. Subsequent Update-OSMedia and New-OSDBuild completes successfully after this change.