Friday 8 June 2012

Kill all running programs in windows

Sometimes we need to force to kill running programs in windows, for example when installing software that needs to close all running programs, to close malware to stop running, etc.
It can be used with one click via your mouse by making the shortcut at your desktop or other place that you want to make.
create shortcut to kill all running programs in windows
 
Below is the code: 
C:\Windows\System32\taskkill.exe /F /FI "USERNAME eq EXAMPLE" /FI "IMAGENAME ne explorer.exe" /FI "IMAGENAME ne dwm.exe

Notes:
  • usually C: is where the windows OS is installed, it can be other letters where your windows OS has been installed.
  • change EXAMPLE to your username screen (EXAMPLE is my username screen in my case at my PC)
  • the code also can be executed at "run window" and "ms-dos (command prompt window)".
  • don't forget to save all your works before execute the shortcut you've already made.

No comments: