How to Check the Memory on a Computer With CMD
While you can find the total amount of physical memory, or RAM, installed on your computer from the Windows 8.1 Control Panel, you can get even more information, such as slot location and speed, by using the WMIC (Windows Management Instrumentation Command-line) command on an elevated Command Prompt console. If you have multiple memory modules installed on your computer, the Command Prompt console displays the information on each module separately. You can also use an alternate command, if you only want to check the total amount of physical memory installed.
Press “Win-X” to bring up the Power User menu, select “Command Prompt (Admin)” and then click “Yes” to open the Command Prompt console in elevated mode.
Enter “wmic MemoryChip get BankLabel, Capacity, Speed” (without quotes), then press “Enter.” The Command Prompt console detects and displays the DIMM (dual in-line memory module) slot number, capacity (in bytes) and speed (in MHz) of each memory module on your computer. Alternately, type the command: systeminfo |find "Total Physical Memory" and then press “Enter” to get the combined amount of physical memory on all memory modules in megabytes.
Press “Alt-E” to exit the elevated Command Prompt console.
Tips & Warnings
- You can follow the “wmic MemoryChip get” command line with the “BankLabel,” “Capacity” or “Speed” commands in any order, or omit any commands that you deem as unnecessary. For example, simply type “wmic MemoryChip get Capacity” (without quotes) into an elevated Command Prompt console to only check the capacity of each memory module.
- You can also use the “MSINFO32” command (without quotes) on the Command Prompt console to bring up the System Information window. Click the “System Summary” side-tab and then check next to Installed Physical Memory (RAM) to find the total amount of RAM installed. You can also check next to Total Virtual Memory to find out the total amount of virtual memory – reserved hard drive space used by the operating system when it runs out of physical memory – on your computer.
- To open an elevated Command Prompt in Windows 7, click "Start," type "Command," right-click "Command Prompt" and then select "Run as Administrator."