dmidecode is a Linux utility that reads the BIOS and prints out the configuration of the machine (CPU, cores, RAM).
Browsing the Internet I've found one version for Windows, but it's still version 2.10 and it doesn't support newer BIOSes.
So I've picked up the patches that Hugo Weber had done for version 2.8 and integrated them into the 2.11 source tree.
I've compiled them with DevC++ and here they are:
- dmidecode.exe - compiled binary: works on Windows 2000 and up (no 9x, if someone is still using it)
- dmidecode-2.11win.zip - patched sources.
Superb, thank you. Here is the batch file I made to pull out only the memory info:
ReplyDelete( BJ1 is the room number preface, CID.txt is the computer's ID )
@echo off
rem http://astro-stuff.blogspot.com/2010/03/how-now-how-many-slots-of-memory-are.html
rem http://pleasedonttouchthescreen.blogspot.com/2012/05/dmidecode-211-for-windows.html
dir c:\ | find "BJ1" | sed "s/^.*B/ B/" >> tmp.txt
echo. >> tmp.txt
dmidecode | sed -n "/0x0036,/,/0x003B,/p" | find /v "0x003B," >> tmp.txt
echo. >> tmp.txt
rem notepad tmp.txt
type tmp.txt | find "BJ1">> dmidecode.txt
type \CID.txt | sed "s/^/ /">> dmidecode.txt
type tmp.txt | find "Size" | find /v "No" >> dmidecode.txt
echo.>> dmidecode.txt
del tmp.txt
notepad dmidecode.txt
Thanks for the update. I was using Hugo Weber 2.8 version for a long time but it fails on newer HP business PCs with UEFI BIOS. Will try this new version @works.
ReplyDeleteOthers fine (command line) tools:
http://sourceforge.net/projects/smbiosreader/
Probes the SMBIOS and returns detailed data about the system RAM
http://web.inter.nl.net/hcc/J.Steunebrink/
CPU Identification utility
http://sourceforge.net/apps/trac/smartmontools/wiki
control and monitor storage systems