15

From the Windows Program and Features manage screen(above) I want to create a text file that contains all installed programs:

enter image description here

How can I automate this work?

I'm thinking about some script that would read some registry keys and put the results into a txt file, any ideas?

17

Here are two possible solutions:

Powershell:

 Get-WmiObject Win32_Product | Sort-Object Name | Select Name,version,Vendor |export-csv myprogramlist.csv

WMIC:

wmic product get name,version,vendor >myprograms.txt
  • 6
    Just be aware that the Win32_Product class which both of these solutions rely on only registers the install information for products that install via the Microsoft Installer service (MSI). On the other hand, every product that is listed in the Add/Remove programs and features applet have a registry entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall – EBGreen Sep 16 '11 at 13:55
1

You can check this article. There might be an option. You can take a snapshot of the page and convert that to text. The article explains it in details.

Update 1: You can also take help of WMI product class to export all programs to csv. WMI product class contains the details about install apps. Using select * you can fetch data from there and store in csv. Read this example to know how to export control panel to csv.

Note: I am the developer of this script

  • While it's nice to have a link to credit your sources, you should provide some amount of details in case the link breaks. Typically, just a link will earn downvotes. – MattPark May 30 '13 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.