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

Use WinRE to troubleshoot startup issues

· 52CE 我爱测

This article discusses how to use Windows Recovery Environment (WinRE) to troubleshoot common startup issues.

This article describes how to start WinRE from Windows installation media to troubleshoot common startup issues.

Original KB number:   4026030

Summary

When a Windows operating system fails to start or restarts unexpectedly, the Windows Recovery Environment (WinRE) can be used to run commands that may resolve the issues. The system may be unable to start because of disk corruption, corrupted or missing system files, or pending actions from the installation of an update.

Start WinRE from Windows installation media

Note: For additional methods to start WinRE, see Entry points into WinRE.

  1. Start the system to the installation media for the installed version of Windows. For more information, see Create installation media for Windows.

  2. On the Install Windows screen, select Next > Repair your computer.

  3. On the System Recovery Options screen, select Next > Command Prompt.

  4. At the command prompt, run the following command by using BCDEdit command-line options to identify the drive letter of the system volume:

    BCDEdit
    

    In the Windows Boot Loader section, the drive letter of the system volume is displayed next to osdevice. (For example, D:)

  5. At the command prompt, run the following command to complete a check disk for the system volume that's identified in step 4:

    CHKDSK /f D:
    

    [!NOTE] If any failures or unrepairable issues are listed in the results, you may have to investigate these further.

  6. At the command prompt, run the following command to complete a System File Check (SFC) for the system volume that's identified in step 4:

    SFC /scannow /offbootdir=D:\ /offwindir=D:\windows
    

    [!NOTE] If any failures or unrepairable issues are listed in the results, you may have to investigate these further.

  7. At the command prompt, run the following command to complete an image cleanup and health restoration by using the DISM tool:

    DISM /image:D:\ /cleanup-image /restorehealth
    

    [!NOTE]

    • If any issue is found and fixed, repeat step 6.
    • The DISM command only applies to Windows Server 2012 and later versions.
  8. At the command prompt, run the following command to revert any pending actions by using the DISM tool.

    [!NOTE] If the pending actions can't be reverted, you may have to investigate these further.

  9. Close the Command Prompt window, and then select Reboot.

References

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 Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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