Remove Share911 Desktop from a Mac
Remove Share911 Desktop from a Mac by hand, or from many Macs at once with your MDM.
Removing Share911 from your Mac
- Click the Share911 icon in the menu bar and choose "Shut down Share911".
- Drag Share911 from your Applications folder to the Trash.
If Share911 was installed with the package, an administrator also runs, in Terminal:
sudo rm /Library/LaunchAgents/com.share911.desktop.agent.plist
sudo pkgutil --forget com.share911.desktop- To remove your settings and logs as well, delete these folders in your home folder's Library folder: Application Support/Share911, Logs/Share911, Caches/com.share911.desktop.ShipIt and Caches/share911-desktop-updater, and the file Preferences/com.share911.desktop.plist.
Removing Share911 with your MDM
Run this script as root, then remove the configuration profiles you pushed for Share911. With Jamf School, follow "Removing Share911" in Deploy Share911 Desktop with Jamf School, which uses this script.
The script deletes Share911 from the Applications folder, the login item the package installed and the package's install record. It stops every running copy of Share911 but does not delete copies elsewhere; remove those as described in "Other copies of Share911" in Deploy Share911 Desktop with Jamf Pro. Before and after it stops Share911, it stops any Share911 update waiting to install. It reports success on Macs where Share911 is not installed and when it runs again, and failure if Share911 is still in the Applications folder afterwards. Users who are logged in keep seeing Share911 in their Login Items until they log out.
#!/bin/sh
label="com.share911.desktop.ShipIt"
disarm () {
launchctl bootout "system/$label" 2>/dev/null
uids=$(id -u "$(stat -f %Su /dev/console)" 2>/dev/null)
for pid in $(pgrep -f "ShipIt $label "); do
uids="$uids $(ps -o uid= -p "$pid")"
done
for uid in $uids; do
launchctl bootout "gui/$uid/$label" 2>/dev/null
done
pkill -KILL -f "ShipIt $label "
}
disarm
pkill -KILL -x Share911
disarm
rm -rf /Applications/Share911.app
rm -f /Library/LaunchAgents/com.share911.desktop.agent.plist
pkgutil --forget com.share911.desktop >/dev/null 2>&1
[ ! -e /Applications/Share911.app ]