Fully understand the danger of a second fast shutdown

Source: Internet
Author: User
Tags exit

There is a rapid shutdown method on the Internet: Pull up the task manager, hold down the CTRL key, click the shutdown, this can be three seconds off, fast. In addition, there are some fast shutdown software, such as: Superfast Shutdown, use it can also quickly shutdown.

As we all know, the system shuts down a series of operations, including: Close the window, end processes and services, save data, and so on. And as the above fast shutdown does not save some of the steps, this will not be harmful to the system?

First shutdown instructions to notify the Windows subsystem Csrss.exe,csrss.exe, after receiving the notification and Winlogon.EXE do a data exchange, and then by Winlogon.EXE notify CSRSS.EXE start shutting down the system process.

Second, in turn, CSRSS.EXE the user process with the top-level window, and the three links to the user process exit.

It then starts to terminate the system process.

The above 3 steps are the most time-consuming part of the entire Windows shutdown process, and most of the slow shutdown is caused by these 3 steps.

Finally, Winlogon.EXE calls the Ntshutdownsystem () function to order the system to perform the following cleanup work, and finally shut down the machine.

It seems that the Windows shutdown process is quite complex. Using the CTRL key to shut down or use some fast shutdown software does not go through the full four-step process, but often skips the first three steps and calls the Ntshutdownsystem () function to shut down the machine directly.

Many software writes data to memory at run time, and then saves it to a file when it exits. If you do not go through the previous step shutdown, it will lead to the program does not normally exit and loss of data, this may be due to important data loss caused by some unexpected errors, the system is harmful.

Therefore, we suggest that you try not to use the CTRL key shutdown or some fast shutdown software, after all, the security of data than the savings that a little shutdown time is much more important.

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.