Wmic Get Ram Slots

The wmic command in your article doesn’t give the total amount of physical memory, it only gives the capacity for 1 memory module. On this PC I have 2 4gb RAM modules, and “wmic memorychip get capacity” returns “” (ie 4gb) On windows 7 use the following command to get the total physical memory in bytes. (get-wmiobject -class 'win32physicalmemory' -namespace 'root CIMV2').Capacity This gives me the value: bytes. So, not only is the total physical memory calculated from counters changing, but it's value differs from the WMI value by a couple megabytes. Anyone have any ideas as to how to get the physical memory size without using WMI?

Wmic Get Ram Slots Free

WmicWmic get ram slots freeWmicWmic get ram slots casino
How could I easily find out total number of memory slot in used and the memory size of each RAM module in the RAM slot, without open up computer casing?
The answer is to command the power of WMI in Windows Management Instrumentation Command-line (WMIC) utility!
WMIC is bundled with Windows XP and above (including the latest Windows 7). For those who are not using Windows XP and above, try to look for motherboard / memory utilities. Please share if you know of any.

I know there are 4GB RAM in my Core 2 Duo Desktop at home, but I can’t remember how many memory module or the size of each RAM installed to the memory slots.
I try to download the latest ASUS PC Probe II V1.04 (for P5B-Plus Vista Edition motherboard) but it does not work with Windows 7 64-bit, as ASUS driver download site said it works up to Windows Vista 64-bit :-(
Of course open the casing and take a look is not much effort, but why I have to do “dirty work” if there is an easier way to find out in no time?
So, here is this WMIC command I used to find out the number of RAM slot in used and the size of each RAM module in the memory slots.
1) Open the Command Prompt window and execute the following sample. I have tested this sample in both Windows 7 and Windows Vista and confirm there is no need of using Command Prompt with elevated privilege.
2) Run this WMIC command
The easiest way of remember this WMIC command is simply type wmic /? to find out more information. For this particular case, you can shorten the WMIC command for a lengthy output, e.g. wmic memorychip output all information related to memory detected by WMI.
As you can see, there is no need to install additional program, writing a Windows Shell Script or PowerShell script, etc. If you’re using Windows XP and above, the bundled WMIC does the job well.


Wmic Get Ram Slots Online

  1. re: Use WMI To Find Out RAM Slot In Used And Memory Size Of Each Slot…not work with my XP SP3. I got ”MEMORYCHIP -Alias not found” and verified that no such alias by enquiry with “wmic /?”

  2. This worked awesome on my X64 Windows 7 Laptop. Nice work. I can’t believe I have been an admin for so long and never ran across this command. Thanks.

  3. I couldnt find “MEMORYCHIP” searching through wmic /? … some help please!

  4. Awsome !
    I’m developing a C++ app. to connect WMI, then
    I used this as a reference to query cimv2 namespace, knowing the expected result for each device polled.
    Thanks

  5. WMIC MEMORYCHIP shows only RAM slot in use. But how to show all RAM slots with their maximum available capacity?

  6. You rock man. it works for win7 64bit.

    Thanks,

    Michael

  7. Hi, in which unit is the capacity displayed? Thanks Dawie

  8. It’s in byte.

  9. absolutely awesome command,

    works like a charm

  10. Nice! No additional SW to install!

    Thanks,
    Ravi.

  11. Thank you Walker! Great command!

    The best part is not having to reboot a user’s machine just to check the BIOS for this information.

  12. I agree with Zdzich that how to find free slots of server that command only shows used slots.

  13. wmic memphysical get memorydevices

    shows the number of memory slots. Just deduct the number of used slots then you’ll find the remaining available unused slots.

    To find out which slot is being used by memory cards installed, use this command:

    wmic memorychip get capacity, devicelocator

    Good luck!

  14. Awesome! Just what I was looking for. This gives me lots of programming ideas with WMIC, too!
    Thanks man!!

  15. This quick and simple solution made my day! Thanks for the tip!

  16. Great!! Awesome!!!

  17. Thanks! exactly what I was looking for.

  18. How to find the DIMM empty slots ?

  19. Motherboard WIC command :

    wmic baseboard get product,manufacturer,versio,serial number

  20. Great work thank you for your help. My job just go so much easier.:-)

  21. This is an awesome job. Worked at once

  22. Wonderful commands – works like charm!

  23. Fantastic! Wow, i didnt know about this method at all. Genius. Thank you!

  24. Note:in xp can use ‘mem’ command
    hop this also useful

  25. need to find total slots available, if ram is not connected in one slot also.

  26. can we do this somehow on a remote pc on the network?

    ty

  27. Type wmic /node:”computername” memorychip get banklabel,devicelocator,caption,capacity. Substitute the name of the remote computer for “computername” in the command.

    Mike

Comments are closed.