• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Code / A script to uninstall Panda Cloud Antivirus and, selectively, most other programs

A script to uninstall Panda Cloud Antivirus and, selectively, most other programs

2013-03-19 by Jason

Thanks to Avast’s free for education Endpoint Protection, I was able to centrally manage and deploy Avast around the organization for a client. The problem was that once I had Avast on there, I also needed to be able to uninstall the previous security software, Panda Cloud Antivirus. Since it didn’t have a nice central console, it would entail running around to each computer and uninstalling it manually. After a brief search online, it appeared I was on my own for uninstalling the software.

Completing the task manually was nothing terribly complicated. It was just a matter of opening the Control Panel, going to Add/Remove Programs, scrolling down to find Panda Cloud Antivirus, and hitting the button to uninstall. The process of getting there was a little time consuming but the uninstaller took even longer. Fortunately, I was recently tasked with a similar need and had an idea of how I might script Panda’s uninstall after all.

panda antivirus

The solution goes back to using our old pal WMI. Using the command line implementation of WMI, WMIC we can make a call to the Product class to find most applications that have been installed and registered with Windows. From there, instead of just getting information back from the computer, we can actually make a call to the product uninstaller.

<code>wmic product where "Name like 'Panda Cloud Antivirus'" call uninstall /nointeractive</code>

wmic uninstall

You can use the command to get the name and version of all products so you know what to put in your script.

wmic product get name, version

You can then select a product name provided and use it with the first script. You can also build upon it by using wildcards if, for example, the version number was included in the product name and you wanted to uninstall all versions of the product.

wmic product where “Name like ‘Adobe Reader%%'” call uninstall

The script has to be run as an administrator. I wrapped the Panda Cloud Antivirus uninstaller in a batch file and assigned it as a shutdown script through Group Policy and the process has worked out well. You can also add some logic to the script so it only runs once to make it a bit nicer from the end user perspective.

Filed Under: Code, Tech Solutions

Trending

  • Book Review: Penetration Testing – A Hands-On Introduction to Hacking by Georgia Weidman
    In Reviews, Security and Privacy
  • White House streaming summit on Cybersecurity and Consumer Protection
    In Security and Privacy
  • Compromise of cPanel Support server leads to spread of Linux SSHd rootkit
    In Operating Systems, Security and Privacy

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • Command line to take ownership and change permissions Command line to take ownership and change permissions
  • Creating and editing views in phpMyAdmin Creating and editing views in phpMyAdmin
  • Configure Outlook to recurring appointments for the last weekday of the month Configure Outlook to recurring appointments for the last weekday of the month
  • How to Purchase Cryptocurrencies? How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers Top 6 necessary aspects to consider when hiring Angular developers
  • Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business
  • Benefits of End-To-End Testing That Will Match Company Expectations Benefits of End-To-End Testing That Will Match Company Expectations
  • 3 Key Features of Pets Health Monitoring Systems 3 Key Features of Pets Health Monitoring Systems
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers
  • Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in