Wednesday, November 21, 2007

How To Check If Processor Type Is 32-bit Or 64-bit

Sometime when we need to download or install a software, we need to know for what and which processor type that software. In some case we can use the same software for 32 and 64-bit version. But in most cases we need to install a different software for a specific processor type.

For a Windows user you can check the processor type using the following way :
  1. Right click My Computer and choose Properties.
  2. Click the Advanced tab.
  3. Click Environment Variables.
  4. In the System variables find a variable with the name PROCESSOR_ARCHITECTURE. If your PC has a 32-bit processor, this variable will have a value of x86. If it has a 64-bit processor this variable will have a value of x64.


This way is not a real world test for checking the processor type because
those variables can be changed by anyone but at least you can use this way.

To check the processor type for another machine or another operating system you can use this link http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=31892 as a reference.

1 comment:

Greg Spencer said...

Actually, on a 64-bit machine, PROCESSOR_ARCHITECTURE is still set to x86 (because it's still an Intel x86-based processor).

You probably want to look at PROCESSOR_IDENTIFIER, and if you see something like "Intel64" then you're on a 64-bit machine. I'm not sure what it returns on an AMD machine, but it's probably got "64" in there somewhere.