Last active
October 11, 2022 23:54
-
-
Save dxrcy/49a818ffca70fc11718f0ad82c2b7798 to your computer and use it in GitHub Desktop.
Kill cringe programs with batch (Windows), kills Adobe processes and misc. Windows things
This file contains hidden or 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
@ECHO OFF | |
:: Elevate self to admin | |
ECHO Elevating self... | |
IF _%1_==_payload_ GOTO :PAYLOAD | |
:ELEVATE | |
SET vbs=%temp%\getadmin.vbs | |
ECHO Set UAC = CreateObject^("Shell.Application"^) >> "%vbs%" | |
ECHO UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%" | |
"%temp%\getadmin.vbs" | |
DEL "%temp%\getadmin.vbs" | |
GOTO :EOF | |
:PAYLOAD | |
ECHO Killing cringe programs... | |
ECHO. | |
:: /F - Force | |
:: /T - Kill children | |
:: /IM - Process name | |
:: Kill Adobe | |
ECHO Adobe: | |
TASKKILL /F /T /IM AGMService.exe | |
TASKKILL /F /T /IM RuntimeBroker.exe | |
TASKKILL /F /T /IM AdobeNotificationClient.exe | |
TASKKILL /F /T /IM AdobeUpdateService.exe | |
TASKKILL /F /T /IM Setup.exe | |
TASKKILL /F /T /IM "Adobe Installer.exe" | |
TASKKILL /F /T /IM "Creative Cloud Helper.exe" | |
TASKKILL /F /T /IM AdobeGCClient.exe | |
TASKKILL /F /T /IM AdobeIPCBroker.exe | |
TASKKILL /F /T /IM CCXProcess.exe | |
TASKKILL /F /T /IM CCLibrary.exe | |
TASKKILL /F /T /IM "Adobe Desktop Service.exe" | |
TASKKILL /F /T /IM CoreSync.exe | |
TASKKILL /F /T /IM armsvc.exe | |
TASKKILL /F /T /IM AGSService.exe | |
:: Kill Windows | |
ECHO Windows: | |
TASKKILL /F /T /IM gamingservices.exe | |
TASKKILL /F /T /IM gamingservicesnet.exe | |
TASKKILL /F /T /IM OfficeClickToRun.exe | |
ECHO. | |
ECHO Complete. Press any key to continue... | |
PAUSE >> NUL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment