-
-
Save mhucka/59e785a315d813d14cd0258b89a2fcac to your computer and use it in GitHub Desktop.
#!/bin/bash | |
# ============================================================================= | |
# @file GitHub gist | |
# @brief stop Adobe Creative Cloud app from auto-launching on login on macOS | |
# @author Michael Hucka <[email protected]> | |
# @created 2021-08-12 | |
# @website https://gist.github.com/mhucka/59e785a315d813d14cd0258b89a2fcac | |
# | |
# I find Adobe Creative Cloud absolutely infuriating. It installs auto | |
# launchers that are not in the user's login app list, and the services are | |
# hard to find and hard to stop. This is a script to try to unload and kill | |
# off the services on a macOS system. Tested on Mojave (10.14). | |
# | |
# USE AT YOUR OWN RISK. I'm not responsible for anthing that may happen if | |
# you use this. | |
# ============================================================================= | |
# From https://apple.stackexchange.com/a/356217/6489 | |
launchctl unload -w {,~}/Library/LaunchAgents/com.adobe.*.plist > /dev/null 2>&1 | |
sudo launchctl unload -w /Library/LaunchDaemons/com.adobe.*.plist > /dev/null 2>&1 | |
# From https://apple.stackexchange.com/a/366252/6489 | |
sudo launchctl disable system/com.adobe.acc.installer.v2 > /dev/null 2>&1 | |
sudo launchctl disable system/com.adobe.acc.installer > /dev/null 2>&1 | |
sudo launchctl disable system/Adobe_Genuine_Software_Integrity_Service > /dev/null 2>&1 | |
sudo launchctl disable system/com.adobe.AdobeCreativeCloud > /dev/null 2>&1 | |
sudo launchctl disable system/com.adobe.agsservice > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.acc.AdobeCreativeCloud.2416 > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.accmac.2256 > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.CCXProcess.2252 > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.CreativeCloud > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.CCLibrary.4032 > /dev/null 2>&1 | |
launchctl disable gui/$(id -u)/com.adobe.AdobeCreativeCloud > /dev/null 2>&1 | |
# Additional things found necessary on my 10.14 system: | |
killall Adobe\ Desktop\ Service > /dev/null 2>&1 |
@treemannul more context would be helpful :-). Did we have a conversation elsewhere and are you are writing in response to that? Or did you come across this gist somewhere and try it and are having problems?
If you can describe what you did exactly, that would be helpful. I can't tell if you saved the file and tried to run it, or copy-pasted the commands, or something else.
Have another question if anyone can answer: these scripts work really great, but I'd like to keep the Adobe update portion, is there any way to do that? I realize that it will probably reinstate everything I killed, but I suppose I can just schedule the remove script to run periodically (or at startup).
I tried running
launchctl load -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
But just get an error "Load failed: 2: No such file or directory".
Per a comment, I also tried:
launchctl bootout system /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
But this also errored with /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist: Could not find specified service
Boot-out failed: 113: Unknown error: 113
Could not find service.
Same result for:
launchctl bootout gui/504 /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
Thanks for the response. Yes, I copied it into bbedit, then I saved it as removeAdobeCloud.bash on my desktop. Then ran it with the command
sudo ./Desktop/removeAdobeCloud2.bash
Well first I authorized it in terminal using chmod +x ~/Desktop/removeAdobeCloud.bash
(more or less shooting in the dark, from stuff I'm reading about apple scripting -- ive used dos batch files for years but never apple script)
By the way, the comment may have been lost that it WORKS for me now, by just adding sudo when running it -- THANKS!
but i added my question about reinstating adobe updates. Plus, still see Core Sync Helper running.
Great, glad to hear it worked in the end.
Re the errors about "no such file or directory": it means the file (/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist in that case) does not exist, but I don't know why – it exists on my system. Perhaps due to different versions of the Adobe software?
All that happens is that I keep getting prompted for password; it doesnt error, just keeps asking (more times than there are commands in the script). I am an admin in this mac. Sorry, complete noob at apple scripting.
[edit] I had to run the command with sudo, like this: sudo ./Desktop/removeAdobeCloud2.bash
After a reboot, ALMOST everything is gone; however, I still see Core Sync Helper (adobe), and briefly I saw CCXProccess.app, but then it went away.
But wow a lot of RAM was released, nearly a gig.