tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Removing applications via Get-ProvisionedAppxPackage does not work

Open 40OIL opened this issue 8 months ago • 0 comments

I downloaded the Windows11 InsiderPreview x64 26100 image. The script ran on Windows 11 Pro 22H2, OS Build 22621.1105 The image was rebuilt, recorded in ISO and installed normally, but the Weather, Teams, YourPhone, Xbox and other applications remained in it, a total of 32 applications and 7 system components.

I started to figure it out - in 22H2 Get-AppXProvisionedPackage requires parameters; but it doesn't work Get-AppxProvisionedPackage -Online and Get-AppXProvisionedPackage -Path c:\mount,

there is no Get-ProvisionedAppxPackages cmdlet, and Get-ProvisionedAppxPackage requires parameters but does not accept Get-ProvisionedAppxPackage -Path c:\mount and Get-ProvisionedAppxPackage -online

Get-AppxPackage works without parameters (the -Path c:\mount parameter is not accepted), but it also displays the packages of the Windows in which I run it, and not the mounted wim?

How can I properly remove Appx applications from a mounted wim?

40OIL avatar Jun 13 '24 12:06 40OIL