When you're ready to turn off your computer after a busy day at work, you'll find that many of the running programs on the Windows 7 taskbar need to be shut down one at a time, and maybe you're thinking about how easy it would be to turn them all at once. In fact, this idea is completely achievable, and do not need any special software, you can do it with your own hands.
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 that here, replace "PChome" with the personal user name of your computer.
Then "Next" name the shortcut, for example: close all processes.
Click on the "Finish" shortcut and if you're ready, you can put it on the desktop or lock it on the Windows 7 taskbar. Then randomly start a few programs, and then double-click the shortcut to see if it is all closed? Well, this little shortcut makes it easy to shut down the program.
If you think the default shortcut icon is not good-looking, you can also give it a suitable icon, right-click this shortcut, properties--shortcuts--Change the icon. Icon resources can be selected from the C:windowssystem32shell32.dll, or you can look for them from the C:windowssystem32imageres.dll.
After replacing the icon, the shortcut is like an application.
In addition, this shortcut helps the user to save the operation before shutting down, but also can be in the Windows 7 for a variety of reasons for serious response delay problem, in the form of a Gordian knot to turn off all programs, so that the system back to normal.
Finally, there is one thing to note in using:
The principle of this shortcut is to use the Taskkill command to force the end of any process except Explorer and DWM with "PChome" as the username, which will also include some of the security software processes, and remember to manually start the security software if it is not used before shutting down the computer. Of course, we can add the security software related process to the shortcut, in the shortcut's "Target" column, add a paragraph:/fi "imagename ne security software process name", note/fi before and after the space.