Windows shutdown fault handling method

  
             First talk about the conditions for the automatic shutdown of the Windows system. Automatic shutdown is supported in Win98 and higher systems, that is, the shutdown is not performed by the physical switch of the power supply.
Auto-shutdown is achieved through the ACPI (Advanced Configuration and Power Interface) technology supported by the system (of course, ACPI functions are not just automatic shutdown). ACPI is jointly developed by Intel, Microsoft and Toshiba. It can be used for power management on the BIOS. This technology requires the motherboard control chip and other I/O chips to establish a standard contact channel with the system, so that the system can perform power management through the instantaneous soft power switch (MSPS: Momentary Soft Power Switch).
Therefore, automatic shutdown can only be achieved under the premise that the hardware (control chip), power supply (ATX power supply) and **** system (Win98 and above) support ACPI technology. Therefore, in order to ensure the automatic shutdown, in the BIOS settings, you must set "ACPI fnuction" to "Allow", and you must enable APM (Advanced Power Management).
Auto-shutdown is a more complicated process. It is completed by the system process Csrss and Winlogon and calls the shutdown function ShutdownSystem. This function further calls SetSystemPowerState to close the driver and other current executive subsystems (such as plug-in). Ready-to-use manager, power manager, executive, IO manager, configuration manager, memory manager, etc.). In addition, when performing automatic shutdown, the system also checks the status of various external devices in the current system and the status of applications that have not been closed, and processes the data in each data buffer. If an error occurs in the above work, it will not shut down properly. Therefore, in general, all peripherals should be stopped before shutdown, and all applications should be closed before shutting down.
In the Windows system, there are often cases of automatic shutdown failure. Let's talk about the specific reasons and solutions:
1. The automatic shutdown procedure in the system file is defective. In order to confirm whether this is the cause, the following experiment can be performed. Enter the command in "Start/Run"; “rundll32 user.exe, exitwindows” to see if it can be shut down gracefully. If you can shut down normally under this command, it means that the automatic shutdown program may have some defects. If you are using Win98 system, please click “Start/Programs/Accessories/System Tools/System Information/Tools/System File Checker” in rdquo; Check system file integrity and patch files. If other systems (Me/2000/XP) are used, file patching can also be done in the corresponding project. If the patch file still does not resolve the issue, you can only reinstall the system. While running “rundll32 user.exe, exitwindows” can not be shut down properly, it may be that some system programs in the system are defective, but the solution is still to patch the system or reinstall the system.
2. Viruses and certain defective applications or system tasks may cause shutdown failure. First kill the virus and close all applications before shutting down. Since some applications are loaded at system startup, you can subtract the loaded program one by one in the "Startup" menu (in the "Start/Run"; enter the command: “msconfig”) to see if there is There are no files that affect shutdown (it will not take effect until you restart).
3. Peripheral and driver compatibility is not good, can not respond to fast shutdown. You can enter the command: <;msconfig” in “Start/Run”, select “Advanced" in the “General" tab, and select “Disable Quick Shutdown in the window that opens. If you suspect a fault, you can also unload the peripherals one by one to check for influential peripherals.
4. If you set up a sound file when you close Windows, it can also cause the shutdown to fail when the file is destroyed. Please select the "Exit Windows" item in “Control Panel/Sounds/Events" and set the sound name to “no". If it can be shut down normally after such processing, it means that it is caused by this reason, and the sound file can be reinstalled for use.
5. When Win98 is automatically closed, it will display "You can safely shut down the computer now". This content is completed by the "logos.sys" file in the Windows directory. If the file is damaged, the above cannot occur. Prompt, and prompt in text: "You can now safely turn off you computer", this may also cause automatic shutdown failure, restore the file.
6. After installing WinXP, it cannot be automatically shut down. If the above various reasons are excluded, the power option setting in the control panel may be incorrect. Please check your settings to ensure that ACPI and APM can work normally. There is also a motherboard system BIOS APM (Advanced Power Management) and Win XP are not fully compatible (more than AMI BIOS), so it can not automatically shut down. Selecting Shutdown turns it into a reboot system. In this case, it can only be manually turned off (press the power switch for 4 seconds and then release it, if it is less than 4 seconds). The fundamental solution to the problem is to upgrade the motherboard's system BIOS to the new version.

Copyright © Windows knowledge All Rights Reserved