This is a failure or abnormal shutdown function. How to solve this kind of failure?
1. Shutdown Process and Failure Causes
The Windows shutdown program will perform the following functions during the shutdown process: complete all disk write operations, clear the disk cache, and close the 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 incompatible with some hardware and may cause your computer to stop responding if it is installed in it. 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 your 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 a 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 process 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, Regardless of the length of time, if you shut down the computer immediately after exiting the game, it will definitely fail and you will have to restart it once 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 is 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 automatically close when the computer executes the shutdown procedure, but there are also a few that cannot exit automatically, so it is necessary for us to check what other software or programs are running when the computer shuts down.
I found that the computer often failed to shut down normally. Even if "Quick Shutdown" was disabled, it still didn't work. 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. And 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 (Figure 2 ), thus completing the entire operation.