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

03 Apr 2014   #30
Brink

64-bit Windows 10 Pro
 
 

In that case, give the tutorial on the first page a try to see if it may be able remove it.


My System SpecsSystem Spec
.
03 Apr 2014   #31
DamChihuahua

 
 

I will. Thanks again

Danny
My System SpecsSystem Spec
03 Apr 2014   #32
Brink

64-bit Windows 10 Pro
 
 

You're welcome. Please let us know how it went.
My System SpecsSystem Spec
08 Apr 2014   #33
desantis191

Windows 7 Ultimate x64
 
 
Automation?

This is a great post and step by step. Works great. Does anyone know if it can be added to a Batch script to uninstall multiple programs at once? Is there a way to get by the question Y/N?
GD
My System SpecsSystem Spec
.

08 Apr 2014   #34
Brink

64-bit Windows 10 Pro
 
 

Hello GD, and welcome to Seven Forums.

You would need to know the names of all the programs you wanted to uninstall as listed in step 5.

Afterwards, you could create a batch file with multiple commands for each program like in step 6. I would recommend to leave the Y/N to approve as a safety check to prevent uninstalling the wrong program by mistake.
My System SpecsSystem Spec
08 Apr 2014   #35
desantis191

Windows 7 Ultimate x64
 
 
Automation

Thanks for such a speedy reply. I am using this at work to uninstall 2 programs that I know the exact name, and want the uninstall to be silent. Have 400 users, and they would go nuts if they had to click Y. You know how users can be.
I am not certain of the syntax inside the script, I can call wmic, and the uninstall , but how to answer the question inside the script (I am a novice scripter)
GD
My System SpecsSystem Spec
08 Apr 2014   #36
Brink

64-bit Windows 10 Pro
 
 

To not have the Y/N prompt, you can use the command below instead. I've also updated the tutorial to help.

product where name=”name of program” call uninstall /nointeractive
My System SpecsSystem Spec
09 Apr 2014   #37
desantis191

Windows 7 Ultimate x64
 
 

OK, I am experiencing difficulties. In my script I call the uninstall like this:

wmic:root\cli>product where name="Autodesk 360" call uninstall /nointeractive

I get an error

C:\Windows\system32>wmic:root\cli where name="Autodesk 360" call uninstall /nointeractive 1>product
The system cannot find the path specified.

When I call wmic first, wmic initiates, but then waits for input.

Can the command be modified in a way to be run in the script?

Thanks

GD
My System SpecsSystem Spec
09 Apr 2014   #38
Brink

64-bit Windows 10 Pro
 
 

You might see if issuing the WMIC command, have a timeout command for a few seconds, then have the uninstall command may work.
My System SpecsSystem Spec
09 Apr 2014   #39
desantis191

Windows 7 Ultimate x64
 
 
Automation

I think I figured it out, I the node info, and ran it liker this,

wmic product where name="Autodesk 360" call uninstall /nointeractive

This worked.

Thank you very much for the help.

GD
My System SpecsSystem Spec
Comment

 Programs - Uninstall using Command Prompt in Windows




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
cant get windows 7 pro to open a command prompt
I bought computer that I do not know password. I dont want to reinstall windows. I read that restarting computer and press f8 and choose safe mode with command prompt. Problem is my computer loads the drivers as normal on the black DOS screen but when it gets done and is suppose to give a command...
Installation & Setup
Command Prompt Error on Windows 7
Hello guys, I have problem with CMD When I run Windows error reporting window appears and error message appears: The application was unable to start correctly (0xc0000142). Click OK to close the application Please reply.
General Discussion
windows 7 starter command prompt
Hi, Not sure if this is the right place for this but I have a problem with a netbook where it has lost the file actionqueue.dll and I need to install a copy. The netbook wont boot up but have managed to get it into command prompt. I have put a copy of the file onto a usb stick but I cannot get...
General Discussion
Help me to get my command prompt working in Windows 7
I don't know what had happened to my CMD :( It's not executing any command.As far as i remember i din't tweak or played with the system files and CMD. Today when i need to run it it din't execute the commands. I'm attaching the screenshot also. help me I'm in desperate need !:cry:
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt From The Windows DVD
I started to use the Windows DVD to run some diagnostics in Command Prompt, but instead of displaying C:\users\administrator, as I'm accustomed to, it said X:\Sources> instead. Not knowing what this meant, I attempted to CD to C:, but it always said that it couldn't find the path specified. How...
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 15:23.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App