Table of Contents
Windows 10 or Windows 11 ISO files downloaded from Microsoft will have descriptive names, depending upon the variant you downloaded. The file name depicts the language, version, build edition, and the bitness of the Operating System contained in the ISO.
If an ISO file name doesn’t contain a version and a build, it is hard to know which version of Windows is inside. Then it will be easier to mount the ISO file with a Windows installation image and get this information from the install.wim file.
In this article, we’ll show how to use DISM and PowerShell to find out which Windows images (versions, editions, builds, language pack) are stored in ISO.
Find Windows version, build, edition from ISO
To find the Windows version, build and edition from an ISO file or DVD, use these steps:
1️⃣ Right-click the ISO image and select Mount.
2️⃣ You will see a window with the contents of the virtual disk a Windows ISO image is mounted to. Open the Sources directory and find an installation file with a Windows image. The file is called install.* and may have one of the following extensions: install.wim, install.esd or install.swm
You can sort folder contents by Size to find it quicker. In our example, the file path is E:\sources\install.wim. You can take note or press and hold Shift key, right-click on the file and copy the path to the clipboard.
3️⃣ Start the either Command Prompt or PowerShell (Terminal) as administrator and run the following command (use the path from the clipboard as a file path):
DISM /Get-WimInfo /WimFile:"E:\sources\install.wim"
You will see a list of editions (Education, Home, Enterprise, Pro, etc.) available in this Windows ISO image. In our example, you can install 11 different Windows editions from this image. Each edition has an index you can use to get detailed information about the image.
PS C:\> DISM /Get-WimInfo /WimFile:"E:\sources\install.wim"
Deployment Image Servicing and Management tool
Version: 10.0.22621.1
Details for image : E:\sources\install.wim
Index : 1
Name : Windows 10 Home
Description : Windows 10 Home
Size : 15,098,360,792 bytes
Index : 2
Name : Windows 10 Home N
Description : Windows 10 Home N
Size : 14,326,729,982 bytes
Index : 3
Name : Windows 10 Home Single Language
Description : Windows 10 Home Single Language
Size : 15,101,147,257 bytes
Index : 4
Name : Windows 10 Education
Description : Windows 10 Education
Size : 15,438,612,142 bytes
Index : 5
Name : Windows 10 Education N
Description : Windows 10 Education N
Size : 14,676,047,995 bytes
Index : 6
Name : Windows 10 Pro
Description : Windows 10 Pro
Size : 15,435,570,649 bytes
Index : 7
Name : Windows 10 Pro N
Description : Windows 10 Pro N
Size : 14,673,174,575 bytes
Index : 8
Name : Windows 10 Pro Education
Description : Windows 10 Pro Education
Size : 15,438,550,560 bytes
Index : 9
Name : Windows 10 Pro Education N
Description : Windows 10 Pro Education N
Size : 14,675,985,513 bytes
Index : 10
Name : Windows 10 Pro for Workstations
Description : Windows 10 Pro for Workstations
Size : 15,438,581,351 bytes
Index : 11
Name : Windows 10 Pro N for Workstations
Description : Windows 10 Pro N for Workstations
Size : 14,676,016,754 bytes
The operation completed successfully.
4️⃣ To get information about the Windows version (build) and available languages in the WIM/ESD file in the image with the index 6, run the command below:
DISM /Get-WimInfo /WimFile:"E:\sources\install.wim" /index:6
In our example, we have found out that it is Windows 10 2006 Professional (Version: 10.0.19041) with an English (en-US) language pack available in the installation image under index 6.
Deployment Image Servicing and Management tool
Version: 10.0.22621.1
Details for image : E:\sources\install.wim
Index : 6
Name : Windows 10 Pro
Description : Windows 10 Pro
Size : 15,435,570,649 bytes
WIM Bootable : No
Architecture : x64
Hal : <undefined>
Version : 10.0.19041
ServicePack Build : 2006
ServicePack Level : 0
Edition : Professional
Installation : Client
ProductType : WinNT
ProductSuite : Terminal Server
System Root : WINDOWS
Directories : 27658
Files : 101498
Created : 9/8/2022 - 10:21:09 AM
Modified : 9/8/2022 - 11:08:25 AM
Languages :
en-US (Default)
The operation completed successfully.
PowerShell scripting
You can also get all information about Windows versions and editions in an ISO file using a simple PowerShell script. You just need to enter the path of you ISO image file, the script will do the rest.
irm bonguides.com/pw/gefw | iex
#Specify a path to the ISO file:
$imagePath = $(Write-Host -NoNewLine) + $(Write-Host "`n`rPath to the source ISO file: " -ForegroundColor Green -NoNewLine; Read-Host)
$imagePath = $imagePath.Trim('"')
#Mount the ISO image:
$Report = @()
Mount-DiskImage -ImagePath $imagePath | Out-Null
$iSOImage = Get-DiskImage -ImagePath $imagePath | Get-Volume
$iSODrive = "$([string]$iSOImage.DriveLetter):"
#Then get the information about Windows versions in install.wim or install.esd:
$winImages = Get-windowsimage -ImagePath "$iSODrive\sources\install.wim”
Foreach ($winImage in $winImages) {
$curImage=Get-WindowsImage -ImagePath "$iSODrive\sources\install.wim” -Index $WinImage.ImageIndex
$objImage = [PSCustomObject]@{
ImageIndex = $curImage.ImageIndex
ImageName = $curImage.ImageName
Version = $curImage.Version
Languages=$curImage.Languages
Architecture =$curImage.Architecture
}
$Report += $objImage
}
#Unmount the ISO image:
Dismount-DiskImage -ImagePath $imagePath | Out-Null
#You can display the result in the Out-GridView table:
$Report | Format-Table
#$Report | Out-GridView
Path to the source ISO file: "D:\images\Windows10.iso"
ImageIndex ImageName Version Languages Architecture
---------- --------- ------- --------- ------------
1 Windows 10 Home 10.0.19041.2006 {en-US} 9
2 Windows 10 Home N 10.0.19041.2006 {en-US} 9
3 Windows 10 Home Single Language 10.0.19041.2006 {en-US} 9
4 Windows 10 Education 10.0.19041.2006 {en-US} 9
5 Windows 10 Education N 10.0.19041.2006 {en-US} 9
6 Windows 10 Pro 10.0.19041.2006 {en-US} 9
7 Windows 10 Pro N 10.0.19041.2006 {en-US} 9
8 Windows 10 Pro Education 10.0.19041.2006 {en-US} 9
9 Windows 10 Pro Education N 10.0.19041.2006 {en-US} 9
10 Windows 10 Pro for Workstations 10.0.19041.2006 {en-US} 9
11 Windows 10 Pro N for Workstations 10.0.19041.2006 {en-US} 9x
Path to the source ISO file: "D:\images\Windows11.iso"
ImageIndex ImageName Version Languages Architecture
---------- --------- ------- --------- ------------
1 Windows 11 Home 10.0.22621.525 {en-US} 9
2 Windows 11 Home N 10.0.22621.525 {en-US} 9
3 Windows 11 Home Single Language 10.0.22621.525 {en-US} 9
4 Windows 11 Education 10.0.22621.525 {en-US} 9
5 Windows 11 Education N 10.0.22621.525 {en-US} 9
6 Windows 11 Pro 10.0.22621.525 {en-US} 9
7 Windows 11 Pro N 10.0.22621.525 {en-US} 9
8 Windows 11 Pro Education 10.0.22621.525 {en-US} 9
9 Windows 11 Pro Education N 10.0.22621.525 {en-US} 9
10 Windows 11 Pro for Workstations 10.0.22621.525 {en-US} 9
11 Windows 11 Pro N for Workstations 10.0.22621.525 {en-US} 9
Not a reader? Watch this related video tutorial: