Wednesday, November 17, 2021

Extract Specific Edition Wim from Multiple Edition Wim

 Extract Specific Edition Wim from Multiple Edition Wim

  1. Mount the ISO, locate the drive and navigate to find the location of install.wim (drive:\sources\install.wim)

  2. Open PowerShell with elevated rights. Run the following command:

    Get-WindowsImage -ImagePath <drive:>\sources\install.wim

  3. We can see existing install.wim consists of following 10 Windows 10 versions:
    Windows 10 Education
    Windows 10 Education N
    Windows 10 Enterprise
    Windows 10 Enterprise N
    Windows 10 Pro
    Windows 10 Pro N
    Windows 10 Pro Education
    Windows 10 Pro Education N
    Windows 10 Pro for Workstations
    Windows 10 Pro N for Workstations

  4. Run following command to extract enterprise wim from multiple edition wim :

    Export-WindowsImage -SourceImagePath <drive:\sources\install.wim> -DestinationImagePath <drive:\folder\FileName.wim> -SourceIndex <#>


    Where -SourceImagePath is the location of original install.wim, -DestinationImagePath is where you want to save the new wim, -SourceIndex is the index number of Windows 10 version, in this case it is Enterprise edition.

    Example: Export-WindowsImage -SourceImagePath F:\sources\install.wim -DestinationImagePath C:\Win10_20H2\20H2Ent.wim -SourceIndex 3

No comments:

Post a Comment