cancel
Showing results for 
Search instead for 
Did you mean: 

How to uninstall Prognosis 10 from the command line?

Support_Sydney
Moderator

How to uninstall Prognosis 10 from the command line?

You need to script the uninstall of Prognosis from the command line.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Support_Sydney
Moderator

Re: How to uninstall Prognosis 10 from the command line?

You want to script the uninstall of Prognosis from the command line.

Solution: Any windows application can be uninstalled from the command line with WMIC. The below is an example of doing this:

1. Open a command prompt and type in wmic
2. When the next line prompts with "wmic:root\cli>" enter the command:

product where name="Prognosis" call uninstall

3. There will be a small delay and another prompt starting with the word 'Execute" will return and you simply type Y and press Enter to accept it.

Below is an example of this:

C:\Windows\system32>wmic

wmic:root\cli>product where name="Prognosis" call uninstall

Execute (\\AAVM-W12-PROG10\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{B682202D-3C99-4B25-A1B8-E79AC8B8288C}",Name="Prognosis",Version="10.1.5")->Uninstall() (Y/N/?)? Y

Note: If you installed prognosis 10 via a msiexec and selected a different install name than Prognosis, then you would need to enter that above in step 2.

The above will uninstall just as it would with Add/Remove Programs.

View solution in original post

1 REPLY 1
Support_Sydney
Moderator

Re: How to uninstall Prognosis 10 from the command line?

You want to script the uninstall of Prognosis from the command line.

Solution: Any windows application can be uninstalled from the command line with WMIC. The below is an example of doing this:

1. Open a command prompt and type in wmic
2. When the next line prompts with "wmic:root\cli>" enter the command:

product where name="Prognosis" call uninstall

3. There will be a small delay and another prompt starting with the word 'Execute" will return and you simply type Y and press Enter to accept it.

Below is an example of this:

C:\Windows\system32>wmic

wmic:root\cli>product where name="Prognosis" call uninstall

Execute (\\AAVM-W12-PROG10\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{B682202D-3C99-4B25-A1B8-E79AC8B8288C}",Name="Prognosis",Version="10.1.5")->Uninstall() (Y/N/?)? Y

Note: If you installed prognosis 10 via a msiexec and selected a different install name than Prognosis, then you would need to enter that above in step 2.

The above will uninstall just as it would with Add/Remove Programs.

View solution in original post