2
1
Possible Duplicate:
Detect Windows Server version 32/64-bit in CLI
Is there a way to check whether a user is running a 64-bit or 32-bit operating system by looking in the registry?
The following site makes some suggestions: http://www.maxi-pedia.com/32+Bit+or+64+Bit+Operating+System
But the suggestions of
HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0
and
HKLM\SYSTEM\CurrentCongtrolSet\Control\Session Manager\Envirornment
do not appear to exist in my registry
In what way do they not work? – Tobias Plutat – 2011-05-31T09:46:34.210
Sorry. I've clarified that now. – Urbycoz – 2011-05-31T09:50:55.363
Which version of Windows are you on? – Tobias Plutat – 2011-05-31T09:56:14.887
I'd like it to be generic across all windows versions. – Urbycoz – 2011-05-31T10:03:24.407
@Gareth. This is certainly NOT a duplicate. I need to detect 32/64 bit VIA THE REGISTRY. – Urbycoz – 2011-05-31T10:03:57.277
I just checked it - it's present in both my XP (x32) and 7 (x64) PC's windows registry. Which key in the registry is the first you can't find? – Tobias Plutat – 2011-05-31T10:09:04.203
2from the linked duplicate -
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion
- check forBuildLabEx
– Sathyajith Bhat – 2011-05-31T10:22:54.427@Sathya. Cool that's what I was after. – Urbycoz – 2011-05-31T10:25:29.230
@Urbycoz - apols. It might not have been an exact duplicate but at least you got your answer from there anyway. ;) – Gaff – 2011-06-01T02:40:42.980