Created
August 1, 2019 09:39
-
-
Save carcheky/530fd85ffff6719486038542a8b5b997 to your computer and use it in GitHub Desktop.
Stop all adobe shit process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternative:
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: