How do I list all installed programs in Windows from the command line?

If you’re looking to list all installed programs in Windows from the command line, you’ve come to the right place. This guide will walk you through the steps needed to achieve this using various command-line tools available in Windows. Whether you’re managing software installations or troubleshooting, knowing how to access this information quickly can be a valuable skill.

How to List Installed Programs Using the Command Line

To list all installed programs in Windows using the command line, you can use the Windows Management Instrumentation Command-line (WMIC). This tool provides a simple way to access system management information.

Step-by-Step Guide to Using WMIC

  1. Open Command Prompt: Press Windows + R, type cmd, and press Enter.
  2. Run WMIC Command: Type the following command and press Enter:
    wmic product get name,version
    
  3. View the List: The command will return a list of installed programs along with their versions.

This method provides a straightforward way to access the list of installed applications without navigating through the Control Panel.

Alternative Methods to List Installed Programs

Using PowerShell

PowerShell offers a more modern approach to listing installed programs and can provide additional details.

  1. Open PowerShell: Search for PowerShell in the Start menu and open it.
  2. Execute the Command: Enter the following command:
    Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion
    
  3. Review the Output: This command lists the display name and version of each installed program.

Using Third-Party Tools

For users who prefer a graphical interface or need more detailed information, third-party tools like CCleaner or Belarc Advisor can be used to generate comprehensive lists of installed software.

Benefits of Using Command Line for Listing Programs

  • Efficiency: Quickly access information without navigating through multiple menus.
  • Automation: Easily automate tasks using scripts.
  • Remote Access: Useful for managing systems remotely.

People Also Ask

How do I export a list of installed programs?

To export a list of installed programs to a text file using WMIC, use the following command:

wmic product get name,version > C:\InstalledProgramsList.txt

This command saves the list to a text file at the specified location.

Can I uninstall programs using the command line?

Yes, you can uninstall programs using WMIC with the following command:

wmic product where "name='Program Name'" call uninstall

Replace 'Program Name' with the exact name of the program you wish to uninstall.

Is there a way to list programs installed for all users?

Yes, using PowerShell, you can list programs installed for all users by querying both the HKLM and HKCU registry hives.

What is the difference between WMIC and PowerShell?

WMIC is a legacy tool that provides basic system management capabilities, while PowerShell is a more powerful scripting language that offers extensive control and automation capabilities.

How can I check for recently installed programs?

To find recently installed programs, sort the list by the installation date using PowerShell:

Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, InstallDate | Sort-Object InstallDate -Descending

Conclusion

Listing installed programs from the command line in Windows can be a quick and efficient way to manage your software. Whether you choose to use WMIC, PowerShell, or third-party tools, each method provides unique benefits and can be tailored to fit your needs. For further exploration, consider learning more about PowerShell scripting or exploring other system management tools available for Windows.

For more tips on managing Windows systems, check out our guides on automating tasks with PowerShell or using Windows Task Scheduler.

Scroll to Top