Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 15, 2008 12:00 AM

Q. How can I use the command line to uninstall an application?

Windows IT Pro
InstantDoc ID #99756
Rating: (3)
A. You can use the Windows Instrumentation command-line interface (WMIC) to uninstall an application if you know the name of the application. (To learn how to use the command line to obtain a list of all the applications installed on a computer, see the July 14, 2008, FAQ "How can I use the command line to receive a list of all the applications installed on my computer?"). The uninstall command is

For example, to remove the Microsoft Forefront Client Security State Assessment Service software from my computer, I used the following code (which is followed by the output from my computer):

Related Content:

ARTICLE TOOLS

Comments
  • Dmitry
    4 years ago
    Oct 15, 2008

    Seems WMI is quite unreable way to do things! Too often it simple does not works.

    For example - on 2 computers where I tried it reports error 0x80041033.

    And there is nothing special in system events. Only lot of "trash" information in MSI*.log files - about 120Mb log files generated on simple uninstall request. :-(

  • Ashleigh
    4 years ago
    Jul 15, 2008

    Excellent tip - another great gem!

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.