MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
September
Sun Mon Tue Wed Thu Fri Sat
       
25  
2011
Months
Sep


Sun, Sep 25, 2011 9:25 pm

List Installed Programs

I needed to produce a list of programs installed on a Microsoft Windows system to send to someone else so she could check it for no longer needed programs and tell me which ones are no longer needed, so I could remove them to free disk space. Bill James has a VBScript script, InstalledPrograms.vbs, which can be run from a command line, which prompts for the name of the system to check via a popup window, as shown below:

InstalledPrograms name or IP prompt

After that prompt, you are asked whether you wish to view the results produced by the program as shown below.

InstalledPrograms save results prompt

The list of installed programs is stored in a file that has the name of the system on which it is run followed by an underline, then the date in mmddyyyy (month-date-year) format, then another underscore followed by the time in military time, i.e. 24-hour clock time, another underscore and then "Software.txt". E.g. CRYSTAL_09252011_175147_Software.txt for a file produced when the program was run on a system named Crystal on September 25, 2011 at 5:51:47 PM. The file is stored in the directory in which the script is run.

If you click on "yes" to view the results, the file produced by the program will be opened in the default .txt file viewer, which, on Microsoft Windows systems, will likely be Notepad.

An example output file can be seen here. The list is similar to the list of installed programs that you would see by checking with "Add or Remove Programs" under the Control Panel. It is obtained by querying the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\.

Download InstalledPrograms

References:

  1. VBScript Tools by Bill James
    BillsWay.com
  2. VBScript
    Wikipedia, the free encyclopedia

[/languages/vbs] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo