大网数据广告活动
性能与资源

Windows fails to start with error missing or corrupt ntoskrnl.exe when keys are pressed during startup

· 52CE 我爱测

Provides a workaround for the issue Windows fails to start with error missing or corrupt ntoskrnl.exe when keys are pressed during startup.

This article provides a workaround for the issue Windows fails to start with error missing or corrupt ntoskrnl.exe when keys are pressed during startup.

Applies to:   Windows 10 - all editions
Original KB number:   2022960

Symptoms

When you press or hold down keys on the keyboard as you start your computer, you may see the following message and Windows will fail to start.

Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\ntoskrnl.exe.
Please re-install a copy of the above file.

This problem does not occur if you do not press any keys during startup.

Note: This problem can occur on any Windows operating system prior to Windows 7, on both 32-bit and 64-bit platforms.

Cause

This problem occurs because during a small time frame, key presses may cause a part of Windows initialization to fail.

This problem does not cause any corruption or data loss, and the ntoskrnl.exe file is not corrupt as the error message says.

Workaround

To work around this issue, do not press any keys during startup until the Windows startup screen is displayed.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。