How to find the RAM type (DDR2/DDR3) of the system using command prompt?

I have tried SYSTEMINFO in command prompt but it did not display the RAM type.

  • Do you know the model of your motherboard? If not, see this superuser.com/questions/175213/… then look up the manual to find out! – Dave Jun 11 '13 at 14:03
  • 2
    There is very likely a good duplicate on SU, but the one marked is definitely NOT a duplicate. – music2myear Jan 31 '18 at 20:13
  • Agreed. A couple of the “answers” to that other question are actually answers to this question; i.e., they were posted in the wrong place. In particular, @terdon’s lshw answer to the other question might make a valuable addition to this thread (except for the fact that it’s Linux-centric, and this question is about Windows). But the linked question is not a duplicate of this one. – Scott Oct 21 '18 at 17:19

You can use the wmic command to find out the information about your memory:

wmic MemoryChip get BankLabel, Capacity, MemoryType, TypeDetail, Speed

The MemoryType returns the type of your Memory: 21=DDR-2 etc, Here is a complete list of information you can get from the MemoryChip Class.

In my case unfortunately the type is unknown (0), but I still get some useful information: enter image description here

  • 2
    Thank u. When I enter this command it displays memory type as 21 which is equal to DDR2, but the actual memory type in my slot is DDR3. It does confusing.pls explain. – baalji av Jun 11 '13 at 15:14
  • 1
    @baaljiav: What do CPU-Z, Speccy etc. show? Is there any specific reason you want to display the info at the command prompt? – Karan Jun 11 '13 at 15:24
  • @Karan, Wouldn't CPU-Z show the same as the cmd? Indeed wouldn't the cmd be more reliable than CPU-Z? – Pacerier May 16 '15 at 20:47
  • @Pacerier: Phew, you're asking me about a comment posted almost 2 years back! From what I see I was responding to the OP saying that wmic's output wasn't matching the actual memory he installed, and thus suggested double-checking with CPU-Z, Speecy and the like. – Karan May 16 '15 at 20:58
  • @Karan, How does CPU-Z do it then, if cmd is not able to do it? – Pacerier May 24 '15 at 14:06

There is software out there that gathers information on some of the main devices of your system.

These program will display the details for you (and more). One example is CPU-Z. A screenshot that shows the information you are looking for:


Now, as per the excellent comment left by Breakthrough (I've copied it in case for any reason he decides to delete his comment):

You can run CPU-Z from a command prompt, and using the -txt=report.txt will place the CPU-Z output into the file report.txt without invoking the GUI (it also mentions a -console switch to output the information to STDOUT, but says it works under Windows XP only for some reason). See additional parameters here for additional details. – Breakthrough

  • Note that CPU-Z must be run as administrator (i.e., with elevated permissions)  to be able to get information on memory. – Scott Oct 21 '18 at 17:09
  • Useless, only says "4 Gbytes" and nothing else – Ivan Castellanos Aug 1 at 16:57

For a better look of the output, consider adding list full after wmic memorychip.

i.e., open cmd then type wmic memorychip list full

enter image description here


Another alternative you can use, which is free, is Speccy....by the same people who make CCleaner.

It gives you all your hardware specs, as well as temps, voltages, and other data in real time


  • Why didi Speccy get 0 votes but CPU-Z get 10 upvotes? – Pacerier May 16 '15 at 20:51
  • 2
    @Pacerier: I see you didn't upvote it either. :) Raising this issue is pointless, especially on 2 year old answers. You've been around long enough to know that sometimes there's no (apparent) rhyme or reason for people's voting. I've seen better answers (not saying this is one) with far less votes or even none compared to worse answers, with the latter even being accepted by the OPs sometimes. That's just how it is. If you want to debate this the best place is Meta, or Chat. – Karan May 16 '15 at 21:02
  • Note that Speccy must be run as administrator (i.e., with elevated permissions) to be able to get information on memory. – Scott Oct 21 '18 at 17:09
  1. Go To Start (Or Ask me anything) and type in Cmd then click on CommandPrompt

  2. In console window type (or paste) wmic MemoryChip

You should get full information about you RAM

enter image description here


for me, i can't see the voltage of the rams on my laptops for some reason using any of the programs mentioned above...

if you have the same problem as me,

once you find the part number using cmd (see the picture above by other posts)

wmic memorychip list full

google the part number, and you shall be able to find more relavant information on your ram.

Firstly by part no. (eg. HMT451S6AFR8C-PB ) the webpage is no longer available but there's cache on google! XD https://webcache.googleusercontent.com/search?q=cache:8vi-pY_TttYJ:https://schreibfehler.eu/w-123/hmt451s6afr8c-pb.html+&cd=1&hl=en&ct=clnk&gl=sg&client=firefox-b

from the webpage i found out the name and maker of the ram, then i searched again with voltage as search string.

" SK HYNIX 4GB 1Rx8 PC3 12800S voltage " https://www.ebay.com/p/SK-Hynix-4gb-Pc3-12800-Ddr3-204-pin-SODIMM-1-35v-Low-Voltage/664910591

i guess you can try searching directly in ebay as there is alot of second hand parts on sale on ebay and your ram might just pop up on the list using part no. as the search string.


Open the Command Prompt from the Start menu. You can also press ⊞ Win + R and type cmd to start it. Type wmic MEMORYCHIP get BankLabel,DeviceLocator,Capacity,Speed and press ↵ Enter . ... The BankLabel column will tell you which slots the RAM chips are installed in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.