w10install/wim/remove-apps.cmd

14 lines
230 B
Batchfile
Raw Normal View History

2022-12-27 16:09:26 +01:00
@echo off
2022-12-28 18:52:04 +01:00
exit /b
2022-12-27 16:09:26 +01:00
set IMAGE=c:\TEMP\IMAGE
FOR /F %%P in (apps-to-remove.csv) do (
echo removing APPX package [ Microsoft.%%P ]
dism /Image:%IMAGE% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.%%P
)