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.
Patch Management Solution for Windows 8.5 or higher
While ISO name can include the OS version, many times the language code or architecture can be different than what's installed in your environment and because of that the install/upgrade will fail.
Complete the step-by-step instructions below to figure out the build number, architecture, and language code of OS on your endpoint and the ISO you are using for the upgrade.
1. Open an 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"
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 the 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 the 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.