First, the shutdown process and fault causes
Windows shutdown program will perform the following functions during shutdown: complete all disk writing operations, clear disk cache, execute window shutdown program, close all currently running programs, and convert all drivers in protected mode into real mode.
The main reasons for the failure of Windows system shutdown are: the sound file was destroyed when choosing to quit Windows; Incorrect or damaged hardware configuration; BIOS settings are incompatible; The setting of "Advanced Power Management" or "Advanced Configuration and Power Interface" in BIOS is not appropriate; The video card is not assigned IRQ in real mode; The program or TSR program may not shut down correctly; Incompatible, damaged or conflicting device drivers are loaded.
Second, the fault analysis and solutions
1. The sound file was damaged when exiting Windows.
First, you can determine whether the "Exit Windows" sound file is damaged-click Start → Settings → Control Panel, and then double-click the sound. In the event box, click Exit Window. In Name, click (None), click OK, and then turn off the computer. If Windows shuts down normally, the problem is caused by exiting the sound file. To solve this problem, please choose one of the following actions: Restore sound files from backup; Reinstall the program that provides the sound file; Configure Windows not to play the "Exit Windows" sound file.
2. Fast shutdown is abnormal
Fast shutdown is a new function in Windows 98, which can greatly reduce the shutdown time. However, this feature is not compatible with some hardware, which may cause the computer to stop responding if these hardware are installed in the computer. You can disable fast shutdown. Click Start → Run, type Msconfig in the open box, and then click OK (see figure 1). Click Advanced → Disable Fast Shutdown, click OK, and then click OK again. The system prompts to restart the computer, and it can be restarted. If the computer can be shut down normally, the quick shutdown function may not be compatible with one or more hardware devices installed on the computer.
3. Pay attention to "advanced power management"
Advanced power management (APM) functions on the computer may also cause shutdown, crash or black screen problems. To determine whether APM will cause shutdown problems, click Start → Settings → Control Panel, and then double-click the system. On the Device Manager tab, double-click the system device. Double-click Advanced Power Management in the device list, click the Settings tab, and then click to clear the Enable Power Management check box. Click OK continuously until you return to the control panel. Restart the computer. Turn off the computer. If the computer shuts down normally, the cause of the problem may be APM.
4. Startup and shutdown faults
When people use computers, they often encounter failures such as "you can safely turn it off" when Windows just started, or turning it off immediately after starting or restarting it after turning it off. The reason for this failure is generally that the Wininit.exe or Vmm32.vxd file is damaged. The solution is to retrieve these two files from the Windows installer compressed package again. Enter the Windows\\system subdirectory and 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 or Vmm32.vxd in the File to Extract box. Click Start, then follow the onscreen instructions to extract the file from the Windows CD or installation disk to the C:\\Windows\\System folder, and then repeat this step to replace the file Wininit.exe or Vmm32.vxd
5. The mistake is 5. Bootlog.txt file.
In addition, the location problem in the Bootlog.txt file will also lead to the failure of shutting down the black screen. You can use a text editor such as Notepad to check the entry "Terminate" in the Bootlog.txt file. These entries are located at the end of the file and can provide some clues to the cause of the problem. For each "Terminate=" entry, find a matching "EndTerminate=" entry.
Terminate=Query Drivers indicates that there is a problem with the memory manager;
Terminate=Unload indicates that the network conflicts 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 something wrong with the sound card or mouse driver;
Terminate=Win32 indicates that a problem related to a 32-bit program is blocking the thread.
If the last line of the Bootlog.txt file is "EndTerminate=KERNEL", Windows 98 can shut down successfully.
6.6 There is a problem. Or Autoexec.bat
In addition, can you check whether the Config.sys file conflicts with the Autoexec.bat file? To determine whether there is a conflict in the Config.sys file or the Autoexec.bat file, click Start, and then click Run. In the open box, type Msconfig, and then click OK. Click Diagnostics Start, and then click OK. When prompted to restart the computer, click OK. If the computer does not start or shut down correctly, determine which line of the Config.sys or Autoexec.bat file is causing the problem.
To determine the line that is causing the problem, please restart the computer. Please hold down the Ctrl key when the computer restarts. Select Safe Mode from the startup menu. Click "Start" after startup, and then click "Run". In the open box, type Msconfig, and then click OK. Click to clear the check boxes in the Config.sys and Autoexec.bat tabs that do not contain Windows icon rows. Using this Config.sys file, click to enable a line. Click "OK". When prompted to restart the computer, click OK. If the computer is turned on and off normally, please enable another line, repeat the above steps, and enable the lines in the Config.sys file and Autoexec.bat file step by step until the problem is found.
7. Internal system problems
In addition, you can also determine whether there is an internal system problem. Click Start → Run. In the open box, type Msconfig, and then click OK. On the General tab, click Advanced. Click to clear the following check boxes in advanced troubleshooting settings, and then click OK: Disable system ROM breakpoints; Disable virtual hdirqEMM does not contain A000-FFFF. When prompted to restart the computer, click OK. If the computer starts normally, you can repeat the above steps, but when "Click to clear the following check box in advanced troubleshooting settings" in step, click to select the check box. Repeat this process by selecting one other check box at a time until you find that the computer can't shut down normally. Once you find that the computer can't be restarted or turned off, you can repeat the above steps again and click to clear the check box just selected.
8. Check CMOS settings
Incorrect CMOS settings can also cause computer shutdown problems. When the computer starts, you can press the "Del" key to enter the CMOS setup page, and check whether the options such as CPU external frequency, power management, virus detection, IRQ interrupt opening and closing, and disk startup sequence are set correctly. Please refer to your motherboard manual for specific setting methods, which has detailed setting instructions. If you really don't know much about its settings, I suggest that you can directly install or remove the CMOS battery, short the jumper with CMOS, and choose the factory default settings.
9. Hardware problems
In addition, some problems in the BIOS itself or the hardware system itself will also cause the failure to shut down. When you find that new hardware is installed, the system hangs when you turn it off, such as the display is black and the keyboard and mouse are unresponsive. It is likely that the drivers configured for the new hardware are compatible. To solve this problem of incompatibility of third-party hardware, we usually go to the hardware manufacturer's website to find a solution, find the latest driver of the device, and download it to your machine system, which can generally solve the problem.
-
Solve the "problem" of not shutting down normally
A friend once asked the author: Why can't my computer shut down automatically? I want to solve this problem for them and "turn experience into theory" by the way. I believe this article can also help you solve some problems.
For ATX-driven computers, Windows 98 provides the automatic shutdown function of the computer. But many times our computer can't shut down smoothly and normally, and sometimes it will crash or lose its response during the shutdown process, which makes us have to restart the computer or forcibly turn off the power of the computer. Is there any way to keep the computer from breaking down? Let's analyze the reasons together.
First, there will be music when the phone is turned off.
Many friends like to set a closed music in the sound setting of the "control panel" to add some life to the cold computer. If the closed music file is damaged for some reason and cannot be played normally, it will naturally fail when the shutdown program is executed. If your computer can't shut down normally and you just set the shutdown music, you might as well set the shutdown music to "None" (as shown in figure 1) and try again.
Second, the drivers are not compatible.
Incompatibility between hardware drivers will also cause the computer to shut down normally. Here's a trick. Every time Windows 98 fails to shut down, it will be recorded in the Bootlog.txt file in the root directory of drive C, and find out the reasons why "Terminate=" and "EndTerminate=" will record the shutdown failure here.
Take the computer I'm using now, for example. At first, I used TNT2 M64 graphics card, which was normal at first. Later, it was found that if you shut down immediately after quitting the game, no matter how long it takes, it will definitely fail, and you must restart it once to shut down normally. So I checked the Bootlog.txt file after the shutdown failed. At the end of the file, I found these records:
Terminate = Reset display
EndTerminate = resets the display.
EndTerminate = user
From the record, it seems that the shutdown failure is related to the graphics card, so I installed a new TNT2 driver on the driver CD, and the fault still exists. The latest DirectX 8. 1 has been installed, but the problem has not been solved. Finally, after running the DirectX diagnostic tool "DxDiag" once (the program is in the directory of C: \ \ Program Files \ \ DirectX \ \ Setup), it is indicated on the "Display" page that "the file Nvdisp.drv has not been digitally signed ..." It seems that the TNT2 driver I installed before has not passed the Microsoft certification. So I downloaded the latest NVIDIA_WHQL (that is, Microsoft certified) driver of Windows 9X on the Internet, restarted it after installation, and ran the "DxDiag" program again, prompting "No problem found" on the "Display" page. At this time, all kinds of 3D games can be shut down smoothly after running.
After many tests, it was found that the general shutdown failed. As long as it is not the 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 according to the Bootlog.txt display of your computer:
There is a problem with the Terminate=Query driver memory manager.
Terminate=Unload Network Network conflicts with the real-mode network driver in Config.sys
There is something wrong with the terminal = resetdisplay graphics card settings or drivers.
Terminate=RIT sound card or some old mouse drivers have timer-related problems.
Terminate=Win32 Some 32-bit programs have locked threads.
You can find and solve the computer shutdown fault according to the situation of your computer and compare the above reasons.
Third, software is hard to quit.
Sometimes the shutdown fails not because of the computer system itself, but because some programs can't quit normally when it is shut down. Many friends don't close all running programs or software before shutting down, but let Windows shut down automatically when shutting down. Indeed, most software or programs can automatically shut down when the computer is turned off, but a few can't automatically quit, so it is necessary for us to check which software or programs are still running when the computer is turned off.
I found that the computer often can't shut down normally, and it still doesn't work if the "quick shutdown" is disabled. Later, I found out that when running a certain software on the computer (because the software is resident in memory and automatically appears in the system tray after running), if I don't quit from the system tray when I turn it off, I can't turn it off. And shut down the running software before shutting down, you can shut down normally. Therefore, when shutting down, it is best to quit all kinds of executing programs before executing the shutdown command.
Fourth, haste makes waste.
There is a Bug in the shutdown program of Windows 98 itself, which is "fast shutdown". Many times, we can't shut down normally. As the saying goes, "haste makes waste".
The solution is simple, that is, "disable fast shutdown". Click Start → Run, enter msconfig, and click OK. The System Configuration Utility window appears, click General Page, and then click Advanced Options. In the advanced troubleshooting settings window that appears at this time, check the "Disable Fast Shutdown" option (as shown in Figure 2), thus completing the whole operation.