Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Software Profile Generator

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,53955
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
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!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Software Profile Generator - 12/1/2007 9:42:31 PM   
  Meg


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.


      
 
 
Post #: 1
 
 RE: Software Profile Generator - 12/5/2007 12:07:58 AM   
  Meg


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.



      

(in reply to Meg)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Software Profile Generator Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts