-
-
Save carcheky/530fd85ffff6719486038542a8b5b997 to your computer and use it in GitHub Desktop.
# https://forums.adobe.com/thread/2621275 | |
cd C:\Users\cmartinezv\Documents | |
# This will Stop the Services, and change the startup from Automatic to Manual - Opening Adobe Applications will start these services, without your interaction. If you have issues, you can manually start them by replacing Get-Service with Start-Service, or open the Services Panel with WindowsKey+R: "services.msc" | |
# Setting Startup to Manual only needs to be run once. Stopping the services needs to be done each time you exit application, if you don't want background services running. Such as Sync. | |
Get-Service -DisplayName Adobe* | Stop-Service | |
Get-Service -DisplayName Adobe* | Set-Service -StartupType Manual | |
Get-Service -DisplayName AdobeUpdateService | Stop-Service | |
Get-Service -DisplayName AdobeUpdateService | Set-Service -StartupType Manual | |
# On Application Exit, Run This in PowerShell - or Make a Shortcut | |
Get-Process -Name Adobe* | Stop-Process -Force | |
Get-Process -Name CCLibrary | Stop-Process -Force | |
Get-Process -Name CCXProcess | Stop-Process -Force | |
Get-Process -Name CoreSync | Stop-Process -Force | |
Get-Process -Name AdobeIPCBroker | Stop-Process -Force | |
Get-Process -Name Adobe CEF Helper | Stop-Process -Force | |
# You can go further by removing the Run at Logon in Registry, first confirm they are found. | |
Get-Item Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run | |
# Backup your existing Run Key. This command is Powershell Only. This will create a reg file called 'RunAtLogOn-Backup' in your user folder. | |
# REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run $env:USERPROFILE\RunAtLogOn-Backup.reg | |
# and the command prompt version. | |
# REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run %USERPROFILE%\RunAtLogOn-Backup.reg | |
# To remove these keys in Powershell: | |
Get-Item Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run | Remove-ItemProperty -Name AdobeAAMUpdater-1.0 | |
Get-Item Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run | Remove-ItemProperty -Name AdobeGCInvoker-1.0 |
Alternative:
Get-Process -Name Adobe* | Stop-Process -Force
Get-Process -Name CCLibrary | Stop-Process -Force
Get-Process -Name CCXProcess | Stop-Process -Force
Get-Process -Name CoreSync | Stop-Process -Force
Get-Process -Name AdobeIPCBroker | Stop-Process -Force
Get-Process -Name Adobe CEF Helper | Stop-Process -Force
I've made an alternative approach.
Command:
Get-Process * | Where-Object {$_.CompanyName -match "Adobe" -or $_.Path -match "Adobe"} | Stop-Process
Why:
Since Adobe keeps adding new programs, and constantly changes the names of programs.
Before use:
This is a general "shotgun" approach, and therefore might kill other applications you want running.
Therefore I'd recommend fetching the list of processes it will kill before you run it.
To fetch the processes that will be killed:
Get-Process * | Where-Object {$_.CompanyName -match "Adobe" -or $_.Path -match "Adobe"} | Get-Process | Select-Object -Property processname,Company,path | fl
How it works:
This command gets all running processes, and checks if the company name or path contains the word "Adobe" (because ofc adobe isn't listed as "Company" under some of their programs, so just killing everything with "Adobe" as company will not work, as the remaining programs restarts the other programs...)
This results in the following processes being killed (and any other ones it finds), without needing to manually add the process name in a long list in the script:
C:\Users\Total_Ecl1ps3> Get-Process * | Where-Object {$_.CompanyName -match "Adobe" -or $_.Path -match "Adobe"}
>> | Get-Process | Select-Object -Property processname,Company,path | fl
ProcessName : Adobe Desktop Service
Company : Adobe Inc.
Path : C:\Program Files (x86)\Common Files\Adobe\Adobe Desktop Common\ADS\Adobe Desktop Service.exe
ProcessName : AdobeIPCBroker
Company : Adobe Inc
Path : C:\Program Files (x86)\Common Files\Adobe\Adobe Desktop Common\IPCBox\AdobeIPCBroker.exe
ProcessName : CCLibrary
Company : Adobe Systems Incorporated
Path : C:\Program Files\Common Files\Adobe\Creative Cloud Libraries\CCLibrary.exe
ProcessName : CCXProcess
Company : Adobe Systems Incorporated
Path : C:\Program Files\Adobe\Adobe Creative Cloud Experience\CCXProcess.exe
ProcessName : CoreSync
Company :
Path : C:\Program Files (x86)\Adobe\Adobe Sync\CoreSync\CoreSync.exe
ProcessName : Creative Cloud Helper
Company : Adobe Inc.
Path : C:\Program Files\Adobe\Adobe Creative Cloud\ACC\Creative Cloud Helper.exe
ProcessName : node
Company : Node.js
Path : C:\Program Files\Adobe\Adobe Creative Cloud Experience\libs\node.exe
ProcessName : node
Company : Node.js
Path : C:\Program Files\Common Files\Adobe\Creative Cloud Libraries\libs\node.exe
It's worth noting that a lot of Adobe processes have the above fields hidden (i.e. empty) when Powershell is run as non-administrator. Running Powershell as administrator will catch a lot more processes.
Hey, do you have ready script for this? I am annoyed with their processes running in the background for no reason. Thanks