Check version of build and language code from ISO
search cancel

Check version of build and language code from ISO

book

Article ID: 176243

calendar_today

Updated On:

Products

Patch Management Solution

Issue/Introduction

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

If incorrect ISO is used, install will fail with various errors

Environment

Patch Management Solution for Windows 8.5 or higher

Cause

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

Resolution

Complete step by step below to figure out the build number, architecture, and language code of OS on your endpoint and ISO you are using for the upgrade.

HOW TO FIND DETAILS OF OS ON ENDPOINT

1. Open elevated command prompt

2. Enter the following command and press Enter

dism /online /get-intl

Default = 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.

InstalledLanguage = Indicates the installed language.

The value data (ex: 0409) represents the LCID ("Locale ID" or "Language ID"). You can look up the LCID in the table at Microsoft below to what locale/language you have.

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). Please make sure ISO's are associated to open with Windows Explorer, not some other software, otherwise you will not be able to 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. Nagivate/open that new drive and navigate to Sources folder (if Sources folder is not in the root of the drive but you see x64 and x86 folders, Sources will be inside of x64 and x86 folders)

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

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

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

5. In command prompt enter the following command:

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

Use the above command if you have install.esd file in the ISO.

Or

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

Use this command if you have install.wim file.

Don’t forget to replace “E:\sources\install.wim” with the actual path to the install.wim/esd file.

6. Upon getting information you were looking for, go back to "My Computer/This PC", right click on mounted ISO and click on Eject to unmount the ISO.