Skip to main content
Matrix42 Self-Service Help Center

Uninstall UEM Agent on macOS devices

macOS UEM Agent Uninstallation

In some certain scenarios it might be necessary to uninstall the UEM Agent from your macOS devices. This guide will help to remove the UEM Agent from macOS devices very quick and simple. A script for the UEM Agent Uninstallation is part of the macOS components packages and basically you need fist to ensure to bring this file to the target device e.g., via downloading the macOS components package or any other possible ways like sending it via email, provide a OneDrive link or copy it via USB Stick. Within this guide, we will download the macOS components package directly to the target macOS device, but as mentioned, any other way is also possible. 

Download the Script

  • On your target macOS devices, download the EmpirumAgentUninstall.sh
  • Store the EmpirumAgentUninstall.sh file on the desktop 

Depending on your used browser, perform a right-click on the link an use the Download Linked File As (Safari) oder Save Link As (Chrome) option.

Script Execution

  • Open the Launchpad
  • Type Terminal and open the application
  • Enter the following command and press enter 
cd ~/Desktop

For creation of ~ press Option/Alt + N on your keyboard

  • Enter the following command to list available files on your Desktop and press enter
ls

If a popup will appear, allow Terminal to access files in your Desktop Folder by pressing OK

  • Now Locate your EmpirumAgentUninstall.sh
  • Enter now the following command and press enter
sudo /bin/sh EmpirumAgentUninstall.sh
  • Enter your macOS Password to proceed
  • Wait until the process is finished  
  • Was this article helpful?