Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Programs - Uninstall using Command Prompt in Windows


Programs - Uninstall using Command Prompt in Windows

How to Uninstall Programs using Command Prompt in Windows
Published by Brink
06 Jan 2013
Published by

How to Uninstall Programs using Command Prompt in Windows


information   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.

Note   Note
It is recommended to uninstall a program in Programs and Features if able to instead.





Here's How:

1. Do step 2 or 3 below for what you would like to do.

2. Open an elevated command prompt in XP/Vista/Windows 7 or Windows 8, and go to step 4 below.

3. Open Safe Mode with command prompt in XP/Vista/Windows 7 or Windows 8, and go to step 4 below.

4. In the command prompt, type wmic and press Enter. (see screenshot below)
Name:  Uninstall_Programs_Command_Line-1.jpg
Views: 51643
Size:  37.4 KB
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.
Name:  Uninstall_Programs_Command_Line-2.jpg
Views: 52960
Size:  75.2 KB
6. Type in either command below using the exact name of the program (ex: Microsoft Silverlight) listed in step 5 above within quotes that you want to uninstall, and press Enter. (see screenshot below)
(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


Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-3.jpg
7. If prompted, type Y to confirm uninstalling the program, and press Enter. (see screenshot above)

8. When successfully uninstalled, you can close the command prompt. (see screenshot below)
Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-4.jpg
That's it,
Shawn








.

06 Jan 2013   #1
D3LL

Windows 7
 
 

Very nice tutorial just tried this on a piece of software instead of the Programs and Features way . Worked like a treat!

My System SpecsSystem Spec
.

07 Jan 2013   #2
Dinesh

Windows® 8 Pro (64-bit)
 
 

Great tutorial Shawn. It will be helpful when dealing with viruses. I assume these commands will also work in Safe mode with command prompt?
My System SpecsSystem Spec
07 Jan 2013   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you Dinesh. Yep, it'll work in Safe Mode with command prompt as well.
My System SpecsSystem Spec
14 Oct 2013   #4
NtudaI

64 bit windows 7
 
 

when i type 'get product name' nothing happens is this because i didnt open it in safe mode?
My System SpecsSystem Spec
14 Oct 2013   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello NtudaI, and welcome to Seven Forums.

No. You could do it in an elevated command prompt, or in Safe Mode w/command prompt. However, the command is product get name instead. Sometimes it may take a moment to see a list of installed programs if you have a lot installed.

Hope this helps,
Shawn
My System SpecsSystem Spec
14 Oct 2013   #6
nooruddin76

Windows 7 Home Premium
 
 

This was nice and easy.. thanks Shawn.. was able to see programs that were not even listed in the normal windows version
My System SpecsSystem Spec
14 Oct 2013   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome.
My System SpecsSystem Spec
03 Jan 2014   #8
kaishra

Windows 7 x64
 
 

Hi, I've tried to follow the directions in your tutorial but when I enter product get name I get
Node - MININT-BIRNS7C
ERROR=
Description = Invalid class

any help would be appreciated as I can't get Windows to open
Thanks
Lauren
My System SpecsSystem Spec
03 Jan 2014   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Lauren, and welcome to Seven Forums.

Please go ahead and post screenshots showing all of this (program name and uninstall command) in the command prompt to see if it may help ID what the issue may be.

Screenshots and Files - Upload and Post in Seven Forums
My System SpecsSystem Spec
Comment

 Programs - Uninstall using Command Prompt in Windows





Tutorial Tools



Similar help and support threads for2: Programs - Uninstall using Command Prompt in Windows
Windows 7 Tutorial Category
Solved Command Prompt Error on Windows 7 General Discussion
Help needed executing command prompt command General Discussion
windows 7 starter command prompt General Discussion
Help me to get my command prompt working in Windows 7 General Discussion
Run administrative command prompt from command prompt General Discussion
Command Prompt command <ipconfig> not working Network & Sharing
Command Prompt From The Windows DVD Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:38 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33