Build number of 64-bit XP

  • Thread starter Thread starter JeffO
  • Start date Start date
J

JeffO

I'm building a fancy CD that I'll use to distribute the
patches to the current WormBlaster virus and run the
Symantec cleaning tool. I will also use this CD framework
for future anti-virus packagaes I hand out.
Since there are 3 different MS patches, depending on your
OS, I need to query the computer to get this info. The
following line achieves this:

REG QUERY "\\%1\HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion" /v CurrentBuildNumber >>
C:\WINNT\Temp\OS_Ver.txt

Does anyone know the build number of Windows XP 64-bit?
If it's the same, how can I differentiate between 32-bit
and 64-bit?
 
I don't think it's same. But even if it is, you could test registry
valuename "ProductName" under same registry branch. This should be different
on each Windows version. And if that fails, check environment variables.
Most likely PROCESSOR_ARCHITECTURE has different value on 64-bit edition.
 
Actually, ProductName is not different on every WinOS.
Betas may have the same ProductName but they will have a
different build number.
Build number is more unique, usually, than ProductName.
However, just for 32-bit 64-bit XP, I think you're right.
ProductName should end in "ia64" for all 64-bit XP's.
Windows Advanced Server IA64.(Build 3505)
Windows XP 64-bit............(Build 3754)
Windows XP 64-bit............(Build 3790)
There are a few different 64-bits out there and not sure
exactly how many or what all the build numbers are.
Thanks for the input. Someone told me SMS has the whole
list, including all beta levels.
 
Back
Top