471,616 Members | 1,315 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

Retrieve System Information

Hi,

I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...

The application is meant to run in a network with +/- 250 systems, so if
possible I don't want to install anything on those systems, most systems are
2000 or XP but they don't have all .Net Framework installed.

I don't mind if I need to logon to the clients somehow and pass a username
and password, to retrieve the information.

Can anyone help me with thie, send a small sample application.

Kind Regards

Stefan
Nov 21 '05 #1
2 1657
You can use the WMI (Windows Management Instrumentation) which is available
in both operating systems. There are lots of sample scripts available in
Internet. You can access the WMI from a .net assembly or via WSH (Windows
Scripting Host). After reading the information from the hosts, you will need
to upload the data to a SQL dbms. Its is likely that you will have to
install some database libraries on the hosts (MDAC or other COM based
library for WSH / .Net framework for .Net assemblies).

There is an application available for this kind of work on the Internet:
AIDA32. Its a good choice (actually free). I think this application uses DMI
to collect information.

"Stefke" <sf***@tiscali.be> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
Hi,

I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...

The application is meant to run in a network with +/- 250 systems, so if
possible I don't want to install anything on those systems, most systems
are
2000 or XP but they don't have all .Net Framework installed.

I don't mind if I need to logon to the clients somehow and pass a username
and password, to retrieve the information.

Can anyone help me with thie, send a small sample application.

Kind Regards

Stefan

Nov 21 '05 #2
"Stefke" <sf***@tiscali.be> schrieb:
I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...
This can be done using WMI:

<URL:http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=842&lngWId=10>
The application is meant to run in a network with +/- 250 systems, so if
possible I don't want to install anything on those systems, most systems
are
2000 or XP but they don't have all .Net Framework installed.


In order to use the sample above, WMI must be installed on the clients (this
is typically the case).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by jw56578 | last post: by
2 posts views Thread by Steve Barnett | last post: by
7 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
1 post views Thread by engteng | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.