Uninstalling a Program from Command Prompt in Windows

Leave a comment

In Windows, you may need to uninstall a program from the command prompt. For example, the application may install under Add or Remove Programs like below (note this actual app doesn’t install like this but I am simulating). Note how the Modify and Uninstall are greyed out:

To uninstall this program, note the name of the application above, e.g. Unified Service Desk Client.

We will use WMIC to uninstall.

Open a command prompt:

Type wmic to open the wmic console:

Type: product where name=”Unified Service Desk Client” call uninstall

If you are prompted, type Y.

The application will be uninstalled:



Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube


Leave a Reply

Your email address will not be published. Required fields are marked *