Identify Windows Version using Linux

Often, when repairing a Windows boot process, since Windows won't boot, I'll use a Linux Live CD of one type or another for various things.

And, when doing that, I want to know which Windows version is on the hard drive.

How can that be done using Linux?  I've not found it....
LVL 28
Fred MarshallPrincipalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


One option would be to find a common executable such as explorer.exe, (generally c:\windows\explorer.exe) and check its properties for the file version.

For example, the machine I am on right now is running Win10 Pro Version 1703 Build 15063.608 and the explorer.exe file version is 10.0.15063.608.

JohnBusiness Consultant (Owner)Commented:
Interesting question. I do not see a way either. There are some SQL Server tools you can run from Linux, but nothing in there would help you.

What about Ultimate Boot CD

This is more of a Windows environment that might help you.
To expand on what I said above, if you have booted using a Live Ubuntu DVD (say), you could copy the file to, say, home, then run pev from the command line:

pev -p explorer.exe

Open in new window

If you don't have pev installed, and you were using, say, Ubuntu:

sudo apt install pev

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Olgierd UngehojerSenior Network AdministratorCommented:
open C:\Windows\System32\License.rtf
@Olgierd Ungehojer:

I just checked that file on my Win10 Pro machine, and I cannot find any reference to Win 10 in it at all.

I did not read the whole thing (else my brain would now be mush) - I did a search for '10' and the only hits were things like section numbers.

How can you tell the version from that file?


Olgierd UngehojerSenior Network AdministratorCommented:
File looks like this on windows 7
Dave BaldwinFixer of ProblemsCommented:
C:\Windows\System32\License.rtf  doesn't exist on my XP machines.
Olgierd UngehojerSenior Network AdministratorCommented:
you have windows version information for Vista, W7, W8, W8.1, for windows 10 there is no information but you know that is windows 10 then.
Olgierd UngehojerSenior Network AdministratorCommented:
Xp is easy to recognize by folders structure.  There is also packet called chntpw on linux what give you option to browse windows register or change windows password.
Seems easier to check the version of explorer.exe - that should work for all versions of windows unless someone has seriously hacked around, but that's not likely to be a significant issue.
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
@Alan, thanks for the pev info.

I'd never thought about checking the version info of the file explorer before.

Dirt simple approach. Added this to my  very long (since 1994) list of Linux tool snippets.
Fred MarshallPrincipalAuthor Commented:
Usually it's Windows 10 to begin with but possibly Windows 8 or 7.
Is it [blank/home] or is it Pro?
Which winver?
explorer.exe file version is 10.0.15063.608 but where is a table of these?
JohnBusiness Consultant (Owner)Commented:
There is no table of versions in Windows Explorer, just the current version, so you need to use the VER tool to see what the version is.

If you need a table of Versions and Builds otherwise, you would have to use Google. Windows does not keep a table of versions. Even old files get cleaned up and deleted.

If you think you will use this very often, then perhaps keep your own list with your list of utilities (that's what I do):

Windows 1.0       1
Windows 2.0       2
Windows 3.0       3
Windows NT 3.1       3.1
Windows for Workgroups 3.11       3.11
Windows NT Workstation 3.5       3.5
Windows NT Workstation 3.51       3.51
Windows 95       4.0 (Not sure about this)
Windows NT Workstation 4.0       4.0 (Not sure about this)
Windows 98       4.1
Windows 98 Second Edition       4.1.2222
Windows Me       4.9
Windows 2000 Professional       5.0
Windows XP       5.1
Windows Vista       6.0
Windows 7       6.1
Windows 8.1       6.3
Windows 10       10

According to my notes, I sourced from here originally, but may have changed since (or even be gone if reading this later):

Fred MarshallPrincipalAuthor Commented:
What I need really, is to know which Windows Install DVD to use when dealing with a computer that won't boot.
My DVDs have been created in the normal way and are segregated between "Pro" and "not Pro" and between 32-bit and 64-bit.  
Well, there may be some that do double duty but I never know which ones.
JohnBusiness Consultant (Owner)Commented:
I suggest you try the Ultimate Boot CD and make it with Windows. You might be able to run SystemInfo from it to get what you need. If the non booting system has a hardware or severe OS corruption that may not work (in fact nothing may work in this case) You need to know how to get recovery media.
Fred MarshallPrincipalAuthor Commented:
There are other reasons to use a Linux live CD.  So.....
Lots of options - If 'pev' doesn't work for some reason, maybe combine with other options above.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.