Upgrade

Monday, 23 March 2015

UNINSTALL PROGRAMS USING COMMAND PROMPT IN WINDOWS

We all must have encountered the situations while using windows operating system when your control panel stops responding or you are unable to uninstall a particular program using control panel. So in that case we have a solution for you.

Yes, we do have a solution for you. You just need to follow some simple steps below and you are done. You can use command prompt also known as cmd command shell to uninstall the programs. But Before you go and try that, you should know something.

   i INFORMATION
  • This tutorial will show you how to uninstall programs using a command prompt in XP, Vista, Windows 7, and Windows 8.
  • You must be logged in as an administrator to be able to do the steps in this tutorial.
   i  INFORMATION
  • This will only list programs that use Windows Installer when installed. 
  • It is recommended to uninstall a program in Programs and Features if able instead to have a full list of installed program.

So, now we tell you how to do it. Here's how..
 
  1. Do any one of step 2 or 3 below to open command prompt. (Remember we need cmd command shell with admin rights)
  2. Open an elevated or administrative privilage command prompt in windows XP/Vista/7 or 8, and go to step 4 below. 
  3.  Open Safe Mode with command prompt in windows XP/Vista/ 7 or 8, and go to step 4 below.
  4.  In the command prompt, type wmic and press Enter. (as shown in screenshot below).


  5. Type product get name and press Enter. (see screenshot below)



    NOTE : This will give you a list of program names installed on your computer to use in the next step. This list will not always have all of the programs listed in Programs and Features though.

  6. Type in either command below using the exact name of the program (ex: Hauppauge TV Tuner Driver) listed in step 5 above within quotes that you want to uninstall, and press Enter. 

    (To be prompted Y/N to approve. Recommended)

    product where name="name of program" call uninstall

    (To NOT be prompted Y/N to approve.)
    product where name="name of program" call uninstall /nointeractive

    Ex: Here in the example we are uninstalling "Hauppauge TV Tuner Driver" by prompting Y/N to approve. i.e. product name="Hauppauge TV Tuner Driver" call uninstall


    If prompted, type Y to confirm uninstalling the program, and press Enter. (see screenshot below)


     
  7. When successfully uninstalled, you can see the successful command (see screenshot below)

     
  8. Close the command prompt.
You are done with uninstalling a program using command prompt. For more posts subscribe to us. And keep visiting our blog.

Till then ENJOY COMPUTING.