How to Uninstall Programs using Command Prompt in Windows 10

If you are a Windows user, you might be well aware with how to uninstall a program from Control Panel. But, have you ever tried uninstalling programs using Command Prompt? In this tutorial, we are going to explain how to uninstall a program in Windows 10 using Command prompt.

Use can use this trick to impress your friends and show-off your hacking skills (pun intended). We will use Windows Management Instrumentation (WMI) commands to uninstall a program in this tutorial. WMI commands are quite helpful for other tasks as well.

SEE ALSO: How to start Command Prompt in current Folder?

Uninstalling a Program using CMD in Windows 10

Let’s get started with the process. Please note that you need to be Administrator on the computer to make this work.

Step 1

First of all, we need to open Command Prompt as administrator. Otherwise you won’t be able to uninstall a program using CMD.

Search for cmd in Windows 10 Start menu and select Command Prompt. Next select Run as administrator.

Search Cmd In Start And Click On Run As Administrator
Search cmd in Start and click Run as Administrator

Step 2

Now, Command Prompt window will open with administrator privileges. As mentioned earlier, we will use the Windows Management Instrumentation Command-line utility.

In the CMD window, type following command, and press Enter:


The prompt will change to wmic:root\cli> instead of default prompt. This indicates that we can now continue with WMI commands to uninstall programs using CMD.

Step 3

Before we start uninstalling a program, we need to check which programs are installed in Windows. This will help you with correct program name which you will use while uninstalling it. Type the following command to get the list of installed programs:

product get name

NOTE: WMIC commands can also be run directly from the command prompt, without entering the WMIC prompt first. Simply add “wmic” to the beginning of commands. For example, above command will become “wmic product get name“.

Step 4

From the list of the installed programs find and note the name of program that you want to uninstall. Now, to uninstall that program using Command Prompt, type following command in WMIC prompt:

product where name="program name" call uninstall

Make sure to replace program name with the actual name of the program you want to uninstall. In this tutorial, we are going to uninstall the Skype Meetings App. So, the command will become like this:

product where name="Skype Meetings App" call uninstall

SEE ALSO: How to Bulk Uninstall Windows 10 Apps using PowerShell?

After you press Enter, you will be asked to confirm. Type Y and press Enter to confirm your action. You can type N if you want to cancel uninstallation.

Step 5

Uninstallation process will start after your confirmation. Uninstallation might take some type depending upon the size of the program. And when program is successfully uninstalled, you will see a “Method execution successful” message. Also note that for successful operation ReturnValue should be 0 as indicated below.

You have successfully uninstalled a program using Command Prompt in Windows 10.

Uninstall Programs using Command Prompt in Windows 10

Above tutorial explained, how you can use Command Prompt to uninstall programs in Windows 10 via WMI commands. However, most of the users still prefer uninstalling programs from Control Panel as it is more convenient.

Hope you liked this tutorial. Feel free to share your queries and suggestions in comment section down below.

SEE ALSO: 10 Cool Command Prompt Tricks

Editorial Staff

Hi there, we are the editorial staff at HELLPC Tutorials. We are a team of funny and technical people. Feel free to get in touch with us via Contact-Us page.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button