First talk about the conditions for automatic shutdown of the Windows system. Automatic shutdown is supported in the WIN98 and higher system, that is, shutdown is achieved by the physical switch of the power supply. Automatic shutdown is achieved by operating system supported ACPI (Advanced Configuration and Powe Interface, Advanced System Configuration, and Power Management) technology. ACPI is developed by multiple companies such as Intel, Microsoft, and Toshiba, which can be used by operating systems over the BIOS. This technology requires the motherboard control chip and other I / O chips to establish standard contact channels to the operating system, so that the operating system can be powered by the instant soft power switch. Therefore, automatic shutdown can only be implemented only if the hardware, power supply, and operating systems support ACPI. Therefore, in order to ensure the implementation of the automatic shutdown, in the BIOS settings, the ACPIFNUCTION must be set to Enabled. At the same time, the APM (Advanced Power Management) function must be enabled.
Automatic shutdown is a complicated process, which is completed by system processes CSRSS and WinLogon and calls shutdown function shutdownsystem to complete, this function further calls setSystemPowerState Close drivers and other current execution program subsystems (such as plug and play management In addition, the system also checks the status of various external devices in the current system and the state of the application that has not been closed when performing automatic shutdown To handle data in each data buffer, etc. If an error occurs in the above work, it cannot be turned off. It is therefore general to say that various peripherals should stop working at shutdown, and close all applications to shut down.
In the Windows system, there is indeed automatic shutdown failure, and the specific reasons and methods are talked below.
1. The automatic program in the system file is defective. In order to confirm that it is caused by this reason, it can be as follows. Enter: rundll32User.exe, exitwindows see if it can be turned off. If you can shut down normally under this command, you may have some shortcomings if you use the Win98 system, please run the SFC program, check the integrity and patch files of the system file. If other systems are used, such as WinMe, 2000, XP, the file patches can also be completed in the corresponding project. If the patch is still unable to solve the problem, you can only reinstall the system. Run Rundll32User.exe, exitwindows does not shut down normally, may be defective in some procedures in the operating system, and the processing method is still a repair system or reinstall the system.
2, viruses and some defective programs or system tasks may cause shutdown failure. The first choice to kill viruses, close all applications before shutdown. Since the program is loaded when the system is started, all programs in the start group can be deleted, run the MSconfig program to the startup group, to remove all programs to see if there is a program that affects the shutdown.
3, peripherals and driver compatibility is not good, and cannot respond quickly. You can run MSConfig, select Advanced in General Tabs, and select Disable Quick Shutdown in the open window. If you are suspected of being there is a fault, you can uninstall the peripherals one by one to find an affected peripheral.
4, if set the sound file when turning off Windows, when the file is corrupted, it can cause shutdown failure, please select "Exit Windows" in the sound event in the control panel, set the sound to not.
5. When Win98 is automatically closed, "It is now safe to turn off the computer", which is completed by the "logos.sys" file under the Windows directory. If this file is corrupted, it can also cause it to shut down, a solution, Restore this file.