Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer

up vote 5 down vote accepted

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
share|improve this answer
It works, thanks you very much. – Diogo Sep 16 '11 at 12:44
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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