• Windows.iso (Determine the version)

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Windows.iso (Determine the version)

    Author
    Topic
    #2381035

    I have a file:  Windows.iso and would like to determine the Windows version if possible (2009, 20H2, 21H1…etc.)

    Size:  4.24 GB

     

    Viewing 6 reply threads
    Author
    Replies
    • #2381067
    • #2381516

      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+

    • #2381749

      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:

      Detect-ISO-version

      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.

      Detect-ISO-version

      Hope this helps…

      1 user thanked author for this post.
      • #2381753

        Very elegant.

        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+

    • #2381755

      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). 🙂

    • #2382144

      @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:

      Get-USBwinVers-03

      Hope this helps…

      1 user thanked author for this post.
    • #2405757

      No longer works..

      All version post 20H1 report version as 10.0.19041

      🙁

    • #2465666

      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.

      https://www.askwoody.com/forums/topic/surprise-after-using-the-windows-10-media-creation-tool/#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

    Viewing 6 reply threads
    Reply To: Windows.iso (Determine the version)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: