One-click to close all running programs in Windows

  
. After a busy day of work, when you are ready to shut down your computer, you will find that many running programs on the Windows 7 taskbar need to be shut down one by one. Maybe you are thinking about this time. If you can close them all at once, it will save you a lot of trouble. In fact, this idea can be done completely, and does not require any special software, you can do it yourself. First, right click on your Windows 7 desktop, create a new shortcut, and enter the following: taskkill /F /FI "USERNAME eq PChome" /FI "IMAGENAME ne explorer.exe" /FI "IMAGENAME ne dwm. Exe" Note, please replace “PChome” with your personal computer username.

Then [Next] name this shortcut, for example: close all processes.

Click the [Finish] shortcut to fix it, you can put it on the desktop, or lock it to the Windows 7 taskbar. Then just start a few programs and double-click on the shortcut to see if it is all closed. How, this little shortcut makes it easy to close the program.
If you think the default shortcut icon is not good, you can also give it a suitable icon, right-click this shortcut, Properties--Shortcut--Change icon. Icon resources can be selected from C:WindowsSystem32SHELL32.dll or from C:WindowsSystem32imageres.dll.

After replacing the icon, this shortcut is like an app.

In addition, this shortcut not only helps users save operations before shutting down, but also can turn off all programs in the form of quick knives when Windows 7 has serious response delay problems for various reasons. Back to normal. Finally, there is one point to note in use: The principle of this shortcut is to use the taskkill command to force the end of all processes except "explorer and dwm" with the username "PChome", which will also include some processes of the security software, if Not to use before shutting down, remember to manually start the security software. Of course, we can add the security software related process to the shortcut, and add a paragraph after the " & target" column of the shortcut: /FI "IMAGENAME ne security software process name", note that there must be spaces before /FI .
Copyright © Windows knowledge All Rights Reserved