This commit is contained in:
Michael H.G. Schmidt 2021-01-29 21:34:08 +01:00
parent ed3778c4fa
commit 3fc6dd7972
4 changed files with 22 additions and 22 deletions

View File

@ -1,10 +1,10 @@
@echo off @echo off
set SOURCES=c:\TEMP\W10\sources set SOURCES=c:\TEMP\W10\sources
set MNT=c:\TEMP\WIM set MNT=c:\TEMP\WIM
echo creating wim mountpoint ... echo creating wim mountpoint ...
mkdir %MNT% 1>nul 2>nul mkdir %MNT% 1>nul 2>nul
echo mounting install.wim to %MNT% ... echo mounting install.wim to %MNT% ...
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT% dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT%

View File

@ -44,6 +44,8 @@ dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpee
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
@echo off @echo off

View File

@ -165,8 +165,6 @@ for %%P in (
Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature
Microsoft-Windows-Xps Microsoft-Windows-Xps
Microsoft-Xbox Microsoft-Xbox
microsoft-onecore-applicationmodel
Microsoft-OneCore-ApplicationModel
Microsoft-OneCore-IsolatedUserMode Microsoft-OneCore-IsolatedUserMode
Microsoft-OneCore-Multimedia-CastingCommon Microsoft-OneCore-Multimedia-CastingCommon
Microsoft-OneCore-Multimedia-CastingReceiver Microsoft-OneCore-Multimedia-CastingReceiver

View File

@ -1,10 +1,10 @@
@echo off @echo off
set SOURCES=c:\TEMP\W10\sources set SOURCES=c:\TEMP\W10\sources
set MNT=c:\TEMP\WIM set MNT=c:\TEMP\WIM
echo unmounting wim and discarding changes ... echo unmounting wim and discarding changes ...
dism /Unmount-Wim /MountDir:%MNT% /Discard dism /Unmount-Wim /MountDir:%MNT% /Discard
echo cleaning up ... echo cleaning up ...
dism /Cleanup-Wim dism /Cleanup-Wim