Command line uninstall procedure

Problem

Command line uninstall procedure

Solution

Problem:

Need to uninstall an application from the command line.

Solution:

You'll be using the Windows Instrumentation command-line interface, or WMIC.

1) Open a command prompt

2) Type WMIC, you will see a prompt like this:

wmic:root\cli>

3) Type 'product get name', this will list all the installed programs.  Find the one you want to remove from the list.

4) Type 'product where name="program to remove" call uninstall', inside the quotes you will want to put the name of the program you want to remove as it appears in the list from step 3.  For example, if you were removing 'Backup Exec System Recovery Management Control' it would look like this:

'product where name="Backup Exec System Recovery Management Control" call uninstall'

5) It will prompt you if you want to remove the program, type 'y' and enter to remove.

You're done at this point, this is part of windows since windows XP and on.

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)