First, you’ll need to ensure you have the installation media connected to your computer and mounted. If it’s a DVD or USB drive, insert it into your computer. If it’s an ISO file, double-click it to mount it on Windows 10, this will make the ISO accessible at its own drive letter. On Windows 7, you’ll need a third-party tool to mount ISO files.Note: If you have an archive app, like 7-Zip or WinRAR, which can open ISO files, that app might have associated itself as the default app for opening ISO files. If that’s the case, you can right-click the ISO, point to the “Open With” menu, and then choose the “Windows Explorer” command to mount the drive.
When you’ve connected or mounted the installation media, browse inside the installation media and open the “sources” folder. Look for a file named either “install.wim” or “install.esd.” You might find either of the two depending on how you created the installation media.
DISM /get-wiminfo /wimfile:”I:sourcesinstall.wim”
This command lists the Windows version and editions on the current installation media. For example, a Windows 10 disc might include Windows 10 Home, Windows 10 Pro, and so on. You will be given a choice of these editions while installing Windows.
If you see an error message saying elevated permissions are required to run DISM, you must launch the Command Prompt or PowerShell window as Administrator before continuing.
DISM /get-wiminfo /wimfile:”I:sourcesinstall.wim” /index:1
The output here shows you the build number and architecture. If “Architecture” reads “x64,” the installation media is 64-bit. If it reads “x86,” the installation media is 32-bit.
The “Version” number here shows the Windows build number. You can search this build number online to determine precisely what build of Windows 10 your installation media contains. For example, the April 2018 Update is build number 17134.
To save time, you don’t have even to check whether the installation media contains an “install.wim” or “install.esd” file. You could just run the appropriate DISM command pointed at install.wim first.
If you see an error message saying the system can’t find the file specified, run the same command pointed at install.esd, like so:
DISM /get-wiminfo /wimfile:”X:sourcesinstall.wim”
DISM /get-wiminfo /wimfile:”X:sourcesinstall.wim”
Either way, one of the two commands will show you the information you need to see. Just remember to replace “X” with the drive letter of your Windows installation media.