Windows - Cpu Architecture (32 or 64 Bit)

> Operating System - Kernel (Windows, Unix, Linux) > Windows (and utilities)

1 - About

CPU - Word size (8, 16, 32 and 64-bit) in Windows

In a 64 bit environment, you will find two environment:

  • a 64 bit
  • and a 32 bit

You may then not able to see:

  • regsitry key
  • ODBC DSN connection

Just because when you start the default software it will be in a 64 bit form.

Just start the same software in the 32 bit directory and you will see them.

Advertising

3 - Management

3.1 - How to check the processor architecture ?

3.1.1 - Environment variable

Windows - Environment Variable

echo %PROCESSOR_ARCHITECTURE%
AMD64

AMD64 means a x86-64 processor

3.1.2 - regedit.exe

To check the processor architecture, you have to:

  • open the registry. Tape regedit.exe in a command line (shell)
  • go to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
  • and check the value of PROCESSOR_ARCHITECTURE.

ie the following windows registry value:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE

Advertising

3.1.3 - winmsd.exe

  • XP: Start > Run > winmsd.exe

where x86 means 32 bit.

3.2 - Windows Operating System Location

Architecture Mode Location
64 bit 32 bit C:\WINDOWS\SysWOW64
64 bit 64 bit C:\WINDOWS\system32
32 bit 32 bit C:\WINDOWS\system32