How do I get all system info

Hi,
I know that there is lots of code out there for
getting CPU speed and memory etc, however I also
need to get:

Computer Manufacturer
Computer Model

i.e. Dell Dimension 750c

Sounds simple, but I need to do this as a command
line utility, so I need either the code (API calls
or a DLL that I can hook into) or simply a command
line utility.

Oh and by the way it needs to give this info for NT4
as with 2000 its easy, its in the registry.

What would be brilliant would be if I could get all
the info that Belarc advisor gets (free download
http://www.belarc.com), they do manage to get this info, but I need it as a command line tool
as these are remote machines with no screen on them.

Not easy, but for 200 points !!

By the way I am getting closer, this nearly does
what I want http://www.navsoft.cz/indexen.htm

LVL 1
mallyhAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
moduloConnect With a Mentor Commented:
PAQed, with points refunded (200)

modulo
Community Support Moderator
0
 
MukkiCommented:
I know that WMI provides many information (Win32_Processor for instance), but I don't think that it will do benchmarks too.

Mukki
0
 
mallyhAuthor Commented:
Hey,
It took me a long time, but I now at least have the
answer, I cannot award myself the points so I guess
I should leave the info here for anyone who needs
the same info:

http://www.majorgeeks.com/article.php?sid=241
(or just search for SMBIOS.exe)

SMBIOS.exe dumps the whole Bios out and as well as
lots of other info I also get the following:

¨T¨T> Type 1:  System Information
Struc length is 25 bytes.
Struc handle is 0001h.
Manufacturer:  Hewlett-Packard
Product Name:  HP Brio
Version: BA600
Serial Number:  NL01413430
Universal Unique ID #:  3F71CD010A9711D4B9AA8B7576348B14
Wake-Up Type:  Power Switch

0
 
jcgdCommented:
Read the Registry:

HKEY_LOCAL_MACHINE\hardware
HKEY_LOCAL_MACHINE\Enum
0
 
mallyhAuthor Commented:
That would be really nice, but this is NT, this
info is not in the registry on NT.

I will be really happy if you can show me an example
proving me wrong, perhaps you have a way of reading
the HAL keys (Hardware Abstraction Layer), that would
be great, however the answer here is unfortnately not
in the registry (unless I am mistaken).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.