How to remove or disable Adobe Registration request and kill Adobe IPC, Adobecloud

adobeterminal

I found this on the registration, but where and how to put this into:

#!/bin/sh

# Determine OS version
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
sw_vers=$(sw_vers -productVersion)

# Checks first to see if the Mac is running 10.7.0 or higher. 
# If so, the script checks the system default user template
# for the presence of the Library/Preferences directory.
#
# If the directory is not found, it is created and then the
# iCloud pop-up settings are set to be disabled.

if [[ ${osvers} -ge 7 ]]; then

 for USER_TEMPLATE in "/System/Library/User Template"/*
  do
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant LastSeenCloudProductVersion "${sw_vers}"
  done

 # Checks first to see if the Mac is running 10.7.0 or higher.
 # If so, the script checks the existing user folders in /Users
 # for the presence of the Library/Preferences directory.
 #
 # If the directory is not found, it is created and then the
 # iCloud pop-up settings are set to be disabled.

 for USER_HOME in /Users/*
  do
    USER_UID=`basename "${USER_HOME}"`
    if [ ! "${USER_UID}" = "Shared" ] 
    then 
      if [ ! -d "${USER_HOME}"/Library/Preferences ]
      then
        mkdir -p "${USER_HOME}"/Library/Preferences
        chown "${USER_UID}" "${USER_HOME}"/Library
        chown "${USER_UID}" "${USER_HOME}"/Library/Preferences
      fi
      if [ -d "${USER_HOME}"/Library/Preferences ]
      then
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant LastSeenCloudProductVersion "${sw_vers}"
        chown "${USER_UID}" "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant.plist
      fi
    fi
  done
fi

Also I found this, but I copied that in my terminal and nothing happened. What do I need to do excatly?

this is a terminal alias/command I use that prevents any Adobe stuff running in the background:

alias nothankyouadobe="sudo -H killall ACCFinderSync \"Core Sync\" AdobeCRDaemon \"Adobe Creative\" AdobeIPCBroker node \"Adobe Desktop Service\" \"Adobe Crash Reporter\";sudo -H rm -rf \"/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist\" \"/Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist\" \"/Library/LaunchDaemons/com.adobe.*.plist\""

If you put that in your ~/.bash_profile you can then simply type nothankyouadobe or call that from Alfred or any other sort of script.

Best Answer

I made an updated version of the script that also removes the associated launchd services and uses the pluginkit utility to disable the Core Sync Finder Extension, as explained in this answer but programmatically

#!/bin/bash

# ask root password
sudo echo -n

echo "Deactivating Core Sync Finder extension"
pluginkit -e ignore -i com.adobe.accmac.ACCFinderSync
# uncomment to completely remove the extension 
# pluginkit -r "/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/PlugIns/ACCFinderSync.appex"

echo "Removing plist files"
sudo rm -f /Library/LaunchAgents/com.adobe.*.plist
sudo rm -f /Library/LaunchDaemons/com.adobe.*.plist
rm -f ~/Library/LaunchAgents/com.adobe.*.plist

for SERVICE in $(launchctl list | grep "com.adobe" | cut -f3)
do
    echo "Removing service ${SERVICE}"
    launchctl remove $SERVICE
done

PROCESSES=(
"ACCFinderSync"
"CoreSync"
"Creative Cloud Helper"
"Core Sync Helper"
"AdobeCRDaemon"
"Adobe Creative"
"AdobeIPCBroker"
"Adobe Desktop Service"
"Adobe Crash Reporter"
)

for p in "${PROCESSES[@]}"
do
    echo "Killing process ${p}"
    sudo -H killall "${p}" 2> /dev/null
done

You can save this script into a file called "adobye" for exemple, and execute chmod +x adobye && mv adobye /usr/local/bin, to turn it into a globally available command. You can then simply type adobye in terminal whenever you want to remove adobe processes