
In the beginning you can also see that I first checked for the version (didn't want to remove the one I had updated), but commented out that as I handled it with a Smart Group instead. Rm -f /Library/PrivilegedHelperTools/com.teamviewer*Įcho "Privileged Helper Tool file removed"Įlse echo "No TeamViewer Host found or wrong version"Īs you can see I have commented out the specific files, was easier just to add wildcard to the paths. Rm -f /Library/Preferences/com.teamviewer*


Rm -f /Library/LaunchDaemons/com.teamviewer* To remove TeamViewer from Mac automatically, you can simply use a tool called PowerMyMac. Rm -f /Library/LaunchAgents/com.teamviewer* Steps on how to completely remove teamviewer from mac: launch app cleaner & uninstaller. # TVHostV=`defaults read /Applications/TeamViewerHost.app/Contents/ist CFBundleShortVersionString`
