How to Uninstall a Program Using CMD

Do you want to uninstall unwanted programs? Learn how to uninstall a program using CMD in Windows 10. This guide simplifies the process for a clutter-free PC.

EaseUS Todo PCTrans

  Free Download

Support Windows 11/10/8/7

Page Contents
 

Page Table of Contents

Typically, unwanted programs are uninstalled using the Add or Remove Programs utility or the Settings app in Windows. However, uninstalling a program via Command Prompt (CMD) provides a more direct and efficient approach than conventional methods. EaseUS delves into uninstalling programs via CMD, offering users a comprehensive understanding of how to harness this potent tool for software removal. 

Better Alternative: Free Uninstaller to Force Uninstall a Program

Uninstalling programs through CMD offers a more direct approach, but sometimes, even the power of CMD can cause stubborn programs to resist traditional methods. In these cases, a dedicated uninstaller tool like EaseUS Todo PCTrans Free can streamline the uninstallation process, offering a powerful "Force Uninstall" feature that tackles even the most resistant programs. This feature removes the main program files and eliminates any leftover registry entries or hidden files that can clutter your system.

  Free Download

Support Windows 11/10/8/7

Step 1. Choose App Management, Click "Start" to securely uninstall your apps and repair your damaged apps. 

app-management-1

Step 2. All of apps installed on your PC, choose the selected one you want to uninstall or repair. (If your uninstall process fails, you can click the small triangle icon and select "Delete".)

app management 2

Step 3. Click "Uninstall". (If you want to repair apps, click the icon right behind "Uninstall" and choose "Repair".)

app management 3

Key Features of EaseUS Todo PCTrans:

We highly recommend users try EaseUS Todo PCTrans for a hassle-free and efficient uninstallation experience.

  Free Download

Support Windows 11/10/8/7

How to Uninstall a Program Using CMD - Full Steps

To uninstall a program using CMD, we'll utilize the Windows Management Instrumentation Command-line (WMIC) software utility. Follow the steps:

Step 1. Type "cmd"/"Command Prompt" in the Windows Search dialog, then select "Run as Administrator" from the menu that appears.

run-command-prompt

Step 2. In the Command Prompt windowstype "wmic" and press the Enter button.

wmic

Step 3. Now, getting a list of installed programs in Command Prompt is crucial. This ensures you have the accurate product name required for the uninstall command to work properly. Type "product get name" and press Enter button.

product-get-a-name

Step 4. Find the unwanted program you wish to uninstall in the list. Then, run the following command to uninstall it:

product where name="program name" call uninstall

Change "program name" to the name of the program you want to remove. For example, to uninstall iTunes, use this command:

product where name="iTunes" call uninstall

call-uninstall

Step 5. Confirm the command execution by typing when prompted, then press Enter.

y-to-confirm

Once the unwanted program is uninstalled, you'll receive a confirmation message indicating "Method execution successful." The application has been uninstalled from your computer.

Conclusion

It's crucial to understand and learn the exact commands if you're going to uninstall a program through Command Prompt, as it's a command-line utility, so only one wrong command can lead to severe consequences. This guide simplifies the process, offering step-by-step instructions for a hassle-free experience.

However, a dedicated uninstaller tool like EaseUS Todo PCTrans can be invaluable for stubborn programs that resist traditional methods. We highly recommend users try this free tool for a seamless and efficient uninstallation experience, ultimately leading to a cleaner and more optimized system. Remember, a clean and uncluttered PC, free from unnecessary programs, is better. 

  Free Download

Support Windows 11/10/8/7

FAQs About How to Uninstall a Program Using CMD

Need more help uninstalling with CMD? Check out the FAQs below!

1. How do you force uninstalling a program through cmd?

While CMD doesn't have a built-in "force uninstall" feature, some programs can resist traditional methods.  In these cases, software like EaseUS Todo PCTrans can force uninstall and tackle stubborn programs.

2. How do you uninstall a file using cmd?

While CMD is primarily for uninstalling programs, you can delete a single file using the following steps with caution (deleted files cannot be recovered):

  • Open Command Prompt as administrator (search for "cmd" and right-click "Run as administrator").
  • Use the cd command to navigate to the directory containing the file (e.g., cd Documents to access your Documents folder).
  • Use the del "filename" command, replacing "filename" with the actual name of the file you want to delete (including quotation marks).

For example, to delete a file named "image.jpg" in your Documents folder, you would type:

del "image.jpg"

Remember, using CMD to delete files carries inherent risks. Make sure you're confident about the file you're deleting before proceeding.

3. How do you delete apps using the command line?

Follow the steps to delete apps using the command line:

  • Open Command Prompt as administrator (search "cmd" and right-click "Run as administrator").
  • To get a list of installed programs in Command Prompt, type "product get name" and press the Enter key.
  • Run the command "product where name="program name" call uninstall" to delete the unwanted app.
  • Change "program name" to the name of the program you want to uninstall or delete.
  • Confirm with "Y" and press Enter.

About the Author

Updated by Roxanne

Roxanne is one of the main contributors to EaseUS and has created over 200 posts that help users solve multiple issues and failures on digital devices like PCs, Mobile phones, tablets, and Macs. She loves to share ideas with people of the same interests.

Read full bio

Reviews and Awards

Product Reviews

TrustScore 4.7 | 34 reviews
  • EaseUS Todo PCTrans Free is a useful and and reliable software solution created to serve in computer migration operations, be it from one machine to another or from an earlier version of your OS to a newer one.

    Read More
  • EaseUS Todo PCTrans is by the folks at EaseUS who make incredible tools that let you manage your backups and recover your dead hard disks. While it is not an official tool, EaseUS has a reputation for being very good with their software and code.

    Read More
  • It offers the ability to move your entire user account from your old computer, meaning everything is quickly migrated. You still get to keep your Windows installation (and the relevant drivers for your new PC), but you also get all your apps, settings, preferences, images, documents and other important data.

    Read More

How to Uninstall a Program Using CMD

Try smart Windows 11 data transfer tool to move all data in 1 click.

EaseUS Todo PCTrans

  Free Download

Support Windows 11/10/8/7