1. 1. Shutdown process and failure reasons
The Windows shutdown program will perform the following functions during the shutdown process: complete all disk write operations, clear the disk cache, and execute Close window programs, close all currently running programs, and convert all protected-mode drivers to real mode.
The main causes of Windows system shutdown failure are: damaged sound files when choosing to exit Windows; incorrect configuration or damaged hardware; incompatible BIOS settings; "Advanced Power Management" or "Advanced Power Management" in the BIOS "Advanced Configuration and Power Interface" settings are inappropriate; the video card is not assigned an IRQ in real mode; a program or TSR program may not be shut down properly; an incompatible, corrupt, or conflicting device driver is loaded etc.
2. Fault analysis and solution
1. The sound file is damaged when exiting Windows
First of all, you can determine whether the "Exit Windows" sound file is damaged. ——Click "Start" → "Settings" → "Control Panel", and then double-click "Sound". In the Event box, click Exit Windows. In Name, click (None), click OK, and then shut down the computer. If Windows shuts down normally, the problem is caused by exiting the sound file. To resolve the problem, choose one of the following: Restore the sound file from backup Reinstall the program that provides the sound file Configure Windows not to play "Exit Windows" sound file.
2. Quick shutdown is abnormal
Quick shutdown is a new feature in Windows 98, which can greatly reduce shutdown time. However, this feature is not compatible with some hardware and may cause the computer to stop responding if it is installed in the computer. You can disable fast shutdown by clicking "Start" → "Run", type "Msconfig" in the "Open" box, and then click "OK" (see Figure 1). Click Advanced → Disable Fast Shutdown, click OK, and click OK again. The system prompts you to restart the computer. You can restart. If the computer shuts down normally, the fast shutdown feature might be incompatible with one or more hardware devices installed on the computer.
3. Pay attention to "Advanced Power Management"
The "Advanced Power Management (APM)" function on the computer can also cause shutdown or black screen problems. To determine whether APM is causing the shutdown problem, click Start → Settings → Control Panel, and then double-click System. On the Device Manager tab, double-click System Devices. Double-click Advanced Power Management in the device list, click the Settings tab, and then click to clear the Enable power management check box. Keep clicking OK until you return to Control Panel. Restart the computer. Shut down the computer. If the computer shuts down normally, the cause of the problem may be APM.
4. Startup and shutdown failure
When everyone uses a computer, they often encounter the message "You can safely shut down the computer" when Windows just starts, or Failures such as shutting down immediately upon startup or restarting upon shutdown. The cause of this type of failure is generally caused by damage to the Wininit.exe or Vmm32.vxd file. The solution is to retrieve these two files from the Windows installer compressed package. Enter the Windows\\system subdirectory, rename Vmm32.vxd to Vmm32.XXX for backup, and then click "Start" → "Programs" → "Accessories" → "System Tools" → "System Information". Click "Tools" in the menu bar, then select "System File Checker", click "Extract a file from the installation disk" (see Figure 2), and then enter "Wininit.exe" in the "File to extract" box ” or “Vmm32.vxd”. Click Start and follow the on-screen prompts to extract the files from the Windows CD-ROM or installation disk to the C:\Windows\System folder and repeat this step to replace the file Wininit.exe Or Vmm32.vxd.
5. Bootlog.txt file error
In addition, positioning problems in the Bootlog.txt file can also cause a black screen during shutdown. You can first use a text editor, such as "Notepad", to check the "Terminate=" entry in the Bootlog.txt file. These entries are located at the end of the file and may provide some clues as to the cause of the problem. For each "Terminate=" entry, find the matching "EndTerminate=" entry.
Terminate=Query Drivers indicates a problem with the memory manager;
Terminate=Unload indicates a conflict between Network and the real mode or network driver in Config.sys;
< p>Terminate=Reset Display indicates that the video driver may need to be updated;Terminate=Rit indicates that there is a problem with the sound card or mouse driver;
Terminate=Win32 indicates that it is related to 32-bit programs The problem is blocking the thread.
If the last line of the Bootlog.txt file is "EndTerminate=KERNEL", Windows 98 can be shut down successfully.
6. There is a problem with Config.sys or Autoexec.bat
In addition, you can check whether there is a conflict in the Config.sys file or Autoexec.bat file? First determine whether there is a conflict in the Config.sys file or Autoexec.bat file. Click Start, and then click Run. In the Open box, type Msconfig, and then click OK. Click Diagnostic Startup and then OK. When prompted to restart your computer, click OK. If the computer starts or shuts down incorrectly, determine which line of the Config.sys or Autoexec.bat file is causing the problem.
To determine which line is causing the problem, restart your computer. While your computer restarts, hold down the Ctrl key. Select "Safe Mode" from the "Startup" menu. After starting, click "Start" and then "Run". In the Open box, type Msconfig, and then click OK. Click to clear the check box for rows without Windows icons in the Config.sys and Autoexec.bat tabs. Using this Config.sys file, click to enable a certain line. Click OK. When prompted to restart your computer, click OK. If the computer starts and shuts down normally, enable another line and repeat the steps above to gradually enable lines in the Config.sys file and Autoexec.bat file until you find the problem.
7. Internal system problems
In addition, it can be determined whether there are internal system problems. Click Start → Run. In the Open box, type Msconfig, and then click OK. Click Advanced in the General tab. Click to clear the following checkboxes in Advanced Troubleshooting Settings, and then click OK: System ROM breakpoints are disabled; Virtual HD IRQ is disabled; EMM does not contain A000-FFFF. When prompted to restart your computer, click OK. If the computer starts normally, repeat the above steps, but in the step "Click to clear the following check boxes in Advanced Troubleshooting Settings," click to select a check box. Repeat this process, selecting a different check box each time, until you find that the computer does not shut down gracefully. Once you find that your computer cannot restart or shut down, you can repeat the above steps again and click to clear the check box you just selected.
8. Check the CMOS settings
Incorrect CMOS settings can also cause computer shutdown problems. You can press the "Del" key to enter the CMOS settings page when the computer starts, and focus on checking the CPU. Are the options such as FSB, power management, virus detection, IRQ interrupt shutdown, disk startup sequence, etc. set correctly? For the specific setting method, you can refer to your motherboard manual, which has very detailed setting instructions. If you really don’t understand its settings, it is recommended that you directly load or remove the CMOS battery in CMOS, short-circuit jumpers, and select the manufacturer’s default settings.
9. Hardware problems
In addition, some problems with the BIOS itself or the hardware system itself can also cause inability to shut down. When you find that you have installed new hardware and the system hangs when shutting down, such as a black screen on the monitor, no response from the keyboard and mouse, etc., then it is likely that there is a compatibility issue with the driver configured for the new hardware. To solve this kind of third-party hardware incompatibility problem, you usually go to the hardware manufacturer's website to find the solution, find the latest driver for the device, download and install it into your machine system, which usually solves the problem.
--
Solving the "problem" of not shutting down normally
Some friends once asked the author: Why can't my computer shut down automatically? The author had to solve such problems for them, and at the same time "upgrade experience to theory". I believe this article can also help you solve some problems.
For computers with ATX power supply, Windows 98 provides the automatic shutdown function of the computer.
But in many cases, our computers cannot shut down smoothly and normally. Sometimes they freeze or become unresponsive during the shutdown process, forcing us to restart the computer or forcibly turn off the power of the computer. Is there any way to prevent computer shutdown from failing? Let's analyze the reasons together.
1. Shutdown music
Many friends like to set a shutdown music in the sound settings of the "Control Panel" to add some life to the cold computer. If the shutdown music file is damaged for some reason and cannot be played normally, then the shutdown procedure will naturally fail. If your computer cannot shut down normally and you have set the shutdown music, you might as well set the shutdown music to "None" (as shown in Figure 1) and then try again.
2. Driver incompatibility
Incompatibility between hardware drivers can also cause the computer to fail to shut down properly. There is a trick here. Every time Windows 98 fails to shut down, a record will be made in the Bootlog.txt file under the root directory of the C drive. Find out the "Terminate=" and "EndTerminate=". The shutdown failure is recorded here. reason.
Let’s take the computer I am using now as an example. At the beginning, I used a Xiaoyingba TNT2 M64 graphics card. At first, everything was normal. Later, I found that as long as I ran 3D games, No matter how long it takes, if you shut down immediately after exiting the game, it will definitely fail and you will have to restart it before you can shut down normally. So I checked the Bootlog.txt file after the shutdown failed. At the end of the file, I found the following records:
Terminate=Reset Display
EndTerminate=Reset Display
EndTerminate=Reset Display
p>
EndTerminate=User
From the records, it seems that the shutdown failure has something to do with the graphics card, so I installed the new version of the TNT2 driver on the driver CD, but the fault still exists. I installed the latest DirectX 8.1 again, but the problem still didn't resolve. Finally, after running the DirectX diagnostic tool "DxDiag" (the program is in the C:\\Program Files\\DirectX\\Setup directory), it prompts "The file Nvdisp.drv is not digitally signed..." on the "Display" page. It seems that the TNT2 driver I installed before did not pass Microsoft certification, so I went online and downloaded the latest driver 28.32 WHQL version of TNT2 NVIDIA_WHQL (that is, certified by Microsoft) for Windows 9X. After installation, I restarted and ran the "DxDiag" program again. , it prompts "No problems found" on the "Display" page. At this time, you can shut down smoothly after running various 3D games.
After many tests, it was found that shutdown generally fails. As long as it is not a fault of the hardware itself, you can check the Bootlog.txt file to find the reason. The records listed below may cause the computer to fail to shut down. You can find out the reason based on the situation displayed in your computer's Bootlog.txt:
Terminate=Query Drivers There is a problem with the memory management program
Terminate=Unload Network Network conflicts with the real-mode network driver in Config.sys
Terminate=Reset Display There is a problem with the graphics card settings or driver
Terminate=RIT sound card or Some old mouse drivers have problems related to timers
Terminate=Win32 Some 32-bit programs lock threads
You can compare the above according to the situation of your computer There are several reasons to find and solve the computer shutdown failure.
3. Software is difficult to exit
Sometimes the shutdown failure is not due to the computer system itself, but because some programs cannot exit normally when shutting down. Many friends do not close all running programs or software before shutting down, but let Windows automatically close them when it shuts down. It is true that most software or programs can be automatically closed when the computer executes the shutdown procedure, but there are also a few that cannot exit automatically. Therefore, when the computer is shut down, it is necessary for us to check what other software or programs are running.
I found that the computer often failed to shut down normally, even if "Quick Shutdown" was disabled. Later I discovered that when a certain software is running on the computer (since this software is resident in memory, it will automatically appear in the system tray after running), if I do not exit it from the system tray when shutting down the computer, it will definitely Unable to shut down. Before shutting down, you can close the running software yourself and you can shut down normally. Therefore, when shutting down, it is best to exit various executing programs before executing the shutdown command.
4. Haste makes waste
There is a bug in the shutdown program of Windows 98, which is "quick shutdown". In many cases, it prevents us from shutting down normally. As the saying goes, "Haste makes waste."
The solution is simple, just "disable fast shutdown". Click "Start" → "Run", enter "msconfig" and click "OK". The "System Configuration Utility" window appears, click the "General" page, and then click the "Advanced" option. In the "Advanced Troubleshooting Settings" window that appears, check the "Disable Fast Shutdown" option, and you are done. the entire operation.
2. The most effective method is to reinstall the system. If the hardware has not been changed and it was good before, you can use system restore to "turn back time and go back to the past" - restore the system to its normal state. . , provided that System Restore is not turned off. (Some "experts" always turn off System Restore to improve performance when installing the system. In fact, the performance improvement brought by this is very small, so it is recommended not to turn off System Restore.) System Restore Location : Start - Programs - Accessories - System Tools - System Restore
If reinstallation does not work, it is usually due to improper BIOS settings or improper ACPI settings or the motherboard is not compatible with XP, then you need to do it Change relevant settings or upgrade the motherboard BIOS.
If you do not want to reinstall the system, please read the following article, which is the cause analysis and corresponding solutions.
Breaking through the Difficulties--Full Contact with Win In addition to the slow speed, shutdown failures rarely occur under normal circumstances. However, you should also pay attention to some of the following fault phenomena.
■ Let it shut down but then restart
This fault is the most common shutdown fault in the Windows XP operating system. The reasons for this failure may be as follows:
1. System settings are causing chaos
By default, Windows XP will automatically restart when an error occurs in the system, so that when the user shuts down the computer, if an error occurs in the system during the shutdown process, the computer will be restarted. Turning this feature off can often resolve automatic restart failures.
Figure 1 Setting startup and fault repair
Right-click "My Computer" on the desktop, select "Properties" in the pop-up right-click menu, and the "System Properties" window will pop up. Click the "Advanced" tab, click the "Settings" button in the "Startup and Recovery" column, and the "Startup and Recovery" window will pop up, as shown in Figure 1. In the "System Failure" column, remove the check mark in front of the "Automatic Restart" option and click the "OK" button.
2. Advanced power management is causing trouble
As we all know, shutdown is closely related to power management. The cause of shutdown failure is likely to be caused by poor power management support for the system.
Click "Start → Settings → Control Panel → Performance and Maintenance → Power Options", and in the pop-up window, enable or cancel "Advanced Power Support" as needed. If you are using "Advanced Power Support" to enable "Advanced Power Support" when the fault occurs, try to cancel it. If you are using "Advanced Power Support" to cancel "Advanced Power Support" when the fault occurs, try to enable it. The fault will often be solved.
3. Don’t worry about USB devices
Nowadays, USB devices are very popular, including USB flash drives, mice, keyboards, modems, etc., you can find them all. Little do we know that these USB devices are often the culprit causing shutdown failures. When a shutdown turns into a restart failure, if there is a USB device connected to your computer, please unplug it first and try again. If you are sure that the USB device is faulty, it is best to replace the device or connect it An external USB Hub. Connect the USB device to the USB Hub instead of directly connecting it to the USB interface of the motherboard.
4. If the computer automatically restarts when shutting down normally, it may also be due to a problem with the motherboard power management. The power management components of some motherboards do not respond very accurately to level signals due to the influence of wiring design and component quality. Since an instantaneous high voltage is generated when the motherboard cuts off the power supply, this high voltage exists for a short time and causes minimal damage to the hardware, but it usually causes PCI devices such as network cards and modems to generate a tiny pulse. If it is not judged as a noise signal and the automatic wake-up function is turned on in your motherboard BIOS, the motherboard will detect external connection requests from devices such as network cards and automatically turn on the computer. This reason is caused by hardware, so simply refreshing the motherboard BI0S cannot solve the problem. You can try turning off the automatic wake-up function in the motherboard BIOS, or you can turn off the pci card wake-up function in the power management setupwake-up by pci carddisabled. .
Shut down and give you a big blue face
1. Windows XP has a bug
Windows XP has a shutdown bug. If your computer often displays a blue screen when shutting down, and the fault is intermittent, press "Ctrl+Alt+Delete" If the keys are unresponsive, it means your system has not been patched. Please download the SP1 patch package and patch it, and it will usually be fine.
2. There is a problem with the driver of the innovative sound card
If you are using an innovative sound card and a blue screen appears during the shutdown process with the error code "0X0A", then please enter the device manager, delete the sound card, and refresh , manually install the latest digitally signed driver.
3. Logitech mouse and keyboard are not perfect
If you are using a Logitech network keyboard and have installed the Key Commander software to drive the corresponding network functions of the keyboard, it may cause a shutdown that turns into a restart failure. If the driver of your Logitech mouse is MouseWare8.6, it will cause a blue screen failure during shutdown. You can only solve the problem by uninstalling the driver.
■ Shut down but cannot automatically cut off the power supply
During the shutdown process, everything is normal, but it stops at "You can safely shut down the computer" but the power supply cannot be automatically cut off and needs to be done manually. Press the "Power" button on the main chassis panel to shut down. The reasons for this failure generally include the following aspects:
1. Power support is not turned on
Click "Start → Settings → Control Panel → Power Options → High-Energy Power Management" and check "Enable advanced power management support".
2. Incorrect BIOS settings
It may be that the power management options in the BIOS have been modified by mistake. If you are familiar with BIOS settings, please enter the BIOS and try to modify the power management options in the BIOS. If you are not familiar with BIOS, simply select the "Load default setup" option to restore the BIOS to the factory default settings.
3. Office XP also causes trouble
Ctfmon.exe in Office XP has always been a controversial issue. Ctfmon.exe is Microsoft's text service file. As long as the user installs Office XP and installs the "Optional User Input Method Component", this file will automatically call it to provide text for speech recognition, handwriting recognition, keyboard and other user input technologies Input support. Even if we don't start Office XP, Ctfmon.exe is still running in the background. It often causes shutdown failures. You might as well try to uninstall it.
Figure 2 Select the update option
Click "Start→Settings→Control Panel→Add/Remove Programs", select "Microsoft Office XP Professionain With FrontPage" among the currently installed programs, click the "Change" button, and in the "Maintenance Mode Options" dialog Select the "Add or Remove Features" option in the box, click Next, the "Select installation options for all Office applications and tools" dialog box will pop up, expand the "Office *** Shared Features" option, and select "Chinese Optional User Input Method" " option, select "Don't install" in the pop-up menu, as shown in Figure 2, click the "Update" button.
4. APM/NT Legacy Node is not turned on
Under normal circumstances, if the APM/NT Legacy Node is not turned on, it may shut down but cannot automatically cut off the power. Enter the device manager and click "View → Show Hidden Devices" in the menu bar to display all hidden devices in the system. Check the box to see if there is an APM/NT Legacy Node option. If your computer supports this feature, you will have this option. Double-click it and click the "Enable Device" button in the properties dialog box that pops up.
< p> There may be a problem with your BIOS settings or the power options in the control panel are incorrectly set. Please check your settings to ensure that ACPI and APM are working properly. This is the most likely problem with your BIOS settings. < /p>There are also motherboard systems where the APM (Advanced Power Management) in the BIOS is not fully compatible with Win XP (mostly AMI BIOS), so the system cannot be shut down automatically when selected. In this case, you can only shut down the computer manually (press and hold the power switch for 4 seconds and then release it. If it is less than 4 seconds, it will be invalid). The fundamental way to solve the problem is to upgrade the system BIOS of the motherboard to a new version.
You can manually modify the registry
In the program---Run---enter regedit, enter the registry,
Find HKEY_CURRENT_USER\Control Pane\Desktop key, change WaitToKillTimeout to 1000-4000, that is, only wait for 1 second to close the program. Change HungAppTimeout to 200-500, which means that the program will only wait up to 0.5 seconds when an error occurs, and set AutoEndTasks to 1.
In addition, you can also change the WaitT0killserviceTimeout of HKEY_LOCAL_MACHINE\System\CurrentControlset\Control\ to 1000-4000
You can speed up the shutdown
Speed ??up the Windows XP system of shutdown.
1. Shutdown using the Shutdown.exe program
Shutdown.exe is a shutdown program, which is saved in the C:\Windows\system32 folder (C drive is the system disk) . Create a shortcut for Shutdown.exe on the desktop, right-click and select "Properties" from the pop-up menu. Add "-s -t10" after the path of the "Target" text box in the properties dialog box. "-s" means shutting down the computer. Of course, it can be changed to "-r" to restart. Computer; "-t" means setting the countdown time, and the number "10" behind it means 10 seconds. Readers can make changes according to their own needs, which can greatly reduce the shutdown waiting time.
Another parameter is "-c prompt message displayed during shutdown", that is, when you want to shut down, the system will pop up a message showing your own settings. Note that the shutdown prompt message cannot exceed 127 characters. 2. Use the "Task Manager"
Press "Ctrl+Alt+Del" in Windows Select the "Shutdown" or "Restart" menu item. At this time, you will find that the shutdown speed of Windows : Complete all disk write operations? Clear the disk cache? Execute the window closing program to close all currently running programs? Convert all protected mode drivers to real mode.
Disable quick shutdown
The main reasons for Windows system shutdown failure are: the sound file selected when exiting Windows is damaged; incorrect configuration or damaged hardware; incorrect BIOS configuration settings Compatibility; "Advanced Power Management" or "Advanced Configuration and Power Interface" settings in the BIOS are inappropriate; the video card is not assigned an IRQ in real mode; a certain program or TSR program may not be closed properly; loading An incompatible, corrupted or conflicting device driver, etc.
Trouble analysis and solution
1. The sound file is damaged when exiting Windows
First of all, you can determine whether the "Exit Windows" sound file is damaged? Open " Control Panel", open "Sound", and cancel the "Exit Windows" sound. If Windows shuts down normally, the problem is caused by exiting the sound file. To solve this problem, you can restore the sound file from a backup or reinstall the program that provides the sound file, or you can define "Exit Windows" to be silent.
2. Quick shutdown is not normal
Quick shutdown is a new function in Windows98, which can greatly reduce the shutdown time. However, this function is incompatible with some hardware and may cause the computer to malfunction. Stops responding. You can run "Msconfig" and disable fast shutdown in the "Advanced" options. If the computer can shut down normally, it means that the hardware device is incompatible.
3. Pay attention to "Advanced Power Management"
In addition, the "Advanced Power Management (APM)" function on the computer can also cause shutdown or black screen problems. To determine whether APM is causing the shutdown problem, open "Device Manager" and open "System Devices". Deselect "Enable power management" in "Advanced power management". If the computer shuts down normally, the cause of the problem may be APM.
4. Shutdown failure upon startup
We often encounter the problem that "You can safely shut down the computer" is displayed when Windows just starts, or it shuts down or shuts down immediately when it starts. when restarting and other failures. The cause of this type of failure is generally caused by damage to the Wininit.exe or Vmm32.vxd file. The solution is to retrieve these two files from the WINDOWS installation program compressed package.
Place it in the Windows\system subdirectory, rename Vmm32.vxd to Vmm32.XXX for backup, then open "System Tools", select "System Information" > "System File Checker" in "Tools", select "From Installation" "Extract a file from disk" and enter "Wininit.exe" or "Vmm32.vxd". Repeat this step to replace the file Wininit.exe or Vmm32.vxd.
4. There is a problem with Config.sys or Autoexec.bat
Extract a file from the installation disk
Also, you can check the Config.sys file or
p>
Is there any conflict in the Autoexec.bat file? Use a text editor to check the contents of these two files to see if there are any redundant commands. You can also use "rem" to prohibit the execution of certain statements and gradually eliminate them until conflicting commands are found.
5. Check the CMOS settings
Incorrect CMOS settings can also cause computer shutdown problems. You can enter the CMOS settings page when the computer starts and focus on checking the CPU FSB and power management. , virus detection, IRQ interrupt shutdown, disk startup sequence and other options are set correctly. For the specific setting method, you can refer to your motherboard manual, which has very detailed setting instructions. If you really don't understand the settings, it is recommended that you just use the factory default settings.
6.. Some programs prevent you from shutting down computing.
Please first confirm whether the program you are running has completely shut down the suspicious process.
If so, please end the process first