After a lot of googling this morning I was able to find out how to determine the version of the Windows ISO file. This was important to me because I needed to know if the ISO I had included SP1 or not. This should work for Vista and up, basically any windows that has WIM files within.
First you will need to mount the ISO file to a computer so you can browse it. Then open up a command prompt as administrator and run the following command.
dism /Get-WimInfo /WimFile:E:\sources\install.wim /index:1
(E is the drive letter for the mounted ISO file)
Here is an example of the output from the command for a Windows 7 Enterprise ISO without any service packs.
C:\WINDOWS\system32>dism /Get-WimInfo /WimFile:E:\sources\install.wim /index:1 Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Details for image : E:\sources\install.wim Index : 1 Name : Windows 7 ENTERPRISE Description : Windows 7 ENTERPRISE Size : 11,912,905,130 bytes Architecture : x64 Hal : acpiapic Version : 6.1.7600 ServicePack Build : 16385 ServicePack Level : 0 Edition : Enterprise Installation : Client ProductType : WinNT ProductSuite : Terminal Server System Root : WINDOWS Directories : 13629 Files : 64547 Created : 7/14/2009 - 12:49:53 AM Modified : 7/14/2009 - 2:43:28 AM Languages : en-US (Default) The operation completed successfully. C:\WINDOWS\system32>
Source: Version number of Windows 7 from its image (iso,..) – Super User.
Thanks man! I couldn’t tell which USB drive of mine was 7 or 8!
If you want to use the same method for checking a Windows 8 ISO, you can replace “install.wim” with “install.esd”.
Sorry, disregard the previous comment. I meant: replace “install.wim” with “boot.wim”.
You also can change “/index:1” to “/index:2”.. “/index:3” and etc to check if there is also another version of windows inside the same ISO file.
Great solution, just what I needed. Thanks mate!
Thank you very much!
[…] original source […]
Still works (NOT 100% sure, will post an update)
I checked Windows 10 iso for build number 10586.
I successfully update Windows 10 to build 10586.
I tried before and I found that I just reinstalled the same build that I was running. Then I searched how to verify the build version and came here
Thank you Wayne Zimmerman
Thanks mate, although it did’t work in my case (Win 10) at first. But when I changed install.wim to install.esd, than it worked.
dism /Get-WimInfo /WimFile:E:\sources\install.esd /index:1
Thank you man!
works! thank you!
Is there a way to figure out the OEM vs Retail type on a Win 7 installation disk/iso?
Thank you man!!
Thanks! It was great! Really helped me with Windows 10 edition.
I have a different problem: I need the ISO of the Windows 7 installed
Happy Xmas & Happy New Year 2017 to you and everyone who reads this
pls assist me to how to copy iso file to pendrive
why do I get an access denied everytime? I use CMD with administrator priviledges. strange
Just right click at Setup.exe then Details tab. There is the version/build number ; )
use “Install.WSM” for Windows 10 / 2016
And for a Windows XP ISO file, how can i check that ISO version?
Thank you so much!
on my pc it says ‘dism’ is not recognized as an internal or external command
it works for windows 10 usb installer, needed to change install.wim to boot.wim, needed to know if it was the latest creators update 10.0.16299.15
C:\WINDOWS\system32>dism /Get-WimInfo /WimFile:D:\sources\BOOT.wim /index:1
Herramienta Administraci√≥n y mantenimiento de im√°genes de implementaci√≥n
Detalles de la imagen : D:\sources\BOOT.wim
Nombre: Microsoft Windows PE (x64)
Descripci√≥n: Microsoft Windows PE (x64)
Tama√Īo: 1,702,145,295 bytes
WIM de arranque: no
Compilaci√≥n del Service Pack: 15
Nivel de Service Pack: 0
Tipo de producto: WinNT
Conjunto de productos:
Ra√≠z del sistema: WINDOWS
Fecha de creaci√≥n: 30/09/2017 – 07:13:07 a. m.
Fecha de modificaci√≥n: 29/11/2017 – 01:25:46 p. m.
La operaci√≥n se complet√≥ correctamente.
During recent Upgrade 1709 to Win10 I had repeated failures to install. Microsoft (Ms) help downloaded a copy of Windows complete with the 1709 Update, I presume that is what it is, but it is NOT an ISO. The opened folder shows the usual files show as if it were a CD/DVD so I cannot mount it to use the method you supply here without turning it into an iso.
Is there a way to find the build of the OS contained in this folder??
Thanks, very helpful