Skip to main content

How to uninstall a program using Command Prompt

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.

In the search results on the left, use the arrow keys to highlight the Command Prompt program.

On the right side of the window, click Run as administrator.

 



Click the Yes button on the prompt that appears.

Tip

You can also right-click the Command Prompt program in the search results and select Run as administrator in the pop-up menu.

 

In an elevated Command Prompt, type wmic and press Enter.

You'll see a line that reads wmic:root/cli>.





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="Adobe PDF Reader" 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.

 

 

 


Comments

Popular posts from this blog

How to lock any file or folder without any software.

  With this trick, you can create a secure password protected  folder  in Windows which no one except you can access. To use this trick, follow the instructions given below:-   1.  Open  Notepad . 2.   Copy and paste  the exact code given below:- cls @ECHO OFF title computer-tricks-corner.blogspot.com if  EXIST  "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto  UNLOCK if NOT EXIST MyFolder goto MDMyFolder :CONFIRM echo Are you sure to lock this folder? (Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo  Invalid  choice. goto CONFIRM :LOCK ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter password to Unlock Your Secure Folder set/p "pass=>" if NOT %pass%== computer-tricks-corner.blogspot.com got

How to install Bash on Windows 11

Microsoft’s Windows Subsystem for Linux 2 was released nearly 3 years ago. This brought the ability to run the Bash shell and run Linux binary executables that you’d be able to run on Ubuntu Linux. Microsoft has since only continued to improve its Windows Subsystem for Linux, and an update in a Windows 10 preview build back in mid-2020 made it easier to install Bash. That method carried over to Windows 11. To install Bash, open Windows Terminal as an admin. You can do this by right-clicking the Windows icon and selecting “Windows Terminal (Admin)” from the power user menu. (If you’re on Windows 10, you may see it listed as “Windows Powershell (Admin)” in the menu.) Run Windows Terminal as an admin In Windows Terminal, run this command: wsl --install The command to install WSL Windows will then begin downloading and installing Virtual Machine Platform, Windows Subsystem for Linux, WSL Kernel, and GUI App Support. It will also download Ubuntu, but will install it after a reboot. This pro

The best free automation tools for Windows

When your job involves working on a computer, repetitive actions can be the bane of your existence. They're not only tedious, but also (even worse) time consuming. Fortunately, in case you're forced to execute the exact same actions over and over again, you can create macros (scripts) that will automatically do them for you. Let's say, for example, that every day you have to open your downloads folder; to do this, you would normally have to click on 'Start', then on 'Documents' and from there finally click on 'Downloads'. Using a macro, you could simply run a certain file from your desktop or (even better) use a key combination, and the download folder will be automatically opened. (Of course, this was very simplistic, but you can use macro scripts to perform much more complicated tasks.) Here you will find a list with some of the best automation tools on the market. These applications won't only help you improve your productivity with macr