Is there a dos command to list all installed applications? Does anybody know of such dos command? If you know it, could you let me know what is it? or tell me it doesn't exist so I can find a different route to address my needs? Thanks in advance for your input
Alex
- Follow via:
- RSS
- Email Alert
Question
Answers (11)
0
Votes
No specific command, but you can do a directory listing
go to the root of your C: drive first
C:\my stuff>cd\
C:\>dir /w /s >dirlisting.txt
this will output a list of all files and subfolders to a file called dirlisting.txt on the root of your C: drive. This won't tell you all running apps, but you can see what you have on your hard drive based on the folder names and their paths.
C:\my stuff>cd\
C:\>dir /w /s >dirlisting.txt
this will output a list of all files and subfolders to a file called dirlisting.txt on the root of your C: drive. This won't tell you all running apps, but you can see what you have on your hard drive based on the folder names and their paths.
27th Mar 2007
Replies
Edited by moderator
Message was edited by: beth.blakely@...
Message was edited by: beth.blakely@...
luket@...
27th Mar 2007
0
Votes
regedit...
you may use regedit to dump into a text file the content of the key :
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
this will list each and every piece of software shown in the add/remove program control panel.
you'll then have to process the text to strip down undesired info (like maybe the drivers that every so often appear like {15634F-265432-543151765376}) As you're a netadmin I take it you'll find your way with some perl script (active perl allows to "compile" perl scripts as exe)
From Windows 2000 on the WMI instrumentation can also be queried to get the deal (I've not the opportunity to dig that from MS technet know, let me know by email if you wish that I schedule some more time for that)
if your target organization is larger than a SOHO I'd really advise you to consider a inventory solution like Insight Manager / TopTools/ Tivoli/ SMS or their Open Source counterparts
(have a look at http://sourceforge.net/project/showfiles.php?group_id=58373&package_id=155185&release_id=488140 )
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
this will list each and every piece of software shown in the add/remove program control panel.
you'll then have to process the text to strip down undesired info (like maybe the drivers that every so often appear like {15634F-265432-543151765376}) As you're a netadmin I take it you'll find your way with some perl script (active perl allows to "compile" perl scripts as exe)
From Windows 2000 on the WMI instrumentation can also be queried to get the deal (I've not the opportunity to dig that from MS technet know, let me know by email if you wish that I schedule some more time for that)
if your target organization is larger than a SOHO I'd really advise you to consider a inventory solution like Insight Manager / TopTools/ Tivoli/ SMS or their Open Source counterparts
(have a look at http://sourceforge.net/project/showfiles.php?group_id=58373&package_id=155185&release_id=488140 )
27th Mar 2007
0
Votes
Try export from registry
You can use reg.exe command-line tool to get data containing in HKLM\Software\Microsoft\Windows\Uninstall.
18th Feb 2008
Replies
reg.exe works very good to get the list that I need.
edexg
17th May 2008
0
Votes
Your best bet.....
Your best bet would be to run some PC auditing software like Centennial Discovery. This will scan your HDD and compare to a database of known programs signatures and output the result nicely for you.
18th Feb 2008
0
Votes
Just adding to the list..Command Script to list all installed programs
http://www.vbsedit.com/scripts/apps/user/scr_226.asp
Please post back if you have any more problems or questions.
Please post back if you have any more problems or questions.
17th May 2008
Replies
This script generates a syntax error.
slylabs13
19th May 2011
0
Votes
Batch program to list the softwares installed
echo List of softwares > 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
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
8th May 2009
Replies
i have been trying for 3 hours to get displayname and Publisher information into software_list.txt but i been unsucessful can you please help
thank you
thank you
tafi786
8th Mar 2010
really very good
thank u
thank u
rajeshdontham
5th Apr 2011
Thank you, I use the above scripted, modified a little bit to fit my needs, may help someone else. I wanted the quotes out of the output.
@echo off
c:
cd\
cd %userprofile%\desktop
echo List of softwares > temp3.txt
echo ================= >> temp3.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 >> temp3.txt)
erase temp1.txt
erase temp2.txt
@echo off > SoftwareList.txt & setLocal enableDELAYedeXpansion
set Q="
for /f "tokens=* delims= " %%a in (temp3.txt) do (
set S=%%a
set S=!S:"=!
>> SoftwareList.txt echo.!S!
)
erase temp3.txt
notepad SoftwareList.txt
@echo off
c:
cd\
cd %userprofile%\desktop
echo List of softwares > temp3.txt
echo ================= >> temp3.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 >> temp3.txt)
erase temp1.txt
erase temp2.txt
@echo off > SoftwareList.txt & setLocal enableDELAYedeXpansion
set Q="
for /f "tokens=* delims= " %%a in (temp3.txt) do (
set S=%%a
set S=!S:"=!
>> SoftwareList.txt echo.!S!
)
erase temp3.txt
notepad SoftwareList.txt
contactaleem@...
16th Jan
1
Vote
Use the Management Instrumentation Command-line
Windows comes with a command line version of the Management Instrumentation (WMIC).
To get the list of all installed programs in a text file, simply enter the following command in a prompt:
wmic product > c:\product.txt
To get the list of all installed programs in a text file, simply enter the following command in a prompt:
wmic product > c:\product.txt
29th Nov 2009
Replies
... works like a charm and the results are easily imported into Excel.
subs@...
1st Mar 2010
To get a list of installed apps on a remote PC you can do the command:
wmic /node:"PC NAME" product list
and redirect it to a file using file redirections
wmic /node:"PC NAME" product list
and redirect it to a file using file redirections
janus_bar@...
4th Jan 2011
Zombie Alert!!!
Mehul Bhai
4th Jan 2011
wmic does NOT LIST ALL installed software. Try it on a computer that has Windows Search 4.0 installed and see if it lists it.
A LOT of people are asking this question and the answers are all the same. WMIC will not do it properly. There is no single registry query that will do it because different OSES 32bit 64bit etc will put things in different places in the registry. PSInfo from PSTools does a great job. Too great. It lists all the updates and hotfixes as well as installed software, and there is no way to filter the noise out. Still, that is the best way so far, and you can query every active device in a domain too. Output the results to a text file and parse it with something else and you pretty much have your list.
A LOT of people are asking this question and the answers are all the same. WMIC will not do it properly. There is no single registry query that will do it because different OSES 32bit 64bit etc will put things in different places in the registry. PSInfo from PSTools does a great job. Too great. It lists all the updates and hotfixes as well as installed software, and there is no way to filter the noise out. Still, that is the best way so far, and you can query every active device in a domain too. Output the results to a text file and parse it with something else and you pretty much have your list.
slylabs13
19th May 2011
1
Vote
WMIC from Cmd
C:\windows\system32\wmic is the command
Below syntax is to execute this command
C:\windows\system32\wmic \output:C:/installed.txt product get name, version
Below syntax is to execute this command
C:\windows\system32\wmic \output:C:/installed.txt product get name, version
19th Jan 2011
Replies
Zombie Alert!!!
Mehul Bhai
19th Jan 2011
I think you got your slashes mixed up...
wikki wrote:
C:\windows\system32\wmic \output:C:/installed.txt product get name, version
Shouldn't it be?:
C:\windows\system32\wmic /output:C:\installed.txt product get name, version
wikki wrote:
C:\windows\system32\wmic \output:C:/installed.txt product get name, version
Shouldn't it be?:
C:\windows\system32\wmic /output:C:\installed.txt product get name, version
B.Kaatz
20th May 2011
0
Votes
Zombie thread and incomplete answer
Since there are applications that make no registry entries, and do not therefore appear in add-remove-programs list, simply pulling the registry will typically only get around 80% of the actual licensed apps on the machine. You need a utility that can hit both the registry and baseline/enumerate all executable files such as Symantec Altiris software inventory.
20th May 2011
0
Votes
All Programs
As stated, nearly all of the command line, registry based, and related utilities only list those programs that install and place proper registry entries in the proper keys.
Just listing all of the executables on a system is not very helpful either, as you have a lot of sorting and elimination to do to make a simple list.
I have used Win Audit and it gives a fairly detailed list.
SIW is another viable option.
http://www.gtopala.com/
The real question is what do you need / want to do with this information?
If this is for a business that wants to make sure that only licensed and approved software is installed, you really need to lock down the computers and install monitoring software.
Chas
Just listing all of the executables on a system is not very helpful either, as you have a lot of sorting and elimination to do to make a simple list.
I have used Win Audit and it gives a fairly detailed list.
SIW is another viable option.
http://www.gtopala.com/
The real question is what do you need / want to do with this information?
If this is for a business that wants to make sure that only licensed and approved software is installed, you really need to lock down the computers and install monitoring software.
Chas
20th May 2011
0
Votes
Try this Freeware Tool for Software Audit
You can audit programs and updates on your PC and also on any Windows PC in your network using EMCO Network Software Scanner freeware tool: http://emcosoftware.com/network-software-scanner.
This tool allows collecting software inventory info for every PC and export it to a CSV file.
Hope this helps.
This tool allows collecting software inventory info for every PC and export it to a CSV file.
Hope this helps.
9th Dec 2011

































