method to figure out windows version on an external connected drive

does anyone know of a quick and easy way to identify the installed os version on an external drive that you did not boot from that has a version of windows installed on it.  maybe a file somewhere that indicates the os version.  for example i can look for the users folder and know that the installed version is either vista or 7 and not xp.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

check for ntoskrnl.exe file in Windows folder\System32\ntoskrnl.exe" right click and select properties
Click on details and you will get to know the details
If you browse to the ntoskrnl.exe file in the windows\System32 folder, right click on it, and choose properties it will bring up the properties dialog box. In this dialog box, click on the Details tab at the top. Once here, look at the details that it gives you. The windows version is in the details view.

v 4 - Windows NT
v 5 - Windows 2000
v 5.1 - XP
v 5.2 - Server 2003
v 6 - Vista & Server 2008
v 6.1 - windows 7 & server 2008 R2

Anything in the version # after the above relates to updates or versions such as x32 vs x64, etc.
you will get the version of ntoskrnl.exe and from which we can find what version of windows is said in above post also..

 4 - Windows NT
v 5 - Windows 2000
v 5.1 - XP
v 5.2 - Server 2003
v 6 - Vista & Server 2008
v 6.1 - windows 7 & server 2008 R2

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
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

I think you can get those same version numbers from Properties->Details of explorer.exe in the C:\windows subdir, without having to drill down another subdir.
I believe that is correct darr247 but am not 100% on how it works on all versions listed above. Thanks for the additional input.
scraby--Type winver into a command prompt and click Enter.  The result is much prettier than the above methods.  :)
scrabyAuthor Commented:
thanks Anuroopsundd and SE-Pneumatic, your solutions were spot on.

darr247, i checked explorer.exe and seems that you're right and the version did match the same as the kernel at least for vista (6.0 on explorer.exe) and 7 (6.1 on explorer.exe).

jcimarron, i'm not checking the version of the os that i'm booted into but rather the version of the os that is installed on another drive that i'm troubleshooting that's connected to my workstation via a usb adapter.  thanks anyway
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
Windows XP

From novice to tech pro — start learning today.