One-click to close Windows7 all running programs

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.