Created
February 12, 2015 11:10
-
-
Save SteGriff/1320239006d35891bcb9 to your computer and use it in GitHub Desktop.
Use Windows registry to produce text file of all installed software
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Software List > software_list.txt | |
echo ================= >>software_list.txt | |
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt | |
find "DisplayName" temp1.txt| find /V "ParentDisplayName" > temp2.txt | |
for /f "tokens=2,3 delims==" %%a in (temp2.txt) do (echo %%a >> software_list.txt) | |
del temp1.txt temp2.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From princehancey on TechRepublic c. 2009