.
This commit is contained in:
parent
ed3778c4fa
commit
3fc6dd7972
@ -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%
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user