Command line uninstall procedure

Article:TECH130782  |  Created: 2010-01-02  |  Updated: 2014-05-20  |  Article URL http://www.symantec.com/docs/TECH130782
Article Type
Technical Solution


Environment

Issue



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.



Legacy ID



355136


Article URL http://www.symantec.com/docs/TECH130782


Terms of use for this information are found in Legal Notices