Finding the build and language code from ISO
search cancel

Finding the build and language code from ISO

book

Article ID: 176243

calendar_today

Updated On:

Products

Patch Management Solution Client Management Suite IT Management Suite

Issue/Introduction

To upgrade Windows via Patch Management Solution, it requires the correct ISO media for the whole process to be successful. It also requires the correct Windows version, as well as the language code to make sure language and version of the ISO match fully what's installed in the endpoint.

If an incorrect ISO is used then the install will fail with various errors.

Cause

While ISO name can include the OS version, many times the language code or architecture can be different than what's installed in the environment and because of that the install/upgrade will fail.

Resolution

Complete the step-by-step instructions below to figure out the build number, architecture, and language code of OS on the endpoint and the ISO being used for the upgrade.

HOW TO FIND DETAILS OF OS ON ENDPOINT

1. Open an elevated command prompt

2. Enter the following command and press Enter:

dism /online /get-intl

  • Default System UI Language = Indicates the system default locale. The value of this entry indicates that locale 0409 (U.S. English) is used when no other language is specified.
  • Installed Language = Indicates the installed language.
  • The value data (ex: 0409) represents the LCID ("Locale ID" or "Language ID").  Look up the LCID in the table at Microsoft below to what locale/language is in use.
  • Locale IDs Assigned by Microsoft

3. Enter the following command and press enter to find OS name, version, and architecture

systeminfo | findstr /B /i /C:"OS Name" /C:"OS Version" /C:"System Type"

HOW TO FIND DETAILS OF OS IN ISO FILE

1. Right-click on ISO and click on Mount (or double-click on ISO to do the same). Make sure ISO's are associated to open with Windows Explorer, not some other software, otherwise the ISO will not mount. If it's associated to open with some other software, change the association to Windows Explorer.

2. Go to "My Computer/This PC" and will see mounted ISO as a new drive

3. Navigate/open that new drive and navigate to Sources folder.

4. Find file named Install. It can be either Install.WIM or Install.ESD. Note the extension of the file and the drive letter.

5. Check which versions of OS this ISO has before querying it for more information. Depending on the ISO file, it might be single OS version or multiple.

dism /Get-WimInfo /WimFile:E:\sources\install.wim

6. In the command prompt enter the following command:

NOTE: replace “E:\sources\install.wim” with the actual path to the install.WIM OR ESD file.

dism /Get-WimInfo /WimFile:<E:\sources>\install.wim /index:ENTER INDEX NUMBER TO GET DETAILS

Use this command if there is an install.wim file.

Or

dism /Get-WimInfo /WimFile:<E:\sources>\install.esd /index:ENTER INDEX NUMBER TO GET DETAILS

Use the above command if there is an install.esd file in the ISO. 

7. Upon getting this information, go back to "My Computer/This PC", right click on mounted ISO and click on Eject to unmount the ISO.