# How to Uninstall a Program using CMD on Windows 10

**URL:** https://www.compsmag.com/blogs/how-to-uninstall-a-program-using-cmd-on-windows-10/
**Author:** Ayushi Chauhan
**Published:** 2022-02-22
**Updated:** 2022-02-22
**Categories:** Blogs
**Tags:** Blogs Daily, Computer Guides, Development tips and tutorials, guiderobert, Guides and Tutorials, guiding12, How To Guide, How To Guides, Software tips and tutorials, Tips, Tricks, Windows 10
**Reading Time:** 3 min

---

This tip is about the how to Uninstall a Program using CMD on Windows 10. So read this free guide, How to Uninstall a Program using CMD on Windows 10 step by step. If you have query related to same article you may contact us.

## How to Uninstall a Program using CMD on Windows 10 - Guide

A quality feature in the Windows family is to uninstall the program via command prompt.  We can also use this feature in Windows 10 to uninstall a program or application from the command prompt (cmd).  Sometimes we need to use extra memory for a specific purpose and for that we can uninstall unused apps.  There are many ways to uninstall programs or apps, and I think you know them too.  I won't go into the common methods here.

Here, I will show you the “Windows Management Instrumentation Command Line” tool via Command Prompt to uninstall the application.  First, we need to know some basic terms, for example, what are MSI-based programs or software (.MSI files), what are .EXE files (executable files) and how they differ from each other.

## How to    uninstall a program using CMD in Windows 10

Open your command prompt

To open cmd:

click Start -> Run -> type cmd and press enter

In windows to go to the c drive we type cd..

Now we have to go to the system directory 32 so that the command is cd directory nameso in our case it will be First cd Windows and then cd System 32

Once we are in the System32 directory below the commands, we will run

Now type wmicwmic will use to uninstall the program

The product get nameAbove command will display all the software that is installed on your machine

Now the above figure output will give you all the software installed on your machine Select the software you want to uninstall in my case I want to uninstall java version 8

So my command will be the product where name="Software_name_which_you_want_to_uninstall" calls uninstall

i.eproduct where name="Java SE Development Kit 8 (64-bit)" calls uninstall

and press enter

After pressing enter it will confirm whether you want to uninstall or not

You can select according to your requirement.

## Final note

I hope you like the guide How to Uninstall a Program using CMD on Windows 10. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.

---

*End of Article*