How to Uninstall Software via CMD
Last Updated :
23 Jul, 2025
Uninstalling programs through the Command Prompt (CMD) can be a powerful method, especially when you can't access the standard Windows settings or need to automate the process. Whether you prefer using text-based commands or need a quick solution to remove software from your system, this guide will show you the steps to uninstall programs from Windows 10 and 11 using the Command Prompt.
Prerequisites:
Before proceeding with uninstalling software via CMD, ensure that you have:
- Administrative privileges on your Windows PC.
- Access to Command Prompt: You will need to run it as an administrator for successful uninstallation.
Method 1: Use winget Command Line Tool
If you installed the software using winget, it’s easy to uninstall it with the same tool.
Step 1: Open CMD as Administrator
Make a right-click on the Start button and choose Command Prompt (Admin).
cmd as adminStep 2: List Installed Applications
To view all installed applications, run:
winget list
For example: winget uninstall Google.Chrome
winget listStep 3: Run Command to uninstall the program
To uninstall an application, use the following command:
winget uninstall <software_name>
winget uninstallFor example: winget uninstall Google.Chrome
Method 2: Using Chocolatey
If you installed the software using Chocolatey, you can also use Chocolatey to uninstall it.
Step 1: Open CMD as Administrator
Right-click on Start and select Command Prompt (Admin).
cmd as adminStep 2: Uninstall the Software
Run the following command to uninstall the software:
choco uninstall <software_name>
uninstallFor example: choco uninstall googlechrome
(uninstall Google Chrome)
Method 3: Using WMIC
wmic (Windows Management Instrumentation Command-line) is a tool that allows you to manage various aspects of the Windows system, including software uninstallation.
Step 1: Open CMD as Administrator
Right-click on Start and select Command Prompt (Admin).
adminStep 2: Open the List of Installed Software
Run the following command to list installed software:
wmic product get name
get name commandStep 3: Uninstall the desired program
To uninstall the software, run the following command:
wmic product where name="<software_name>" call uninstall
wmic productFor example, to uninstall Google Chrome, run the following command:
wmic product where name="Google Chrome" call uninstall
Note: You can verify by checking if the software still appears in your list of installed programs.
Conclusion
Uninstalling software via CMD is a convenient and efficient way to remove unwanted programs, especially when traditional methods fail. By using WMIC, Winget or Chocolatey, you can take full control of the program removal process. Whether you’re managing your personal computer or administrating a network, mastering the use of CMD for uninstalling applications is a handy skill that can simplify your workflow.
Similar Reads
How to Install Software via CMD Installing software on your computer usually means clicking through a setup wizard, but did you know you can do it faster with just a few typed commands? Using the Command Prompt (CMD) in Windows, you can install programs without all the mouse clicks, making it a handy trick for quick setups or mana
4 min read
How to Remove Virus Using CMD? Viruses and malware can wreak havoc on your computer, causing slow performance, data loss, and security breaches. While there are numerous antivirus programs available, using Command Prompt offers a powerful and direct method to remove viruses without the need for additional software. CMD is a built
4 min read
How to uninstall OpenCV in Windows? OpenCV (Open Source Computer Vision Library) is a powerful open-source computer vision and machine learning software library. While it provides incredible functionality for image processing and analysis, there may come a time when you need to uninstall it from your Windows system. This article will
1 min read
How to Install or Uninstall a Windows Service in C#? Windows Services is a core component of the Microsoft Windows NT operating system that allows the creation and regulation of processes. Windows Services can start without user intervention and may continue to run long after the user has logged off. Windows services run in the background of the OS an
3 min read
How to Uninstall Firefox on Windows? If you're considering changing your web browser or facing problems, you might be interested in learning how to remove Firefox from your Windows computer. This manual offers a detailed method for thoroughly getting rid of Firefox from your Windows system, including instructions for both standard unin
2 min read
How to Uninstall Microsoft Edge From Windows 10? The built-in web browser that comes with Windows 10 is Microsoft Edge. That has become popular due to its efficiency, speed, and compatibility with Windows services. You can dispose of your Microsoft Edge in case you want, there are a few steps that you should comply with to get it achieved. Methods
4 min read