[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Is there any way to avoid the Y/N prompt when uninstalling via WMIC?

Posted on 2009-02-19
Medium Priority
Last Modified: 2012-05-06
I'd like to script an uninstall without any user input.
Question by:ebad-it
LVL 27

Assisted Solution

by:Lukasz Chmielewski
Lukasz Chmielewski earned 400 total points
ID: 23686606
see if this helps - unattended installation scripting tool

Accepted Solution

ebad-it earned 0 total points
ID: 23691194
I was actually able to use the uninstall script from the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ key entries for the apps I wanted to uninstall. The all used msiexec, so I was able to use the following context:

msiexec.exe /x{software key sid} /qb

And the software key sid format is {11111111-1111-1111-1111-111111111111} (alphanumeric, not just numeric as entered)

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question