I have a Windows 10 InstallUSB and I'd like to know which version of Windows 10 it is. Searching online, I found this technique in many places, with the file [install.<esd||swm||wim>, boot.wim] varying:
dism /Get-WimInfo /WimFile:"F:\sources\install.esd" /Index:1
- Without
/Index, it lists each edition [image], eg, Home, Pro, etc, available in the file, but not the version - Index
1always exists, with often higher indexes available as well
WinHelpOnline reports that sometimes DISM reports the wrong WIM/ESD version because the WIM header information is wrong.
I think this is happening with me since I just downloaded Windows 10 21H2, created an InstallUSB, and the above command returned Version : 10.0.19041 which is v2004 according to Wikipedia.
- I notice this is the last version of the format YYMM, as it switched to YYHN ["H" for "half"] right after that with 20H2 (maybe the WIM version is stuck at 19041?)
Does anybody know any other way of extracting the version information, short of installing it?