How to Uninstall Programs from Command line on Windows 11

This post shows students and new users steps to uninstall or remove programs from Windows 11 using the command prompt. Windows allows users to uninstall programs using the Control Panel or the Windows Settings app. However, users can also use the command line to remove programs from Windows, and the steps below show you how to do that.

If you’re using Windows 11 and running out of space, or simply want to uninstall programs you no longer need, you can do that straight from the comment prompt console. First, you’ll need to open the command prompt as administrator.

The new Windows 11 comes with many new features with new user desktop, including centered Start menu and taskbar, rounded corners windows, themes and colors that will make any Windows look and feel modern.

If you’re exited about Windows 11, keep reading our posts on it.

To get started with uninstalling programs from Windows using the command prompt, follow the steps below.

How to uninstall a program from Windows 11 on the command prompt

As mentioned above, one can use the command prompt to uninstall programs from Windows. Here’s how to do it.

First, click Start and search for the Command Prompt. Then select the command prompt app from the relevant search result, then right-click and select “Run as administrator“.

The Command Prompt will now launch with administrator permissions. You’ll have to use the Windows Management Instrumentation Command-line (WMIC) utility to uninstall programs using the Command Prompt.

At the command prompt, type the command below and press ENTER to launch the WMIC tool.

wmic

After typing the command above, you should see wmic:root\cli> prompt. The tool is now ready to execute commands.

First, run the commands below to list all programs.

product get name

The command will return a list of programs that are installed. Find the name of the program you want to uninstall from the list.

Once you have the name of the program you want to uninstall, run the commands below to uninstall it.

product where name="program name" call uninstall

Just replace program name with the name of the program you want to install. For example, if you want to remove the first program (GoTo Opener) on the list as shown in the image below, then type this command.

product where name="GoTo Opener" call uninstall

You’ll then be prompted to confirm if you wish to uninstall the program, type Y for yes to remove.

After that, you’ll get a successful message which means the program was removed.

Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
        ReturnValue = 0;
};

That program is not uninstalled from Windows.

Conclusion:

This post showed you how to uninstall programs from Windows 11 from the Command Prompt. If you find any error above or have something to add, please use the comment form below.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.