Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to uninstall a program via command prompt in Windows
  • selinux in production
    How to locate directory file context and restore it with SELinux Linux
  • MDT Workbench Crashes when opening WinPE tab Properties
    Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
  • VirtualinstallationonMac
    How to install Oracle VirtualBox on a Mac device Mac
  • Microsoft Office 365 Family
    Download Microsoft Office 365 Family Invoice for tax reasons Microsoft Exchange/Office/365
  • elasticsearch error feature
    Elasticsearch: How to stop systemd service start operation from timing out Linux
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • HAProxy
    Deploying a load balancer from scratch and adding backend servers Linux
  • image 81
    How to generate your trial SSL Certificate using DigiCert PKI platform Windows

How to uninstall a program via command prompt in Windows

Posted on 09/02/202030/12/2023 Christian By Christian No Comments on How to uninstall a program via command prompt in Windows
uninstall program command prompt

For those of us who like working with shortcuts more often on Windows System. Here are the following steps on how to uninstall a program via the command prompt in Windows, and the Control Panel. We will be performing these steps via the Control Panel and WMIC command. Please see How to query a list of installed programs in Windows, How to find Computer Model and Serial Number, and How to Find BIOS Serial Number and System Information on Windows 11.

Via the appwiz.cpl command

You can use the appwiz.cpl command to launch the Control Panel applet for Programs and Features or the “Add or Remove Programs” as shown below. This window allows users to view, uninstall, change, or repair software that is installed on their computer.

To do this, hold down the Windows Start Key and press “R” to bring up the “Run” dialog or search for run directly from the search window.

Type “appwiz.cpl“, then press “Enter“.
Windows uninstallation

This will automatically open the Uninstall or Change a Program window from the Control Panel.

Double click on any program you want to uninstall and uninstall it.
uninstall software Windows CLI

Also, see Get a list of installed programs locally or remotely in Windows, and PowerShell Script: Uninstalling Applications Made Easy.

Remove a program with the WMIC command

Alternatively, you could also use the wmic command in Windows. This is a command-line utility that provides a unified interface for Windows management tasks. It stands for Windows Management Instrumentation Command-line.

WMIC allows you to access a wide range of system resources and settings, and it is often used for system administration, monitoring, and troubleshooting

We can also use the wmic command prompt tool in the following ways to uninstall a program. Open the Command Prompt as an administrator. In the Command Prompt window, type wmic and press Enter as shown below.

uninstall software Windows CLI

This loads the Windows Management Instrumentation (WMI) Command-line tool. Henceforth, the commands identified by WMIC can now be uninstalled via the Command Prompt. To perform this, enter the command.

List all installed Products

To list all installed programs, you can use the following command:

product get name
uninstall software Windows CLI

The command lists all the apps that can be removed with this method. Identify the name of the program you want to uninstall. To uninstall a program, use the following command.

product where name="name of program" call uninstall

Where the “name of the program is replaced with the actual program name without any quote as shown below. This will prompt a Y or N Uninstall question, select y to uninstall as shown below.

uninstall program command prompt

After the installation is complete,

Windows uninstallation

When executed correctly, you should see a ReturnValue=0 and a message that says “Method execution successful.”

Also, we may also want to uninstall a program in an automated way that does not require any user interaction. In this way, we will utilize the wmic product commands. Here are the syntaxes (commands to perform this).

wmic product where "description='program name' " uninstall

The “wmic product” get lists all the installed programs in the command prompt. as shown below.

Before using this method, ensure the program can be identified by the WMI as shown in the list before.

Note: Nonetheless, Keep the following in mind when using the wmic command to uninstall a program.

  • Ensure to give the correct program name or else it will not work.
  • If the program has the version embedded in the name, please enter it that way.

Also, the find string command “findstr” can be used in combination with wmic command.

With a value of Zero return, the uninstallation was successful.

I hope you found this blog post on uninstalling a program via command prompt in Windows helpful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Windows 10

Post navigation

Previous Post: To enable or disable fast User Switching in Windows 10
Next Post: Analyze group policies applied to a user and computer account

Related Posts

  • How to use Netstat.exe to confirm which Program uses or blocks a port
    How to use Netstat.exe to confirm which Program uses or blocks a port Linux
  • screenshot 2020 03 15 at 00.43.16
    How to permit and run only certain apps in windows Windows
  • RDP
    The connection was denied because the user is not authorized for remote Login: Enable Remote Desktop Connection on Windows 11 for non-administrators or selected users Windows
  • windows 7 stuck at loading screen thumbnail
    Disable the Windows welcome screen and shutdown screen Windows
  • image 14
    How to fix Unknown Hard Error on Windows Server and Windows 10 Windows
  • Slide2 2
    Oracle VirtualBox: Installing Windows 11 without TPM Support Virtualization

More Related Articles

How to use Netstat.exe to confirm which Program uses or blocks a port How to use Netstat.exe to confirm which Program uses or blocks a port Linux
screenshot 2020 03 15 at 00.43.16 How to permit and run only certain apps in windows Windows
RDP The connection was denied because the user is not authorized for remote Login: Enable Remote Desktop Connection on Windows 11 for non-administrators or selected users Windows
windows 7 stuck at loading screen thumbnail Disable the Windows welcome screen and shutdown screen Windows
image 14 How to fix Unknown Hard Error on Windows Server and Windows 10 Windows
Slide2 2 Oracle VirtualBox: Installing Windows 11 without TPM Support Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • selinux in production
    How to locate directory file context and restore it with SELinux Linux
  • MDT Workbench Crashes when opening WinPE tab Properties
    Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
  • VirtualinstallationonMac
    How to install Oracle VirtualBox on a Mac device Mac
  • Microsoft Office 365 Family
    Download Microsoft Office 365 Family Invoice for tax reasons Microsoft Exchange/Office/365
  • elasticsearch error feature
    Elasticsearch: How to stop systemd service start operation from timing out Linux
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • HAProxy
    Deploying a load balancer from scratch and adding backend servers Linux
  • image 81
    How to generate your trial SSL Certificate using DigiCert PKI platform Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.