Home / Articles / Windows / Windows 7 / How create a shortcut to close all running applications

How create a shortcut to close all running applications

How create a shortcut to close all running applications
 
How create a shortcut to close all running applications
  • Currently 0 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Thank you for rating!

You have already rated this page, you can only rate it once!

Your rating has been changed, thanks for rating!

Log in or create a user account to rate this page.


Many Windows users sometimes need to close as quickly as possible all running applications, for instance, to run resource-intensive game. In this case, you can create a shortcut on your desktop that will lock the taskbar and close all programs with a single click.

First you need to create a shortcut: right click on the desktop → New → Shortcut, then in the "Select the location of the object" input text:

taskkill /F /FI "USERNAME eq user_name" /FI "IMAGENAME ne explorer.exe" /FI "IMAGENAME ne dwm.exe"

Where "user_name" should be replaced by your own username.

Then specify the name and, if necessary, change the icon in the properties of the created shortcut. To lock to the taskbar you only need to right-click on the shortcut, and select in the context menu "Lock the taskbar".

In order to exclude from the list of processes to be terminated a specific program, all you need to do is to add to the above "input text"(separated by space), the following:

/FI "IMAGENAME ne PROGRAM_NAME.exe"

Where PROGRAM_NAME must be replaced with your own, the exact name of the executable file, you can look up in the Task Manager or the properties of the shortcut of the program.


 

Read also

Disk cleanup in Windows 7

Disk cleanup in Windows 7

Log in or create a user account to post a comment.

easyos.net
117217982212577402640

Quick navigation

General navigation