Solved

How do I get all system info

Posted on 2002-05-12
6
1,059 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
while loop over for loop 7 92
centeredAverage challenge 8 130
NotAlone Challenge 20 79
Execute multiple curl cmds with sleep and send output to file 10 88
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

914 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

14 Experts available now in Live!

Get 1:1 Help Now