≡ 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:\>
12 comments… add one
  • ramesh

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

    • Xarhang

      wmic cpu get processorid

  • 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?

  • John

    Tom
    use
    wmic cpu get socketdesignation
    C:\Users\Tom>wmic cpu get socketdesignation
    The output will be something like ….
    SocketDesignation
    LGA1155

    you can then look up the tech details of lga1155 (for example)

    regards

    John

    • Adeel Kamboh

      How can we get its output in a text file or so?
      i.e.:
      wmic cpu get socketdesignation

  • Md. Alamgir Hossain

    how to get processor batch number?

  • Mohammed

    How can we check current speed of processor using command promt

  • SHIVAM SINGH

    Sir , how to get processor batch number in laptop

  • morgan

    open command prompt

    wmic cpu get name

    this will get you some good info

Leave a Comment