If programs are no longer used or additional space is required, you may need to delete one or more of them from your computer. The most traditional method for uninstalling software is through the Windows Control Panel. However, users may also remove programs via Command Prompt, the command-line interpreter included with every version of Windows since XP.
To learn how to use the Windows Command Prompt to manually uninstall programs from your computer, follow the steps below.
How to uninstall a program using Command Prompt
Press the Windows key and type Command Prompt (A).
In the search results on the left, use the arrow keys to highlight the Command Prompt program (B).
On the right side of the window, click Run as administrator (C).
Click the Yes button on the prompt that appears.
In an elevated Command Prompt, type wmic and press Enter.
You’ll see a line that reads wmic:root/cli>.
You can also right-click the Command Prompt program in the search results and select Run as administrator in the pop-up menu.
Type product get name at the prompt, and press Enter.
After a few moments, you’ll see a list of every command-prompt accessible program installed on your computer. Locate the program you’d like to remove.
Use the following syntax to uninstall the program, replacing the asterisks with the proper name from the list generated above:
Syntax
product where name="******" call uninstall
Example
product where name=“Cam Overclock Tools” call uninstall
- When prompted, press the Y key to confirm and press Enter.
- After a few seconds, you will see Method execution successful, confirming that the program was removed.
Related information
- How to uninstall software in Windows.
- How to uninstall a program on a Mac.
- How to remove an app on a smartphone or tablet.
- How to delete a file, directory, or folder.
- How to install software.
- How to install and run Windows programs as administrator.
- See the uninstall page for information about this term and related links.
- MS-DOS and Windows command line help and support.