How to check processor architecture whether its 32bit or 64bit?
One method is to query the registry from the command line.
Here’s a one liner command line that will check whether the PC processor
is 32bit or 64bit.
reg query
"HKLM\SYSTEM\ CurrentControlSet\Control\ Session Manager\Environment" | find “ARCHITECTURE”
If the
output is something like this:
PROCESSOR_ARCHITECTURE
REG_SZ AMD64
Then it’s a
64bit, if it shows x86 then it’s a 32 bit.
reg query
"HKLM\SYSTEM\ CurrentControlSet\Control\ Session Manager\Environment" | find “IDENTIFIER”
Above query
can also identify, the output shows Intel64
for 64bit.
Sample Output:
PROCESSOR_IDENTIFIER
REG_SZ Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
Omitting the find option from the “reg query” command will
show quite a few information.
reg query
"HKLM\SYSTEM\ CurrentControlSet\Control\ Session Manager\Environment"
This query command works in Windows 7, Windows 8 and Windows
10. I believe this will also work in Windows server OSes.
This command is quite useful if you are working remotely and
limited to a command line option and need to know whether the processor is
64bit or x86 processor.
Cheers! Hope it helps. Till next time.
================================
Free Android Apps:
Click links below to find out more:
Excel Keyboard guide:
Linux Android App cheat sheet:
Heaven's Dew Fall Prayer app for Android :
Catholic Rosary Guide for Android:
Comments
Post a Comment