Windows 10 install.wim Offline Edit Personal Use

Discussion in 'Windows 10' started by petok, Aug 9, 2015.

  1. petok

    petok MDL Member

    May 4, 2009
    183
    58
    10
    #1 petok, Aug 9, 2015
    Last edited by a moderator: Apr 20, 2017
    Hello I make this for own use if know more setting please write in this Thread
    Windows 10 install.wim first get info and choice index 1
    Code:
    Dism /Get-ImageInfo /ImageFile:C:\WIM\install.wim
    Index : 1
    Name : Windows 10 Pro
    Description : Windows 10 Pro
    Size : 13.736.528.128 bytes
    Then make this
    Code:
    Dism /Mount-Image /ImageFile:C:\WIM\install.wim /Name:"Windows 10 Pro" /MountDir:C:\WIM\mount
    next
    ProvisionedAppxPack some removed need if know who other remove
    Code:
    Dism /Image:C:\WIM\mount /Get-ProvisionedAppxPackages >C:\ProvisionedAppxPack.txt
    
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.3DBuilder_2015.624.2254.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingFinance_10004.3.193.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_10004.3.193.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingSports_10004.3.193.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_10004.3.193.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2015.4218.23751.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_2015.4201.10091.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2015.627.626.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_3.2.1.0_neutral_~_kzf8qxf38zg5c
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2015.618.1921.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2015.619.10.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2015.612.1501.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2015.619.213.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsPhone_2015.620.10.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_2015.617.130.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.6.10841.0_neutral_~_8wekyb3d8bbwe
    DISM /Image:C:\WIM\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.6.10811.0_neutral_~_8wekyb3d8bbwe
    and last remove this
    Code:
    Dism /Format:Table /Image:C:\WIM\mount /Get-Packages >C:\package.txt
    
    Dism /Image:C:\WIM\mount /Remove-Package /PackageName:Microsoft-Windows-DiagTrack-Internal-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    DISM /Image:C:\WIM\mount /Remove-Package /PackageName:Microsoft-Windows-Prerelease-Client-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384
    DISM /Image:C:\WIM\mount /Remove-Package /PackageName:Microsoft-Windows-Prerelease-Client-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    DISM /Image:C:\WIM\mount /Remove-Package /PackageName:Microsoft-Windows-RetailDemo-OfflineContent-Content-en-us-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    DISM /Image:C:\WIM\mount /Remove-Package /PackageName:Microsoft-Windows-RetailDemo-OfflineContent-Content-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    and final unmount is need optimize before close image ???
    Code:
    Dism /Unmount-Image /MountDir:C:\WIM\mount /Commit
     
  2. rubab

    rubab MDL Novice

    Oct 31, 2009
    15
    2
    0
    #2 rubab, Aug 21, 2015
    Last edited by a moderator: Apr 20, 2017
    Yes, you need to first Commit and then Unmount the image.