Solved

How do I get all system info

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
Error on moodle after upgrade 3 140
ORA-01403: no data found 43 106
x-bar in Google Sheets 2 70
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

860 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