本文提供有关 bug 检查系统停止错误的常规信息,也称为 停止代码错误。 停止代码屏幕的确切外观取决于错误的原因。
根据你的方案,你可能对另一篇文章感兴趣:
如果你是系统显示带有 bug 检查代码的停止代码错误的客户,请参阅 “停止代码错误疑难解答”。
如果你是 IT 专业人员,可以在 高级故障排除中找到有关停止代码错误的详细信息。
如果你是程序员,查找 Bug 检查屏幕上显示的常见 bug 检查代码,请参阅 Bug 检查代码参考。
了解 bug 检查系统停止
当 Windows 遇到破坏安全系统作的条件时,系统将停止。 This condition is referred to as a bug check, or sometimes, a system crash, kernel error, or stop error.
下面是与 bug 检查系统停止相关的一些示例方案:
如果允许作系统在完整性泄露后继续运行,则数据可能会损坏或系统安全受到破坏。
如果在系统上启用了故障转储,则会创建故障转储文件。
如果内核调试器已附加且处于活动状态,则系统会导致中断,以便调试器可用于调查故障。
如果未附加调试器,将显示一个文本屏幕,其中包含有关错误的信息。 此屏幕称为 停止代码错误 或 故障检查屏幕。
以下示例演示了显示停止代码错误的 bug 检查系统停止条件:
bug 检查屏幕显示停止代码错误,以及当前正在执行的代码的模块名称(如果可用)。 The example shows the PAGE_FAULT_IN_NONPAGED_AREA stop code and the name of the executing module, AcmeVideo.sys.
Bug 检查代码引用中提供了与每个停止代码关联的停止代码十六进制值。
下面是 Windows 11 版本 24H2 及更高版本的示例:
The bug check screen displays the stop code error, such as CRITICAL_PROCESS_DIED. When the module name of the currently executing code is available, the name also displays, such as rdbyss.sys.
如果系统可以生成转储文件,则当系统写入转储文件时,你会看到显示完成百分比的显示。
排查 bug 检查(停止代码错误)
如果计算机停止工作并显示停止代码错误,计算机会突然关闭以防止数据丢失。 硬件设备、其驱动程序或相关软件可能会导致错误。 若要了解有关显示的信息的详细信息(例如错误驱动程序名称),请参阅 “分析 bug 检查停止代码错误数据”。
下表提供了 Windows bug 检查代码的常规故障排除提示。
| Scenario | Troubleshooting tips |
|---|---|
| 新的设备驱动程序或系统服务 | 删除或更新最近添加的任何设备驱动程序或系统服务。 确定任何可能导致新的 bug 检查代码的最近系统配置更改。 |
| 设备或驱动器有故障 | Open Windows Device Manager and check for devices marked with the exclamation point (!). 查看驱动程序属性中显示的事件日志。 查找任何故障驱动程序并更新相关驱动程序。 |
| New hardware | 删除或替换最近添加的任何硬件。 请咨询制造商,查看是否有任何修补程序可用。 |
| 其他硬件问题 | 运行系统制造商提供的硬件诊断。 |
| 系统日志中的严重错误 | Check the system log in the Event Viewer for error messages. 查找可能有助于查明导致错误的设备或驱动程序的内容。 检查系统日志中与停止代码错误相同的时间范围内发生的严重错误。 |
| Memory errors | Run the Windows Memory Diagnostics tool to test the memory. In the Window Control Panel, search for Memory, and then select Diagnose your computer's memory problems. After the test runs, use Event Viewer to see the results under the system log. Look for the MemoryDiagnostics-Results entry and view the results. |
| Hardware incompatibility | 确认任何最近安装的硬件都与已安装的 Windows 版本兼容。 例如,可以在 Windows 10 规范中获取所需硬件的相关信息。 |
| 病毒或系统损坏 | 运行病毒检测程序。 病毒可以感染为 Windows 格式化的所有类型的硬盘。 生成的磁盘损坏可以生成系统 bug 检查代码。 使用病毒检测程序检查主启动记录是否存在感染。 |
| 文件系统错误 | Use the Scan disk utility to confirm there are no file system errors. Right-click the drive to scan and select Properties>Tools>Check now. |
| 丢失或损坏的文件 | 使用 系统文件检查器 工具修复丢失或损坏的系统文件。 此 Windows 实用工具允许用户在 Windows 系统文件中查找损坏,然后还原损坏的文件。
SFC /scannow使用命令运行系统文件检查器工具(SFC.exe)。
有关详细信息,请参阅 使用系统文件检查器工具修复缺失或损坏的系统文件。 |
| 可用空间不足 | 确认硬盘上有足够的可用空间。 操作系统和某些应用程序需要足够的可用空间来创建交换文件和执行其他功能。 确切的要求因系统配置而异,但最好有 10% 到 15% 的可用空间。 |
| Outdated software | 验证系统是否已安装最新的 Service Pack。 To detect which Service Pack is installed on your system, select Start>Run, enter winver, and select OK. The About Windows dialog opens showing the Windows version number and the version number of the Service Pack, if any is installed. |
| 过时的 BIOS 或固件 | 请咨询制造商,查看更新的系统 BIOS 或统一可扩展固件接口 (UEFI) 固件是否可用。 |
| 硬件连接问题 | 对于计算机,请确保所有扩展板都已正确安置,并且所有电缆都已正确连接。 |
使用安全模式
在故障排除期间删除或禁用任何组件时,最好在安全模式下运行。
在 Windows 启动时,安全模式仅加载所需的最低驱动程序和系统服务。
To enter Safe Mode, go to Control Panel>Settings and select Update and Security.
To boot to maintenance mode, select Recovery>Advanced startup.
At the next menu, select Troubleshoot>Advanced Options>Startup Settings>Restart.
After Windows restarts to the Startup Settings screen, select option 4, 5, or 6 to boot to Safe Mode.
Safe Mode might be available by pressing a function key on boot, for example F8. 有关具体的启动选项,请参阅制造商提供的信息。