How to get the correct version, build info of a Windows ISO?

Discussion in 'Windows 10' started by cdavisdeco, May 12, 2023.

  1. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,655
    103,350
    450
  3. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
    I just tried the Wimlib-ImageX from that post and it gave me the same as DISM.
    How do I mount install.esd without mounting the entire ISO? And would you give an example to a query I should run.
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,655
    103,350
    450
    wimlib-imagex can't see it either, only mounting the image and running a query can.
     
  5. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
    How do I do that?
     
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,655
    103,350
    450
    Install.esd can only be mounted by imagex (when you have a win 10/11 ADK installed it is present else you have to provide it).

    Code:
    
    E:\Win_10_AiO\ESD2WIM-WIM2ESD-8>imagex /mountrw "install.wim" 1 "c:\Mount"
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    Mounting: [E:\Win_10_AiO\ESD2WIM-WIM2ESD-8\install.wim, 1] -> [c:\Mount]...
    
    [ 100% ] Mounting progress
    
    Successfully mounted image.
    
    Total elapsed time: 18 sec
    
    
    
    
    
    E:\Win_10_AiO\ESD2WIM-WIM2ESD-8>dism.exe /image:"c:\mount" /Get-CurrentEdition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.19045.2965
    
    Current edition is:
    
    Current Edition : Core
    
    The operation completed successfully.
    
    E:\Win_10_AiO\ESD2WIM-WIM2ESD-8>imagex /unmount "c:\Mount"
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    Unmounting: [c:\Mount]...
    
    [ 100% ] Mount cleanup progress
    
    Successfully unmounted image.
    
    Total elapsed time: 19 sec
    
    
    
    
    
    E:\Win_10_AiO\ESD2WIM-WIM2ESD-8>
    
    Here you see the correct info:
    Code:
    Image Version: 10.0.19045.2965
    It doesn't matter what the query should be as long as it is a working one,
     
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    Just open the iso wit 7zip copy somewhere the registry (\windows\system32\config\) mount it as hive and look inside

    \mounted-hive\Microsoft\WindowsNT\CurrentVersion. Just like you would do for your running os.

    Simple and way faster than mounting a whole WIM just to get that info.
     
  8. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
  9. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
  10. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
    Yes. I copied the entire "config" folder to a different drive..

    I made those two folders named "WINDOWS" and "system32", as I saw on a YT video, which I followed since I had never loaded a hive before.
     
  11. boyonthebus

    boyonthebus MDL Expert

    Sep 16, 2018
    1,168
    753
    60
    Is your E:\New\Mount directory present? Did you create it BEFORE running the command?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    #13 acer-5100, May 13, 2023
    Last edited: May 14, 2023

    No need to create folders, just do what I said, copy the software file to your desktop, and mount it as hive.

    When asked for the key name, use something obvious like 000

    Hence your info will be in

    HKEY_LOCAL_MACHINE\000\Microsoft\Windows NT\CurrentVersion\ (the UBR value)

    P.S. if you have still the UAC enabled, did you run regedit as administrator?
     
  13. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,689
    14,420
    340
  15. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
  16. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    No idea about what are you doing and why you are loosing a day for a 30 seconds thing

    upload_2023-5-14_19-53-11.png

    It's deadly simple. This is how 19045.2364 Image looks like.
     
  17. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    337
    63
    10
    I can do this all day.
    Just kidding. :D

    Of course I have other things to do as well. I should've told you that your method worked. Thanks for that.

    But that and @xinso's led me to think that something is wrong with the ISO I have. I checked another ISO I have and got a similar result.
    That means all the ISO's I downloaded via UUP dump for the past 2 years are not what I thought I downloaded.
    That's what I'm trying to figure out now. Eg.: I downloaded 19042.867, but it's actually 19041.1.
    If I didn't check this now, I would've been keep getting wrong stuff.
     
  18. boyonthebus

    boyonthebus MDL Expert

    Sep 16, 2018
    1,168
    753
    60
    #19 boyonthebus, May 14, 2023
    Last edited: May 14, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150

    All the 1904x images are made starting from 19041.1 + monthly update(s), you can choose to apply them or not, if you choose to not apply the update(s), your image will stay on 19041.1

    upload_2023-5-14_21-10-39.png