Skip to content

Instantly share code, notes, and snippets.

@ndarville

ndarville/README.md

Last active Jan 16, 2019
Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@ndarville ndarville commented Jun 13, 2017

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
You can’t perform that action at this time.