I have a file: Windows.iso and would like to determine the Windows version if possible (2009, 20H2, 21H1…etc.)
Size: 4.24 GB
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Windows.iso (Determine the version)
Launch the installation from the ISO (like you were upgrading).
If the windows is dark purple, its 1809, if the window is white its 1909 or newer I know its not so accurate as @b suggested, but the color is indicator for me.
Dell Latitude 3420, Intel Core i7 @ 2.8 GHz, 16GB RAM, W10 22H2 Enterprise
HAL3000, AMD Athlon 200GE @ 3,4 GHz, 8GB RAM, Fedora 29
PRUSA i3 MK3S+
If you use AutoHotkey you can automate the steps easily. For example:
#SingleInstance, Force If !A_IsAdmin Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%" Process, Priority, , H Clipboard := "" ; Clear the clipboard of any content FileSelectFile, SelectedFile, 3, , Select an install file, (install.wim; install.esd) if (SelectedFile = "") { MsgBox, The user didn't select anything. ExitApp } RunWait, %comspec% /c "dism /get-wiminfo /wimfile:%SelectedFile% /index:1 |clip",,hide ;Pass the parameters to DISM MsgBox, %Clipboard% ; Display the result ExitApp
When run, this AHK script autoelevates the AutoHotkey executable (required by DISM) and displays a file selector preconfigured to only show install.wim or install.esd files. Point the file selector at a Windows installer (DVD, USB or mounted ISO file), drill down into the sources folder and select either install.wim or install.esd.
Clicking on the file selector’s Open button copies the information to the Windows clipboard and spits out a message box like this:
For a GIF animation showing it in action, see this: https://i.postimg.cc/hPCFDz5R/Detect-ISO-version.gif
If anyone would find this useful, I’ve attached the AHK script as a ZIP.
Hope this helps…
Very elegant.
Thank you.
I have a collection of USB sticks for Windows 10 and 11 installers. Sticky labels on them became smudged and looked untidy. It was taking too long to find the info manually in an elevated commandline console. Automating it to “point’n’click” saved me a LOT of typing (and trying to remember the convoluted DISM syntax).
@doriel – It you want to see ‘elegant’, ask @retiredgeek for a link to his Get-USBWinVer PowerShell script.
I came across it by accident on his public OneDrive folder. I’ve searched AskWoody but cannot find a post to it or about it.
It takes a different approach to my QAD method (Quick And Dirty – thrown together hurriedly, almost always with no consideration giver to error-checking) using a file selector to manually drill down to install.wim or install.esd files.
RG’s PS script uses a drive letter method instead then drills down programmatically. As usual his code is structured, documented and presented far more professionally than mine.
His PS script also includes the very useful ‘common name’ info – e.g. ’20H1′ instead of ‘10.0.19041’ – that mine doesn’t:
Hope this helps…
The link to his script in his post#2304029.
https://www.askwoody.com/forums/topic/windows-10-version-2004-recommended/#post-2304029
Link in the above post downloads the older V2 version of his script.
The link to his public OneDrive folder that downloads the new v4 version is in his post#2351034.
Link in the above post downloads the older V2 version of his script.
The link to his public OneDrive folder that downloads the new v4 version is in his post#2351034.
the Onedrive link to RG’s v4 tool no longer works – says “Sorry, something went wrong” error message and need to be reposted either at OneDrive or another download site
[moderator edit] link has been fixed
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications