≡ Menu

Get CPU processor information command prompt

On Windows OS, we can find hardware information using msinfo32 utility. This utility shows information about processors, system physical memory, disk drives, display monitor and BIOS etc.

To know processors information from command prompt, you can run the below command.

wmic cpu get caption

On my laptop, it shows the below information.

C:\>wmic cpu get caption
Caption
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2
C:\>

The output shows that my laptop has 4 processors of x86 architecture.

We can get process information using system environment variables also. The environment variables related to CPU are listed below.

PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION

The values of these environment variables can be retrieved using echo command.

Ex:

C:\>echo %PROCESSOR_ARCHITECTURE% %PROCESSOR_IDENTIFIER% %PROCESSOR_LEVEL% %PROCESSOR_REVISION%
x86 x86 Family 6 Model 37 Stepping 2, GenuineIntel 6 2502
C:\>
{ 2 comments… add one }
  • ramesh November 10, 2011, 12:55 pm

    how to get a processor serialnumber of laptop with out opening if u can plz help me…..

  • Ali June 12, 2016, 5:40 am

    how to find the number of processors from cmd? msinfo32 shows 2 processors on my laptop but wmic command shows only one entry in the output.

Leave a Comment