How can I use the command line to uninstall an application?
fawad 25-November-2008 09:20:05 AM

Comments


yeah sagitraz right
Posted by Hash007


You have to use WMIC
Posted by fawad


Sorry forget to mention simple steps:

1. Open a command prompt.

2. Input WMIC and press Return. You will see a prompt that looks like this:
wmic:rootcli>

3. At the new prompt, execute the following command:
product get name

This will generate a list of installed applications.

4. At the prompt, execute the following command:
product where name="” call uninstall

where application name is the name of the program you wish to uninstall (use the exact name provided by the previously generated list).

For example, if I were wanting to uninstall Panda Antivirus, my command would look like this:
product where name="Panda Antivirus 10" call uninstall

5. When prompted, input y to confirm that you wish to uninstall the application and press Return.

The application will be uninstalled.
Posted by sagitraz


You can use the Windows Instrumentation command-line interface (WMIC) to uninstall an application if you know the name of the application.
From :www.WindowsSecurity.com
Posted by sagitraz



Posted: 25-November-2008 12:21:08 PM By: sagitraz

You can use the Windows Instrumentation command-line interface (WMIC) to uninstall an application if you know the name of the application.
From :www.WindowsSecurity.com

Posted: 25-November-2008 12:23:49 PM By: sagitraz

Sorry forget to mention simple steps:

1. Open a command prompt.

2. Input WMIC and press Return. You will see a prompt that looks like this:
wmic:root\cli>

3. At the new prompt, execute the following command:
product get name

This will generate a list of installed applications.

4. At the prompt, execute the following command:
product where name="” call uninstall

where application name is the name of the program you wish to uninstall (use the exact name provided by the previously generated list).

For example, if I were wanting to uninstall Panda Antivirus, my command would look like this:
product where name="Panda Antivirus 10" call uninstall

5. When prompted, input y to confirm that you wish to uninstall the application and press Return.

The application will be uninstalled.

Posted: 26-November-2008 02:17:56 PM By: fawad

You have to use WMIC

Posted: 27-November-2008 02:52:39 AM By: Hash007

yeah sagitraz right