Windows 10 ISO files downloaded from Microsoft will have descriptive names, such as
en_windows_10_pro_14393_x86_dvd.iso, 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.
Let’s assume you have a copy of the Windows ISO with a generic name such as
windows_10.iso (which doesn’t make any sense) obtained from a friend. To find the Windows version, build and edition from an ISO file or Windows Setup DVD, you can use the DISM tool.
Find Windows version, build, edition from ISO file
To find the Windows version, build and edition from an ISO file or DVD, use these steps:
- Mount the ISO file by double clicking on it. By default, Mount will be the default action for ISO files. If not, right-click on the file and choose “Mount” in the context menu.
- Double-click the drive letter of the mounted drive.
- Double-click the
- Sort folder contents by Name, and look for a file named
install.wimis missing, then you’ll have
- Open an elevated Command Prompt window, and then type the following command:
dism /Get-WimInfo /WimFile:F:\sources\install.wim /index:1
In the ISO file, if you have
install.wim, you’d type:
dism /Get-WimInfo /WimFile:F:\sources\install.esd /index:1
DISM can handle both these file formats (
.esd), at least in Windows 10.
Running DISM command on install.esd
You’ll see the following output:
Deployment Image Servicing and Management tool Version: 10.0.14393.0 Details for image : F:\sources\install.esd Index : 1 Name : Windows 10 Pro Description : Windows 10 Pro Size : 14,747,431,455 bytes WIM Bootable : No Architecture : x64 Hal : Version : 10.0.14393 ServicePack Build : 0 ServicePack Level : 0 Edition : Professional Installation : Client ProductType : WinNT ProductSuite : Terminal Server System Root : WINDOWS Directories : 19070 Files : 103878 Created : 7/16/2016 - 8:35:47 PM Modified : 8/3/2016 - 3:15:18 AM Languages : en-US (Default)
If you’re using Windows 7, running the above DISM command-line with the
.esdfile name parameter would throw the following error:An attempt was made to load a program with an incorrect format.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
In that case, you can pass
boot.wimas the parameter, as below:
dism /Get-WimInfo /WimFile:F:\sources\boot.wim /index:1
Which results in the following output:
Details for image : F:\sources\boot.wim Index : 1 Name : Microsoft Windows PE (x64) Description : Microsoft Windows PE (x64) Size : 1,501,424,835 bytes WIM Bootable : No Architecture : x64 Hal : Version : 10.0.14393 ServicePack Build : 0 ServicePack Level : 0 Edition : WindowsPE Installation : WindowsPE ProductType : WinNT ProductSuite : System Root : WINDOWS Directories : 3313 Files : 15074 Created : 7/16/2016 - 6:26:52 PM Modified : 8/3/2016 - 3:11:57 AM Languages : en-US (Default) The operation completed successfully.
Note that for Multi-arch ISO files that include both 32-bit and 64-bit versions of Windows, the
boot.wim, install.wim, install.esdfile path varies slightly. These files are located under their respective architecture folders.
That’s it! You’ve now obtained the maximum information about the Operating System included in an ISO file, such as the OS version, edition, Service Pack level, architecture.
DISM Get-WimInfo showing the wrong version?
Sometimes, the Windows 8 or 10 ISOs may have the wrong version info (header?) causing the above DISM command to show the wrong version or build.
I downloaded the Windows 20 20H2 ISO (20H2 Build starts with 19042.nnn) from Microsoft.
- Filename: Win10_20H2_English_x64.iso
- SHA-256: e793f3c94d075b1aa710ec8d462cee77fde82caf400d143d68036f72c12d9a7e
Running DISM showed this:
Whereas, 20H2 build starts with
19042.nnn (as shown by the winver command)
The setup.exe (inside the 20H1 ISO) file’s version showed up as 19041.xxx, instead of 19042.nnn. So, it’s a glitch in this particular ISO.
Here is another such case: Windows version mismatch for Install.WIM, shows it as “Windows 8.1 Enterprise”
So, be aware of the above issues. The above can happen sometimes.
Image credits: Pixabay.com
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.