How To Discover If a Window Operating System is 32 or 64 bit
There are numerous approaches to tell if a Windows operating system is 32-bit or 64-bit.
On Windows Server operating systems, the most recent form that backings 32bits is Windows Server 2008.
In forms higher than Windows Server 2008, for example, Windows Server 2008 R2 or Windows Server 2012, we will just discover 64-bit adaptations.
On customer operating systems, we will discover renditions of 32bits or 64bits unclearly from Windows XP and even Windows 10, it has variants of 32bits or 64bits.
Here are some approaches to know whether the Windows operating system is 32-bit or 64-bit:
Structures through GUI:
1) Via GUI, in the system properties:
For XP or Windows Server 2003:
Sysdm.cpl
Sysdm.cpl see
For Windows Vista/7/10/Server 2008 or higher:
Hardware, Properties:
Win7 PC properties
2) Via GUI, utilizing msinfo32.exe:
On a Windows 7 x64:
Windows 7 msinfo32
On a Windows Server 2003 x32:
Msinfo32 of W2003
Structures by means of CMD:
1) Querying a domain variable:
Case of execution for 64bit:
C: \> echo% PROCESSOR_ARCHITECTURE%
AMD64
32bit execution case:
C: \> echo% PROCESSOR_ARCHITECTURE%
X86
We can without much of a stretch utilize a CMD script to execute a few things or others relying upon the estimation of nature variable.
Illustration:
On the off chance that "% PROCESSOR_ARCHITECTURE%" == "x86" (
Reverberate "The OS is 32 bits"
) Else (
Reverberate "The OS is 64-bit"
)
2) Query a key in the registry:
Reg question "HKLM \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Environment"/v PROCESSOR_ARCHITECTURE
Illustration yield for 64bit execution:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Environment
PROCESSOR_ARCHITECTURE REG_SZ AMD64
Illustration yield for 32bit execution:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Environment
PROCESSOR_ARCHITECTURE REG_SZ x86
3) Consulting if there is a registry:
If not exist "% systemroot% \ Program Files (x86)" reverberate 32bits
In the event that there is "% systemroot% \ Program Files (x86)" resound 64bits
4) Windows Management Instrumentation (WMI) Query:
From CMD:
Wmic OS get OSArchitecture
From PowerShell:
(Gwmi win32_computersystem) .SystemType
5) With the order systeminfo:
Systeminfo | find/i "System sort"
Comments
Post a Comment