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?
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 workGet-AppxProvisionedPackage -Online
andGet-AppXProvisionedPackage -Path c:\mount
,there is no
Get-ProvisionedAppxPackages
cmdlet, andGet-ProvisionedAppxPackage
requires parameters but does not acceptGet-ProvisionedAppxPackage -Path c:\mount
andGet-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?