.
This commit is contained in:
parent
ed3778c4fa
commit
3fc6dd7972
@ -1,10 +1,10 @@
|
||||
@echo off
|
||||
set SOURCES=c:\TEMP\W10\sources
|
||||
set MNT=c:\TEMP\WIM
|
||||
|
||||
echo creating wim mountpoint ...
|
||||
mkdir %MNT% 1>nul 2>nul
|
||||
|
||||
echo mounting install.wim to %MNT% ...
|
||||
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT%
|
||||
|
||||
@echo off
|
||||
set SOURCES=c:\TEMP\W10\sources
|
||||
set MNT=c:\TEMP\WIM
|
||||
|
||||
echo creating wim mountpoint ...
|
||||
mkdir %MNT% 1>nul 2>nul
|
||||
|
||||
echo mounting install.wim to %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.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.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
|
||||
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
|
||||
|
||||
@echo off
|
||||
|
||||
|
@ -165,8 +165,6 @@ for %%P in (
|
||||
Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature
|
||||
Microsoft-Windows-Xps
|
||||
Microsoft-Xbox
|
||||
microsoft-onecore-applicationmodel
|
||||
Microsoft-OneCore-ApplicationModel
|
||||
Microsoft-OneCore-IsolatedUserMode
|
||||
Microsoft-OneCore-Multimedia-CastingCommon
|
||||
Microsoft-OneCore-Multimedia-CastingReceiver
|
||||
|
@ -1,10 +1,10 @@
|
||||
@echo off
|
||||
set SOURCES=c:\TEMP\W10\sources
|
||||
set MNT=c:\TEMP\WIM
|
||||
|
||||
echo unmounting wim and discarding changes ...
|
||||
dism /Unmount-Wim /MountDir:%MNT% /Discard
|
||||
|
||||
echo cleaning up ...
|
||||
dism /Cleanup-Wim
|
||||
|
||||
@echo off
|
||||
set SOURCES=c:\TEMP\W10\sources
|
||||
set MNT=c:\TEMP\WIM
|
||||
|
||||
echo unmounting wim and discarding changes ...
|
||||
dism /Unmount-Wim /MountDir:%MNT% /Discard
|
||||
|
||||
echo cleaning up ...
|
||||
dism /Cleanup-Wim
|
||||
|
Loading…
Reference in New Issue
Block a user