Skip to content

Instantly share code, notes, and snippets.

@SteGriff
Created February 12, 2015 11:10
Show Gist options
  • Save SteGriff/1320239006d35891bcb9 to your computer and use it in GitHub Desktop.
Save SteGriff/1320239006d35891bcb9 to your computer and use it in GitHub Desktop.
Use Windows registry to produce text file of all installed software
@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
@SteGriff
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment