Windows XP one second shutdown hazard

  

Quick shutdown hazard

There is a fast shutdown method circulating on the Internet: call up the task manager, hold down the Ctrl key, click to shut down, this can be three seconds Shut down, very fast. In addition, there are some fast shutdown software, such as SuperFast Shutdown, which can also be used to quickly shut down.

We all know that a series of operations are required when the system is shut down, including: closing windows, ending processes and services, saving data, and so on. And does the quick shutdown like the above save some steps, and will this harm the system?

First, let's take a look at the steps that the system will normally shut down:

1 Shutdown command informs the Windows subsystem CSRSS.EXE, CSRSS.EXE, and will do a check with WinLogon.EXE after receiving the notification. Data exchange, and then WinLogon.EXE informs CSRSS.EXE to start the process of shutting down the system.

2CSRSS.EXE in turn queries the user processes that have the top-level window, letting these user processes exit.

3 Then start to terminate the system process.

The above three steps are the most time-consuming part of the entire Windows shutdown process. Most of the reasons for slow shutdown are caused by these three steps.

4WinLogon.EXE calls the NtShutdownSystem() function to command the system to perform subsequent sweeps and finally shuts down.

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

A lot of software writes data to memory at runtime and saves it to a file when it exits. If you do not go through the previous steps, it will lead to the program not exiting normally and losing data. This may cause some unexpected errors due to important data loss, which is harmful to the system.

Therefore, it is recommended that you try not to use the Ctrl key to shut down or some fast shutdown software. After all, the security of the data is much more important than the saving time.

Copyright © Windows knowledge All Rights Reserved