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

Posted on 2009-02-19
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
    see if this helps - unattended installation scripting tool
    LVL 3

    Accepted Solution

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
    This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
    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…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now