# 蓝屏死机

蓝屏死机（BSOD）是[微软 Windows](https://www.edgepedia.org/zh/microsoft-windows) 在操作系统内核遇到危及安全运行的情况、不得不中止系统时显示的错误屏幕，微软将这一过程称为错误检查、停止错误或内核错误。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-checks--blue-screens-)</sup> 该屏幕显示诊断信息，其中最重要的是停止代码，例如 PAGE_FAULT_IN_NONPAGED_AREA，以及（在可获得时）正在执行的模块名称，列在“失败项：”之后。<sup>[2](https://support.microsoft.com/en-US/windows/resolving-blue-screen-errors-in-windows-60b01860-58f2-be66-7516-5c45a66ae3c6)</sup>

| 关键事实 | 详情 |
|---|---|
| 目的 | 在继续运行可能损坏数据或危及系统安全时中止 Windows，然后写入崩溃转储并重启<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-checks--blue-screens-)</sup> |
| 根本原因 | 70% 为第三方驱动程序代码，10% 为硬件问题，5% 为微软代码，15% 因内存损坏过重无法分析而原因不明<sup>[3](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/stop-code-error-troubleshooting)</sup> |
| 识别方式 | 停止代码（错误检查代码），如 0x50 或 0x7E，以及（在可获得时）出错的模块名称<sup>[2](https://support.microsoft.com/en-US/windows/resolving-blue-screen-errors-in-windows-60b01860-58f2-be66-7516-5c45a66ae3c6)</sup> |
| 机制 | 内核函数 KeBugCheckEx 触发停止错误并重启计算机<sup>[4](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/troubleshoot-stop-errors-best-practices-dump-configuration-recommendations)</sup> |
| 颜色变体 | 零售版 Windows 为蓝色；预览版为绿色（“绿屏死机”）；Windows 11 24H2 宣布采用黑色背景<sup>[3](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/stop-code-error-troubleshooting)</sup><sup> • </sup><sup>[5](https://apnews.com/article/9711e0e60d3b7e70d3285b7969506d86)</sup> |
| 著名事件 | 2024 年 7 月 19 日，CrowdStrike Falcon 的一次内容更新导致全球 Windows 机器崩溃，显示 0x50 和 0x7E 停止代码<sup>[6](https://www.crowdstrike.com/wp-content/uploads/2024/08/Executive-Summary_Root-Cause-Analysis_Channel-File-291.pdf)</sup> |

## 错误检查期间发生了什么

当 Windows 检测到可能危及安全、损坏操作系统或用户数据的情况时，它会停止运行而非继续。如果启用了崩溃转储，则创建崩溃转储文件；如果附加并激活了内核调试器，系统会中断进入调试器，以便调查崩溃；如果未附加调试器，则出现停止代码屏幕。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-checks--blue-screens-)</sup> 内核函数 KeBugCheckEx 执行中止，随后计算机重启。<sup>[4](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/troubleshoot-stop-errors-best-practices-dump-configuration-recommendations)</sup>

停止代码是主要的诊断依据。每个代码都有一个符号名称和一个十六进制值，收录在微软的《错误检查代码参考》中；例如，0x000000E2 是 MANUALLY_INITIATED_CRASH。<sup>[7](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2)</sup> 在 Windows 10 时代的屏幕上，显示内容还包括一个链接到故障排除信息的[二维码](https://www.edgepedia.org/zh/qr-code)。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-checks--blue-screens-)</sup>

**崩溃为何发生。** 微软对崩溃根本原因的分析将 70% 归因于第三方驱动程序代码，10% 归因于硬件问题，5% 归因于微软代码，15% 归因于内存损坏过重无法分析的不明原因。根本原因很少是用户模式进程：记事本之类的应用程序看似触发了停止错误，但通常是它暴露了驱动程序、硬件或操作系统本身的底层问题。<sup>[3](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/stop-code-error-troubleshooting)</sup>

## 崩溃转储与分析

发生错误检查时，Windows 可以写入几种内存转储文件：包含所有物理内存的完整内存转储、仅包含内核内存的内核内存转储、包含停止消息、已加载驱动程序列表、处理器和线程上下文以及内核模式调用堆栈的小型内存转储（64 KB），以及活动内存转储。<sup>[8](https://learn.microsoft.com/troubleshoot/windows-server/performance/memory-dump-file-options)</sup> 小型转储写入 %SystemRoot%\Minidump 文件夹，每个文件名中编码了日期，较早的文件会被保留而非覆盖。<sup>[8](https://learn.microsoft.com/troubleshoot/windows-server/performance/memory-dump-file-options)</sup>

分析工具包括 Windows 调试器（WinDbg）和崩溃转储文件检查器（DumpChk），后者用于验证转储文件未损坏并显示停止代码及其参数。<sup>[9](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/use-dumpchk-to-check-memory-dump-file)</sup><sup> • </sup><sup>[3](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/stop-code-error-troubleshooting)</sup> 停止错误数据也会记录在系统事件日志中：当计算机因停止错误而重启时，Windows 会在事件 ID 41 中包含错误检查代码。<sup>[10](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/event-id-41-restart)</sup>

## 故障排除

微软针对反复出现蓝屏的基本步骤是：移除出错前添加的任何硬件；以安全模式启动电脑，安全模式仅加载有限的文件和驱动程序；检查[设备管理器](https://www.edgepedia.org/zh/device-manager)中标记有感叹号的设备，并更新、禁用或卸载其驱动程序；确认有 10% 至 15% 的可用磁盘空间；安装最新的 Windows 更新；如果这些均无效，则从系统还原点或其他恢复选项还原 Windows。<sup>[2](https://support.microsoft.com/en-US/windows/resolving-blue-screen-errors-in-windows-60b01860-58f2-be66-7516-5c45a66ae3c6)</sup> 高级步骤包括检查事件查看器系统日志中同一时间段内的错误、运行 Windows 内存诊断以及执行内存转储分析。<sup>[2](https://support.microsoft.com/en-US/windows/resolving-blue-screen-errors-in-windows-60b01860-58f2-be66-7516-5c45a66ae3c6)</sup> 当停止消息中识别出特定驱动程序时，微软建议禁用它以隔离问题。<sup>[11](https://learn.microsoft.com/troubleshoot/windows-client/performance/stop-error-or-blue-screen-error-troubleshooting)</sup>

## 历史与作者

蓝色错误屏幕在早期 Windows 中以几种不同的形式出现，每一种都有不同的作者。[Windows 3.1](https://www.edgepedia.org/zh/windows-3-1)（1992 年）中的蓝色 Ctrl+Alt+Del 屏幕提供了取消并返回 Windows 的选项，其文本由[史蒂夫·鲍尔默](https://www.edgepedia.org/zh/steve-ballmer)（Steve Ballmer）撰写；从事 Windows 开发工作超过 30 年、撰写“The Old New Thing”博客的微软工程师陈雷蒙（Raymond Chen）指出，这个屏幕是“一块不快乐的蓝屏，而非死亡的蓝屏”，因为 Windows 本身仍在运行。<sup>[12](https://devblogs.microsoft.com/oldnewthing/20240730-00/?p=110062)</sup> 当 Windows 3.1 本身崩溃时，它会降到一个黑色文本屏幕，将控制权交还给 [MS-DOS](https://www.edgepedia.org/zh/ms-dos)。<sup>[12](https://devblogs.microsoft.com/oldnewthing/20240730-00/?p=110062)</sup>

[Windows 95](https://www.edgepedia.org/zh/windows-95) 的内核错误屏幕显示异常详细信息并允许用户尝试继续，其最终形式由陈雷蒙本人完成。<sup>[12](https://devblogs.microsoft.com/oldnewthing/20240730-00/?p=110062)</sup> [Windows NT](https://www.edgepedia.org/zh/windows-nt) 的蓝屏死机——真正的致命错误屏幕——由约翰·维尔特（John Vert）编写；他解释说，蓝底白字的选择恰好与 Windows 3.1 和 Windows 95 的配色方案一致，纯属巧合。<sup>[13](https://devblogs.microsoft.com/oldnewthing/20170926-00/?p=97085)</sup> 陈雷蒙还记录道，“蓝屏死机”一词通常被归于 Windows NT 的致命错误消息，而在 Windows 95 中，这些屏幕只被称为“蓝屏消息”。<sup>[14](https://devblogs.microsoft.com/oldnewthing/20140911-01/?p=44093)</sup> 一个广为流传的说法称鲍尔默编写了蓝屏死机，这是对他撰写 Windows 3.1 Ctrl+Alt+Del 对话框文本一事的歪曲。<sup>[15](https://devblogs.microsoft.com/oldnewthing/20140909-00/?p=44123)</sup>

这块屏幕于 1998 年 4 月进入大众历史：在 [Windows 98](https://www.edgepedia.org/zh/windows-98) 即插即用 USB 演示期间，克里斯·卡波塞拉（Chris Capossela）插入扫描仪时，舞台上出现了一块蓝屏；[比尔·盖茨](https://www.edgepedia.org/zh/bill-gates)（Bill Gates）评论道：“这一定就是我们还没发布 Windows 98 的原因。”<sup>[16](https://www.windowscentral.com/microsoft/windows/after-windows-98s-live-demo-crash-bill-gates-had-microsoft-build-a-secret-test-lab-to-prevent-future-embarrassment-that-must-be-why-were-not-shipping-yet)</sup>

## 2024 年 7 月 19 日的 CrowdStrike 事件

2024 年 7 月 19 日 04:09 UTC，[CrowdStrike](https://www.edgepedia.org/zh/crowdstrike) 为其运行 7.11 及以上版本传感器的 Windows 主机上的 Falcon 传感器发布了快速响应内容配置更新。传感器预期 20 个输入字段，而更新提供了 21 个，这一不匹配导致越界内存读取，使 Windows 内核崩溃，在 04:09 至 05:27 UTC 之间在线的系统上产生蓝屏。Mac 和 Linux 主机未受影响，有缺陷的更新于 05:27 UTC 回滚。<sup>[6](https://www.crowdstrike.com/wp-content/uploads/2024/08/Executive-Summary_Root-Cause-Analysis_Channel-File-291.pdf)</sup> 微软在 KB5042421 下发布了针对显示 0x50 或 0x7E 停止代码的终端的恢复指南，包括启动进入安全模式并删除受影响的 C-00000291*.sys 通道文件。<sup>[17](https://support.microsoft.com/en-us/servicing/os/windows/2024/07/kb5042421-crowdstrike-issue-impacting-windows-endpoints-causing-an-0x50-or-0x7e-error-message-on-a-b)</sup> 截至 2024 年 7 月 29 日，约 99% 的 Windows 传感器已恢复在线。<sup>[6](https://www.crowdstrike.com/wp-content/uploads/2024/08/Executive-Summary_Root-Cause-Analysis_Channel-File-291.pdf)</sup>

## 转向黑色

2025 年，微软宣布 [Windows 11](https://www.edgepedia.org/zh/windows-11) 版本 24H2 设备上的错误屏幕将从蓝色变为黑色，消息更短，移除哭脸，并增加重启过程的百分比计数器。这一变化是 CrowdStrike 事件后更广泛的韧性工作的一部分，同时还有“快速机器恢复”机制，允许微软在大范围中断期间广泛部署针对性修复，无需 IT 人员手动干预。<sup>[5](https://apnews.com/article/9711e0e60d3b7e70d3285b7969506d86)</sup>

## References

1. [Bug Checks (Stop Code Errors), Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-checks--blue-screens-)
2. [Resolving Blue Screen errors in Windows, Microsoft Support](https://support.microsoft.com/en-US/windows/resolving-blue-screen-errors-in-windows-60b01860-58f2-be66-7516-5c45a66ae3c6)
3. [Stop code error or bug check troubleshooting, Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/stop-code-error-troubleshooting)
4. [Troubleshoot stop errors: best practices and dump configuration recommendations, Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/troubleshoot-stop-errors-best-practices-dump-configuration-recommendations)
5. [Windows' infamous 'blue screen of death' will soon turn black, AP News](https://apnews.com/article/9711e0e60d3b7e70d3285b7969506d86)
6. [Executive Summary: Root Cause Analysis, Channel File 291, CrowdStrike](https://www.crowdstrike.com/wp-content/uploads/2024/08/Executive-Summary_Root-Cause-Analysis_Channel-File-291.pdf)
7. [Bug Check Code Reference, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2)
8. [Overview of memory dump file options for Windows, Microsoft Learn](https://learn.microsoft.com/troubleshoot/windows-server/performance/memory-dump-file-options)
9. [Use Dumpchk.exe to check a memory dump file, Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/use-dumpchk-to-check-memory-dump-file)
10. [Event ID 41: The system has rebooted without cleanly shutting down first, Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/event-id-41-restart)
11. [Stop code error or bug check troubleshooting, Microsoft Learn](https://learn.microsoft.com/troubleshoot/windows-client/performance/stop-error-or-blue-screen-error-troubleshooting)
12. [There is no mystery over who wrote the Blue Screen of Death, The Old New Thing, Raymond Chen](https://devblogs.microsoft.com/oldnewthing/20240730-00/?p=110062)
13. [Who implemented the Windows NT blue screen of death?, The Old New Thing, Raymond Chen](https://devblogs.microsoft.com/oldnewthing/20170926-00/?p=97085)
14. [A lie repeated often enough becomes the truth: the Windows 3.1 blue screen of death, The Old New Thing, Raymond Chen](https://devblogs.microsoft.com/oldnewthing/20140911-01/?p=44093)
15. [Steve Ballmer did not write the text for the blue screen of death, The Old New Thing, Raymond Chen](https://devblogs.microsoft.com/oldnewthing/20140909-00/?p=44123)
16. [The day Windows 98 crashed live, Windows Central](https://www.windowscentral.com/microsoft/windows/after-windows-98s-live-demo-crash-bill-gates-had-microsoft-build-a-secret-test-lab-to-prevent-future-embarrassment-that-must-be-why-were-not-shipping-yet)
17. [KB5042421: CrowdStrike issue impacting Windows endpoints causing an 0x50 or 0x7E error message on a blue screen, Microsoft Support](https://support.microsoft.com/en-us/servicing/os/windows/2024/07/kb5042421-crowdstrike-issue-impacting-windows-endpoints-causing-an-0x50-or-0x7e-error-message-on-a-b)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › 操作系统 › Microsoft Windows

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/blue-screen-of-death

English original: https://www.edgepedia.org/blue-screen-of-death
