added remove-apps again...

This commit is contained in:
Michael H.G. Schmidt 2022-12-27 16:09:26 +01:00
parent b8f69f89dc
commit 29592ca619
3 changed files with 57 additions and 0 deletions

View File

@ -21,6 +21,7 @@ rem start scripts
for %%S in (
mount-image.cmd
remove-apps.cmd
finish-image.cmd
) do (

37
wim/apps-to-remove.csv Normal file
View File

@ -0,0 +1,37 @@
549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
MicrosoftEdge.Stable_84.0.522.52_neutral__8wekyb3d8bbwe
MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
1 549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
2 BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
3 DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
4 GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
5 Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
6 HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
7 Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
8 MicrosoftEdge.Stable_84.0.522.52_neutral__8wekyb3d8bbwe
9 MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
10 MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
11 MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
12 MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
13 MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
14 Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
15 People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
16 ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
17 SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
18 VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
19 Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
20 WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
21 WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
22 Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
23 WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
24 WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
25 windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
26 WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
27 WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
28 WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
29 Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
30 XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
31 XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
32 XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
33 XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
34 XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
35 YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
36 ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
37 ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe

19
wim/remove-apps.cmd Normal file
View File

@ -0,0 +1,19 @@
@echo off
set IMAGE=c:\TEMP\IMAGE
echo exporting APPS list BEFORE doing any changes ...
dism /Image:%IMAGE% /Get-ProvisionedAppxPackages 1>Apps-BEFORE.txt
FOR /F %%P in (apps-to-remove.csv) do (
echo removing APPX package [ Microsoft.%%P ]
dism /Image:%IMAGE% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.%%P
)
echo exporting remaining APPS list ...
dism /Image:%IMAGE% /Get-ProvisionedAppxPackages 1>Apps-AFTER.txt
rem showing packages ...
dir Apps*.txt