View all Worklets
macOS

Enforced App Uninstall

Enforced App Uninstall automates removal of software from macOS endpoints.

Worklet Details

When would you use the Enforced App Uninstall Worklet?

The Enforced App Uninstall Worklet evaluation script lets admins check whether or not a given application exists on a machine; then, if the application exists on the machine, the remediation script will run and uninstall the application.

How to enforce app uninstall with this Worklet for macOS

The Enforced Enforced App Uninstall Worklet uninstalls of a specific application on a macOS device. This remediation script will uninstall the selected application in the set variable appnameon line 31. 

This has been tested on macOS Catalina 10.15.7 and can be used with pre installed apps, installed programs, and unwanted programs. You will need to set the appname variable to the application name of your choosing. 

Why might you enforce an uninstall on macOS devices?

Enforced application uninstall refers to a process or mechanism by which an application is forcibly removed or deleted from a device or system. Admins may to enforce the uninstallation of certain applications to ensure security, system integrity, or compliance. 

Security concerns

If a particular application is found to have vulnerabilities or is identified as malicious or potentially harmful, administrators may enforce its removal to mitigate the risks.

Policy enforcement 

In certain environments, organizations may have specific policies regarding software usage. If an application violates those policies, it may be forcibly uninstalled.

Performance

In some cases, certain applications may interfere with the overall stability or performance of the device or system. To address these issues, administrators may enforce the removal of problematic applications. 

License compliance

If a user is found to be using unlicensed or unauthorized software, the enforcement of application uninstallation may be necessary to ensure compliance with licensing agreements and intellectual property rights.

View in app

Consider Worklets your easy button

What's a Worklet?

A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

do more with worklets