Web based asset script? (Full Version)

All Forums >> [Community] >> Computer Software and Hardware issues



Message


sentinel -> Web based asset script? (4/28/2006 11:30:13)

Does anyone know of a script that could be run off of a website that would take a simple PC inventory. I would like to have people in my company hit our intranet and have the site determine whether or not to take an inventory of their system.




rdouglass -> RE: Web based asset script? (4/28/2006 12:54:39)

quote:

have the site determine whether or not to take an inventory of their system


IMO that's the hard part - getting a user machine to let a web site script take control of the PC. You can do a lot of that stuff with just MS Info and WSH bat files as long as you can get the remote machine to agree to run the script.

Using just MSInfo, I collect stats on my servers (all in same domain) running a .BAT file on my local computer that looks something like this:

cd\
cd "Program Files\Common Files\Microsoft Shared\MSInfo"
msinfo32 /report c:\emc2.nfo /computer emc2
msinfo32 /report c:\emeraldcity.nfo /computer emeraldcity
msinfo32 /report c:\citrix380.nfo /computer citrix380
msinfo32 /report c:\Xtech-002.nfo /computer Xtech_002
...


That is the actual code I use. However, there are some caveats:

1. I have admin rights on those remote servers.
2. Windows Scripting Host is allowed to runon remote servers.
3. MS Info is installed and working on remote servers.

What this does is save an MS Info detailed file on *my* local machine that I name as the machinename itself(c:\emc2.nfo). Then, I manipulate the .nfo later with other things.

I don't collect stuff on my user machines but I do know same conditions would apply.

I don't know if that helps or not.




Reflect -> RE: Web based asset script? (5/1/2006 11:37:23)

Why not do this when your users are logging into the workstation itself?

Take care,

Brian




rdouglass -> RE: Web based asset script? (5/1/2006 11:47:03)

quote:

Why not do this when your users are logging into the workstation itself?


'Cause AFAIK if you don't have the proper (remote) permissions, the user has to click or do something. If you want to slow something down or introduce some "unknowns" to a project, rely on some user input. [:'(]

Something like this IMO is usually better off without user input.




Reflect -> RE: Web based asset script? (5/4/2006 11:09:30)

No, you miss understood or I wrote that wrong.

He stated has an internal company of workstations.

When logging into the network, not the web site, via the login script you can kick out external commands, pretty common thing to do. We do this every Monday on every workstation. The results are grepped into a file. We then grab the files automatically and grep it against the license allotment for the end user. I did not write this, way above my head, but it was a purchased product. We wrote the grep portion and compare to license DB portion, again not me but a person in the department.

We then remove applications based on illegal access. Normally this is done by a well intentioned CS tech. trying to help the customer out. We then allot a license and re-install if the application is justified by the end user.

Sorry for the confusion I created. No user input is required. In fact they are amazed every time that we knew they had an illegal installed application.

Take care,

Brian




rdouglass -> RE: Web based asset script? (5/4/2006 11:25:11)

quote:

via the login script you can kick out external commands, pretty common thing to do.


Why didn't I see that? It is an appropriate place to do that. I guess I was so focused on 'pulling' the data, I didn't consider 'pushing' it. [8|] [;)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625