A shutdown process and the cause of the failure
Windows shutdown program in the shutdown process will perform the following functions: complete all disk write operations, clear the disk cache, the implementation of the program to close the window, shut down all the currently running programs, all the protection mode driver will be converted to real mode.
The main causes of Windows shutdown failures are: corrupted sound files when choosing to exit Windows; incorrectly configured or damaged hardware; incompatible BIOS settings; and incompatibility between the Advanced Power Management or Advanced Configuration and Power Interfaces settings in the BIOS. and Power Interface" settings in the BIOS; not assigning an IRQ to the video card in real mode; a program or the TSR program may not have been closed correctly; loading an incompatible, corrupt, or conflicting device driver, etc.
Troubleshooting
1. Quit Windows sound file corruption
First of all, you can determine whether the "Quit Windows" sound file has been corrupted - Click on "Start → Settings → Control Panel, and then double-click Sound. In the "Event" box, click "Exit Windows". In the Name, click "(None)", then click OK and shut down the computer. If Windows shuts down normally, the problem is caused by the Exit sound file, and to resolve the problem, do one of the following: restore the sound file from a backup; reinstall the program that provides the sound file; or configure Windows not to play the Exit Windows sound file.
2. Fast shutdown not working properly
And fast shutdown is a new feature in Windows 98 that can greatly reduce shutdown time. However, this feature is not compatible with certain hardware and may cause the computer to stop responding if such hardware is installed in the computer. You can disable Fast Shutdown by clicking Start → Run and typing Msconfig in the Open box. "in the Open box, and then click OK (see Figure 1). Click "Advanced" → "Disable Fast Shutdown", click "OK", click "OK" again. The system prompts you to restart the computer, you can restart it. If the computer shuts down normally, the Quick Shutdown feature may not be compatible with one or more hardware devices installed on the computer.
3. Watch out for Advanced Power Management
The Advanced Power Management (APM) feature on your computer can also cause shutdowns or black screen problems. To determine whether APM causes shutdown problems, click Start > Settings > Control Panel, and then double-click System > Advanced Power Management. ". On the "Device Manager" tab, double-click "System Devices". Double-click Advanced Power Management in the list of devices, click the Settings tab, and then click to clear the Enable Power Management check box. Click OK repeatedly until you return to the Control Panel. Restart the computer. Shut down the computer, and if the computer shuts down normally, the cause of the problem may lie in the APM.
4. Startup shutdown failures
When you use a computer, you will also often encounter a Windows startup display "You can safely shut down the computer", or a startup display that says "You can safely shut down the computer". The reason for these failures is generally due to the fact that the computer will shut down immediately or reboot when it shuts down. The cause of these problems is generally due to the corruption of the Wininit.exe or Vmm32.vxd file. The solution is to retrieve these two files from the Windows installer package. Enter Windows\\\system subdirectory, Vmm32.vxd renamed Vmm32.XXX backup, and then click "Start" → "Programs" → "Accessories 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 in the "Files to Extract" section. Click "Extract a file from the installation disk" (see Figure 2), and then type "Wininit.exe" or "Vmm32.vxd" in the "File to extract" box. Click Start and follow the on-screen instructions to extract the files from the Windows CD-ROM or installation disk to the C:\\\Windows\\\\System folder, and then repeat this step to replace the file Wininit.exe or Vmm32.vxd.
5. Bootlog.txt file error
In addition, there is a positioning problem in the Bootlog.txt file can also cause shutdown black screen failure. You can start by using a text editor, such as Notepad, to check for "Terminate=" entries in the Bootlog.txt file. These entries are located at the end of the file and provide some clues as to the cause of the problem. For each "Terminate=" entry, look for the matching "EndTerminate=" entry.
Terminate=Query Drivers indicates that there is a problem with the memory manager;
Terminate=Unload indicates that Network has a conflict with the real mode or network driver in Config.sys;
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 a problem related to a 32-bit program is blocking the thread.
Windows 98 can be successfully shut down if the last line of the Bootlog.txt file is "EndTerminate=KERNEL".
6. Problems with Config.sys or Autoexec.bat
Additionally, you may want to check if there are any conflicts in the Config.sys file or Autoexec.bat file? To determine if there are conflicts in the Config.sys file or Autoexec.bat file, click Start, then Run. In the Open box, type "Msconfig" and click OK. Click Diagnostic Startup and then OK. Click OK when prompted to restart the computer. If the computer starts up or shuts down incorrectly, determine which line in the Config.sys or Autoexec.bat file is causing the problem.
To determine the line that is causing the problem, restart the computer. Hold down the Ctrl key as the computer restarts. Select Safe Mode from the Startup menu. After starting, click Start and then Run. In the Open box, type "Msconfig" and click OK. Click to clear the check boxes on the Config.sys and Autoexec.bat tabs that do not contain a Windows icon line. Using this Config.sys file, click to enable a line. Click OK. When prompted to restart the computer, click OK. If the computer starts up and shuts down normally, enable another line and repeat the steps above to gradually enable the lines in the Config.sys file and the Autoexec.bat file until you notice a problem.
7. Internal system problems
In addition, you can determine if there is an internal system problem. Click Start → Run. In the Open box, type "Msconfig" and click OK. On the General tab, click Advanced. Click to clear the following check boxes in the Advanced Troubleshooting Settings, and then click OK: Disable system ROM interrupt points; Disable virtual HD IRQ; EMM does not contain A000-FFFF. When prompted to restart the computer, click OK. Click OK. If the computer starts up normally, repeat the above steps, but click to check a checkbox in step "Click to clear the following checkboxes in the Advanced Troubleshooting Settings". Repeat this process, checking one other checkbox at a time, until you find that the computer will not shut down properly. Once you find that the computer can not be restarted or shut down, you can repeat the above steps again click to clear the checkboxes just selected.
8. Check CMOS settings
Incorrect CMOS settings can also cause computer shutdown problems, we can press the "Del" key to enter the CMOS settings page when the computer starts, focusing on checking the CPU frequency, power management, virus detection, IRQ interruptions on and off, disk boot sequence and other options are set correctly. The main point is to check whether the CPU frequency, power management, virus detection, IRQ interrupt on/off, disk boot sequence and other options are set correctly. You can refer to your motherboard's manual for the specific setting method, which has very detailed setting instructions. If you don't know much about the settings, it is recommended that you load or remove the CMOS battery, shorten the jumper, and select the factory default settings directly in the CMOS.
9. Hardware Problems
In addition, some of the BIOS itself or the hardware system itself can cause the failure to shut down the fault. When you find that you have installed new hardware in the shutdown of the system hangs, such as the monitor black screen, keyboard and mouse unresponsive, etc., then it is likely that the driver configured for the new hardware has a compatibility problem. To solve this third-party hardware incompatibility problem, it is generally to the hardware manufacturer's website to find a solution to find the latest driver for the device and download and install it into your machine system, which can generally solve the problem.
--
Solving the "problem" of not being able to shut down properly
There have been a number of friends who have asked me: Why can't my computer shut down automatically? The author had to solve these problems for them, and by the way, the experience "up to theory". I believe that this article can also help you solve some of the problems.
For ATX-powered computers, Windows 98 provides an automatic shutdown function for computers. However, in many cases, our computers do not shut down smoothly and normally, and sometimes they die or lose response during the shutdown process, making it necessary to reboot the computer or force it to power off. Is there any way to make computer shutdown no longer fail? Let's analyze the reasons.
One of the shutdown music
Many friends like to set up a shutdown music in the "Control Panel" sound settings, for the cold computer to add some life. If the shutdown music file is corrupted for some reason and can't be played properly, the shutdown program will naturally fail. If your computer doesn't shut down properly, and you've set up shutdown music, you might want to set the shutdown music to "None" (Figure 1), and then try again.
Second, the driver is not compatible
The incompatibility between hardware drivers can also cause the computer not to shut down properly. Here is a trick, every time Windows 98 shutdown failure, will be in the root directory of the C disk below the Bootlog.txt file to make a record, to find out which "Terminate=" and "EndTerminate=", where the record of the "Terminate=" and "EndTerminate=", where the record of the "Terminate=" and "EndTerminate=". ", where the reason for the failed shutdown is recorded.
Or take my own use of this computer, the beginning of my use of a small ShadowBlade TNT2 M64 graphics card, at first very normal, and then I found that as long as the run of the 3D game, regardless of the length of time, if you exit the game immediately after the shutdown, it will certainly fail to restart a restart to shut down properly. So I checked the Bootlog.txt file after the failed shutdown, and at the end of the file, I found these records:
Terminate=Reset Display
EndTerminate=Reset Display
EndTerminate=User < /p>
From the logs, it looks like the shutdown failure has something to do with the graphics card, so I installed the newer version of the TNT2 drivers from the driver CD, and the failure persisted. Installed the latest DirectX 8.1 again, still no problem. Finally, after running the DirectX diagnostic tool "DxDiag" (the program is located in the C:\\Program Files\\\DirectX\\\Setup directory), I got the following message on the "Display" screen "The file Nvdisp.drv is not digitally signed ......" It seems that the TNT2 driver I installed before was not certified by Microsoft, so I went online and downloaded the NVIDIA_WHQL (i.e. certified by Microsoft) driver for TNT2. So I went online and downloaded the latest TNT2 NVIDIA_WHQL (i.e., Microsoft certified) driver 28.32 WHQL version for Windows 9X. After installing it, I restarted and ran the "DxDiag" program again, and was prompted with the message "No Problems Found" in the "Display" page. After running the program again, the "Display" page says "No problems found", and the computer shuts down smoothly after running all kinds of 3D games.
After many tests, I found that the general shutdown failure, as long as it is not a failure of the hardware itself, you can check the Bootlog.txt file to find the cause.
Terminate=Query Drivers Memory Management Program Problems
Terminate=Unload Network Networks with Conflict with real-mode network driver in Config.sys
Terminate=Reset Display Problems with graphics card settings or driver
Terminate=RIT Timer-related problems with sound cards or some older mouse drivers
Terminate=Win32 Certain 32-bit programs lock up threads
You can find and fix your computer's shutdown troubles by comparing the above causes to your own computer's situation.
Three, the software is difficult to exit
Sometimes the shutdown failure is not the cause of the computer system itself, but because of the shutdown of certain programs can not exit properly. Many friends do not close all the running programs or software before shutting down, but let Windows shut down automatically close them when shutting down. It is true that most of the software or programs can be closed automatically when the computer performs the shutdown procedure, but there are a few that can not be exited automatically, so it is necessary for us to check what other software or programs are running when the computer is shut down.
I found that my computer often failed to shut down properly, and I disabled the "fast shutdown" feature. I realized that when I run some software on my computer (which is memory-resident and automatically appears in the system tray after running), if I don't exit it from the system tray when I shut down my computer, I'm sure I won't be able to shut down the computer. If I don't exit it from the system tray when I shut down the computer, it will not shut down properly. So when shutting down your computer, it's best to first quit the various programs you're running, and then execute the shutdown command.
Four, want to speed is not enough
Windows 98 shutdown program itself there is a bug, which is "fast shutdown", in many cases it is so that we can not shut down the normal, as the so-called "want to speed is not enough! "
This is the first time I've seen a bug in the program.
The solution is simple: disable fast shutdown. Click "Start" ?ú "Run", type "msconfig" and click "OK". The "System Configuration Utility" window appears, click on the "General" page, and then click on the "Advanced" option, at this time the appearance of "Advanced In the "Troubleshooting Settings" window, put a check mark in front of the "Disable fast shutdown" selection (Figure 2), and this completes the entire operation.