Skip to content

Instantly share code, notes, and snippets.

@ndarville
Last active January 16, 2019 01:49
Show Gist options
  • Save ndarville/e455de123a6683320d7b70a40855299d to your computer and use it in GitHub Desktop.
Save ndarville/e455de123a6683320d7b70a40855299d to your computer and use it in GitHub Desktop.
Batch script for videogames to kill processes hogging resources

My computer is barely able to run Overwatch, and every now and then, I get the most ridiculous performance spikes

Save the contents of killresourcehogs.bat to a file (named whatever.bat) and just double-click on it to end the listed processes.

  • /f: Force
  • /t: Kill threads
  • ::: Comments

Uncomment (::) or just delete the lines with the processes you expect to be using for your games. Agent.exe is for the Blizzard launcher.

pause >nul prevents the script from closing your window so you can see what has happened.


Full blog post at https://ndarville.com/blog/2017/06/13/killresourcehogs/.

taskkill /f /im bvckup2.exe
taskkill /f /im Dropbox.exe
taskkill /f /im flux.exe
taskkill /f /t /im iTunes.exe
taskkill /f /t /im iTunesHelper.exe
taskkill /f /t /im Slack.exe
:: Game launchers - CPU as well as bandwidth
taskkill /f /im Agent.exe
taskkill /f /im Battle.net.exe
taskkill /f /im Battle.net\ Helper.exe
taskkill /f /im GalaxyClient.exe
taskkill /f /t /im UplayWebCore.exe
taskkill /f /t /im upc.exe
taskkill /f /im Origin.exe
taskkill /f /im Steam.exe
:: Background download/upload
:::: taskkill /f /im Transmission.exe
:::: taskkill /f /im uTorrent.exe
pause >nul
@ndarville
Copy link
Author

Agent.exe is a Blizzard program. Don’t include it if you plan on playing one of their games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment