Solved

How do I get all system info

Posted on 2002-05-12
6
1,057 Views
Last Modified: 2013-11-20
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

0
Comment
Question by:mallyh
6 Comments
 
LVL 1

Expert Comment

by:Mukki
ID: 7004188
I know that WMI provides many information (Win32_Processor for instance), but I don't think that it will do benchmarks too.

Mukki
0
 
LVL 1

Author Comment

by:mallyh
ID: 7004750
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
 
LVL 3

Expert Comment

by:jcgd
ID: 7004985
Read the Registry:

HKEY_LOCAL_MACHINE\hardware
HKEY_LOCAL_MACHINE\Enum
0
 
LVL 1

Author Comment

by:mallyh
ID: 7005940
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11886470
PAQed, with points refunded (200)

modulo
Community Support Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now