≡ 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
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

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.


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


x86 x86 Family 6 Model 37 Stepping 2, GenuineIntel 6 2502
5 comments… add one
  • ramesh

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

  • Ali

    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.

  • Netscape1964

    i tried both command lines in cmd aswell as powershell.

    the wmic one gives a return as a x64 architecture but the environment variable returns a X86 (32 bit) architecture.

    which one is the more accurate?

    • Srini

      Looks like you have 64bit CPU but the OS installed was 32bit(x86).

  • Tom

    I wish to find the processor socket, how to do this with CMD?

Leave a Comment