Sagewire Logo

Script to Collect Computer Info

8 Message(s) by 3 Author(s) originally posted in cfml discussion


From: Ian Skinner Date:   Thursday, October 25, 2007


From: tclaremont Date:   Thursday, October 25, 2007
I need to start collecting information such as RAM , Operating System, etc on
the computers in my organization. What I'd like to do is send an email to
all users, asking them to merely click a button in my email. That button'd
run a ColdFusion page that collects as much information as possible and logs the info
into a database.

We use IIS and authenticate against the domain, so I know this will work
through ColdFusion for such information as login name, IP address (we use static IPs),
operating system , etc, so I am looking for solution s that will tell me more.
Can I get the RAM? Resolution (not that it has much value). How about (dare I
ask) programs installed?

Any suggestions appreciated.


From: Ian Skinner Date:   Thursday, October 25, 2007
Ok then.

Belarc Advisor:
http://www.belarc.com/free_download.html

The free version isn't server -client based (I.E, I do not know how you
would send a link in an e-mail and get the results in a database).
Maybe minds smarter then mine can figure out a way to do this. But the
Belarc website seems to indicate they'd be happy to sell you a
centralized network based solution if you've the money for it.


From: cf_menace Date:   Thursday, October 25, 2007
The IP address and such are things that the browser can access and thus pass
back to your Cold Fusion server. Information about the user's desktop like RAM
and installed software lie outside of the realm of the browser. ColdFusion cannot see
that information without some JAVA applet or ActiveX component to allow the
browser to access the desktop computer in some manner.

The "easy" thing you can do is ask your users to go to Programs > Access ories
System Tools > System Information. Once that launches, go to File > Export


and they can generate a text file (.cfg) with all the system info for the
actual desktop. Previous to XP, this file is formatted like an INI file using
name=value pairs. From Windows XP on, it's an XML file.

I'd say this is the only way you can reliably get this information. We
need the same info earlier in the year to diagnose an issue on our site and the
help desk people had to spend quite a bit of time to get these files from our
users.

HTH


From: tclaremont Date:   Thursday, October 25, 2007
I realize that server side Cold Fusion cannot accomplish this. However, it seems
like ActionScript or JAVAScript should be able to get the info and then pass it
back to the server so I can submit it to a database.

This doesn't seem like it'd be an uncommon goal, but I can not find much
about it, and the scripts that I do come across just flat out aren't working.


From: tclaremont Date:   Thursday, October 25, 2007
BrowserHawk is what I had in mind (I kept searching for BlackHawk), but on the
current demo page it doesn't seem to provide system information such as
processor speed or amount of RAM.

Basically, I need to collect information on my organization's computers so I
can start planning for upgrades for next year. I figured if I could send an
email to all users asking them to click a button, it'd be easier than
visiting each workstation and going to system... info.. blah blah blah...

So, I am not nearly as concerned about the web browser configuration, etc, as
I am about the hardware itself.


From: Ian Skinner Date:   Friday, October 26, 2007
Can you do that with a <CFEXECUTE ...> tag and parse the results into a
database?


From: tclaremont Date:   Friday, October 26, 2007
I think I have a solution that will work. I downloaded and installed PSInfo on
my own computer. From the command line I can can type psinfo\\machine name and
it'll query the other computer and show me the system information.

This isn't going to log it into a database, but since I have a list of the
machine names I can go through them one at a time and get the system
information without leaving my desk, and without asking the end user to do
anything at all.

Note, this isn't an endorsement or an attempt at spamming the group. I have
nothing to do with this software.

http://www.microsoft.com/technet/sysinternals/SystemInformation/PsInfo.mspx



Next Message: Capitalize the first letter?


Blogs related to Script to Collect Computer Info

cms asp
... code life safety training cms codes cms coding cms coding guidelines cms cold fusion cms collect.com cms collection company cms college kottayam cms com cms communication cms communications cms communications inc cms communications ...

backup battery rectifier
... gba rom backup brain backup branch computer desk help upgrade backup branch computer information manager upgrade backup branch computer information technology upgrade backup branch computer information upgrade backup branch computer ...

could not deduce template argument for
... could not find stored procedure xp_cmdshell could not find stored procedure xp_cmdshell. could not find stored procedure xp_sendmail could not find stored procedure xp_sendmail. could not find the coldfusion component could not find ...

error code is 44
... script error explorer in internet messenger script yahoo error explorer in internet printing script when error explorer in internet runtime error explorer in internet script error explorer information internet script system error ...

Telecommute
Telecommute Jobs To all, My name is Michael Firth a Coldfusion developer with over 6 years experience and I am currently seeking full time work or contract to work which can be done via telecommute from my location in Smyrna, GA. ...

cart chicago dog hot
... cold free fusion shopping cart cold fusion hosting shopping web cart cold fusion shopping cart coleman golf heater cart colf cart collapsable computer cart collapsable computer portable cart collapsable lightweight cart collapsable ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional