All Forums >> [Scripting] >> Post a VBScript >> Software Profile Generator Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Posts: 123
Score: 2
Joined: 7/13/2006
From: Australia
Status: offline
This is a “Software Profile Generator. It uses a database as a filter which stores a list of the apps you don't want to appear on the software profile report.
It lists all items in the specified computer's “Add Remove Programs”, sorted, filtered, duplicates removed and displays a print button for your convenience.
There is a check box next to each item which you can click to add that item to the database. The page refreshes and displays the same list minus that item. Go through and remove all items which are security updates, drivers and SOE components and then go ahead and run it on as many machines you like.
I have only just written and tested this script at home this weekend, but it is designed for my corporate environment of XP machines. I have incorporated a feature where you can launch the HTA with a command line argument but that is not working yet because of security restrictions relating to HTAs, domains and databases. PITA
Place the script on a network share to run and other users will share the same filter database.
Copy the below code and past into a file with a .HTA extention, enjoy and give me feedback so I can improve it. Any updates will be to the this post.
Posts: 123
Score: 2
Joined: 7/13/2006
From: Australia
Status: offline
The script in the previous post is great, but as it is a HTA which uses a database, it as security restrictions applied to it, i.e. it only works if you directly click on it, you can not pass any variables to it from another script or from the command line.
That does not matter because now I have written a VBS version that does allow you to do that. I have dumbed down the features so this script is the read only viewer you distribute a shortcut to. The HTA version is the full blown viewer that allows you to create the baseline of what programs to exclude from the software profile.
The VBS, HTA and database must be in the same folder, preferably a network share. Run the HTA first, this creates the backend database. Then run this VBS to view the profiles. Press CTL + P to print the VBS, right click to save. To add additional applications to the baseline filter, run the HTA again.