OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
191 stars 54 forks source link

Possible issue with RemoveAppX on Windows 11 Volume License ISO #65

Open Cwlamb opened 2 years ago

Cwlamb commented 2 years ago

There seems to be an issue when using -RemoveAppx during OSBuild process and Windows 11 ISO from Volume Licensing site,

I am able to complete the OSBuild process without issues. However, if I use the resulting WIM file on any of my test machines, there is a problem launching several of the built-in apps - Notepad, Paint, Snip & Sketch, Snipping Tool specifically. I believe these are new versions for Windows 11 so this could be part of the issue.

If I run the OSBuild process with the same media but do not remove any of the Appx apps, all of the built in apps launch without any problems - including the 4 mentioned previously.

Doesn't appear to be any difference in how many Apps are removed. I have tested it with a single app removed and with multiple apps selected to remove. If you do not remove anything then everything tests just fine.

tocks53 commented 2 years ago

hello, i have the same problem

KdrUnal commented 2 years ago

after modifying the wim file, I installed "Microsoft.VCLibs.x64.14.00.Desktop.appx" to offline wim file with dism command.

Code like that; Dism /Image:$mountpath /Add-ProvisionedAppxPackage /packagepath:"D:\Microsoft.VCLibs.x64.14.00.Desktop.appx" /skiplicense | Out-Null

The file url : https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx

it worked for me.