WinRAR Uninstall using SCCM or silent command line

WinRAR Uninstall using SCCM or silent command line
WinRAR Uninstall using SCCM or silent command line

Estimated reading time: 2 minutes

This guide walks you through a straightforward method to automate the uninstallation of WinRAR using SCCM, assuming your clients have installed WinRAR in the default location. There’s no need to create a package; you can simply use a Program command line.

Uninstall Command

Use the following command to silently uninstall WinRAR:

"%programfiles%\WinRAR\uninstall.exe" /s

You can push this command out to a collection of computers via SCCM.

Automating the Process

To ensure that WinRAR is automatically uninstalled if it’s ever reinstalled, follow these steps:

  1. Create a Collection: Set up a collection in SCCM with a query that identifies all machines with WinRAR installed.
  2. Push the Uninstall Program: Deploy the uninstall program to this collection.

If you need to know how to create a SCCM Collection with all Devices with WinRAR installed, take a look at our article which walks through those steps:

By doing this, your software inventory will continuously monitor for WinRAR installations. If WinRAR is reinstalled, SCCM will automatically trigger the uninstall process, keeping your environment free of unauthorised installations.

Feedback

If you encounter any issues or have questions about this guide, feel free to leave a message below or reach out to us on our social media platforms. We’re here to help!

FAQ

What happens if WinRAR is installed in a non-default location?

You will need to adjust the uninstall command to point to the correct installation path.

Can this method be applied to other software?

Yes, you can adapt this method for other software by modifying the uninstall command and creating a relevant collection.

How often should the collection query be updated?

It’s recommended to schedule regular updates for the collection to ensure it stays current with any changes in software installations.

Glossary

  • SCCM (System Center Configuration Manager): A Microsoft product used for managing large groups of computers, including deploying software and updates.
  • Program Command Line: A command used to execute specific tasks or programs, often utilized in software deployment scenarios.
  • Collection: A group of computers or users in SCCM that you can manage as a unit, such as deploying software or updates.

Share this content:

Click to rate this post!
[Total: 1 Average: 5]
Avatar for Andrew Armstrong

About Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by Andrew Armstrong

Leave a Reply

Your email address will not be published. Required fields are marked *