Kill all running apps with a double click
I have created a batch file which determines all the process started by the user and terminates all these processes.
It kills only the processes started by the user.These processes includes tray applications and background applications.
Using this batch file you can free up lots of RAM before starting any memory intensive application like Games or Video Encoders.You don’t have terminate each and every application to free up RAM.
This batch file works with both Windows XP and Windows Vista.
NOTE:This batch file cannot kill protected applications like that of Anti-Virus and Firewall
To kill all running apps just download kill.bat and double click on it.
If you DO NOT want a particular process (example firefox.exe )to be stopped .
Modify the batch file like this.Add an extra line if not “%%i”==”firefox.exe” ( and extra closing bracket )just before the pause.(on the last but one line)
title Kill all running apps – Bharat Balegere – AgniPulse.com
for /f “skip=3 tokens=1” %%i in (‘TASKLIST /FI “USERNAME ne NT AUTHORITYSYSTEM”‘) do (
if not “%%i”==”svchost.exe” (
if not “%%i”==”explorer.exe” (
if not “%%i”==”cmd.exe” (
if not “%%i”==”tasklist.exe” (
if not “%%i”==”firefox.exe” (
taskkill /f /im “%%i”