Batch file
:mount
echo Mounting WIM…
dism /mount-wim /wimfile:D:\WIM\install.wim /index:2 /mountdir:D:\mount
pause
:commit
echo Prepare for commit…
pause
dism /unmount-wim /mountdir:D:\mount /commit
pause
PowerShell
get-appxprovisionedpackage -path D:\mount
Remove using
dism /image:D:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingWeather_4.21.2492.0_neutral_~_8wekyb3d8bbwe
Apps and IDs
DisplayName : Microsoft.BingWeather
Version : 4.21.2492.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.BingWeather_4.21.2492.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.DesktopAppInstaller
Version : 1.8.4001.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.DesktopAppInstaller_1.8.4001.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.GetHelp
Version : 10.1706.1811.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.GetHelp_10.1706.1811.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Getstarted
Version : 5.11.1641.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Getstarted_5.11.1641.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Microsoft3DViewer
Version : 1.1707.26019.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Microsoft3DViewer_1.1707.26019.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.MicrosoftOfficeHub
Version : 2017.715.118.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.MicrosoftOfficeHub_2017.715.118.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.MicrosoftSolitaireCollection
Version : 3.17.8162.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.MicrosoftSolitaireCollection_3.17.8162.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.MicrosoftStickyNotes
Version : 1.8.2.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.MicrosoftStickyNotes_1.8.2.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.MSPaint
Version : 2.1709.4027.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.MSPaint_2.1709.4027.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Office.OneNote
Version : 2015.8366.57611.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Office.OneNote_2015.8366.57611.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.OneConnect
Version : 3.1708.2224.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.OneConnect_3.1708.2224.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.People
Version : 2017.823.2207.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.People_2017.823.2207.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Print3D
Version : 1.0.2422.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Print3D_1.0.2422.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.StorePurchaseApp
Version : 11706.1707.7104.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.StorePurchaseApp_11706.1707.7104.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Wallet
Version : 1.0.16328.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Wallet_1.0.16328.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.Windows.Photos
Version : 2017.37071.16410.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.Windows.Photos_2017.37071.16410.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsAlarms
Version : 2017.828.2050.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsAlarms_2017.828.2050.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsCalculator
Version : 2017.828.2012.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsCalculator_2017.828.2012.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsCamera
Version : 2017.727.20.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsCamera_2017.727.20.0_neutral_~_8wekyb3d8bbwe
DisplayName : microsoft.windowscommunicationsapps
Version : 2015.8241.41275.0
Architecture : neutral
ResourceId : ~
PackageName : microsoft.windowscommunicationsapps_2015.8241.41275.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsFeedbackHub
Version : 1.1705.2121.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsFeedbackHub_1.1705.2121.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsMaps
Version : 2017.814.2249.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsMaps_2017.814.2249.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.WindowsStore
Version : 11706.1002.94.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.WindowsStore_11706.1002.94.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.XboxApp
Version : 31.32.16002.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.XboxApp_31.32.16002.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.XboxGameOverlay
Version : 1.20.25002.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.XboxGameOverlay_1.20.25002.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.XboxIdentityProvider
Version : 2017.605.1240.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.XboxIdentityProvider_2017.605.1240.0_neutral_~_8wekyb3d8bbwe
DisplayName : Microsoft.XboxSpeechToTextOverlay
Version : 1.17.29001.0
Architecture : neutral
ResourceId : ~
PackageName : Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe