Does the quick turn off opportunity cause Windows data corruption? _windowsxp

Source: Internet
Author: User
Tags terminates
Anhui Zhaokai Reader Letter: "I recently downloaded a fast shutdown software, the software is very powerful, almost in a blink of an eye to shut down the computer." Many people say the software may be damaging the data, but they are not telling the appropriate basis. I am very contradictory now, have a good thing, but dare not use. Master dong, I hope you can give an authoritative statement to dispel my doubts. ”

Not only is the Zhaokai reader's software capable of fast shutdown, but it can also be accomplished with some skill, but what is the consequence of this? The teacher invited to the "topic Hall" to participate in the discussion of the Windows system is quite a research, won the 2004 Microsoft's most valuable experts Mr. Zhang Kanzong.

From the usual experience can be seen, after the shutdown operation of the computer will not immediately power off, Windows will have a series of actions such as closing the open program, then from the execution of the shutdown command to the final power is a process?
The normal shutdown of Windows involves multiple components and multiple processes. Let's take a look at its basic process.

After the ① user initiates the shutdown instruction, The program that initiates the shutdown instruction notifies the Windows subsystem that the Csrss.exe,csrss.exe will make a data exchange with Winlogon.EXE, followed by Winlogon.EXE to notify CSRSS.EXE to begin shutting down the system process.

②csrss.exe receives Winlogon.EXE notification, sequentially queries the user process that owns the top-level window and lets those user processes exit. If a user process does not exit within a default timeout of 5000 milliseconds (you can modify the registry key value Hkey_current_usercontrol Paneldesktop Hungapptimeout set timeout), Windows displays an End Task dialog box that asks the user whether to end the task. This dialog box is displayed by default and does not close automatically.

The basics are similar for a console program, except that Windows uses the Hkey_current_usercontrol paneldesktop waittokillapptimeout to set the time-out period.

③ then it was the turn to terminate the system process. The system process includes SMSS.EXE, Winlogon.EXE, Lsass.EXE and so on. When Windows terminates a system process, it is not like terminating a user process, prompting the user if it cannot terminate within a specified time, but skipping the process to execute the next system process termination. The time-out period used is the same as the time of step 2nd.

The normal shutdown of Windows involves multiple components and multiple processes. Let's take a look at its basic process.

After the ① user initiates the shutdown instruction, The program that initiates the shutdown instruction notifies the Windows subsystem that the Csrss.exe,csrss.exe will make a data exchange with Winlogon.EXE, followed by Winlogon.EXE to notify CSRSS.EXE to begin shutting down the system process.

②csrss.exe receives Winlogon.EXE notification, sequentially queries the user process that owns the top-level window and lets those user processes exit. If a user process does not exit within a default timeout of 5000 milliseconds (you can modify the registry key value Hkey_current_usercontrol Paneldesktop Hungapptimeout set timeout), Windows displays an End Task dialog box that asks the user whether to end the task. This dialog box is displayed by default and does not close automatically.

The basics are similar for a console program, except that Windows uses the Hkey_current_usercontrol paneldesktop waittokillapptimeout to set the time-out period.

③ then it was the turn to terminate the system process. The system process includes SMSS.EXE, Winlogon.EXE, Lsass.EXE and so on. When Windows terminates a system process, it is not like terminating a user process, prompting the user if it cannot terminate within a specified time, but skipping the process to execute the next system process termination. The time-out period used is the same as the time of step 2nd.
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.