首页 What do I do if a Windows operating system that serves as the default startup option on an ECS instance cannot be started?

Troubleshoot Windows default boot option failure

更新时间: 2026-05-01 05:20:17

Fix an ECS Windows instance that fails to start because the default boot option is misconfigured.

Problem description

The default Windows boot option on an ECS instance fails to start. Selecting another boot option starts the instance normally.

Cause

The default boot option is corrupted or misconfigured, preventing the operating system from starting.

Solution

  1. Connect to the instance with VNC.

    See Connect to an instance by using VNC.

  2. Select a working boot option from the boot menu.

    image.png

  3. Run Windows PowerShell or cmd as an administrator.

  4. View the identifiers of all boot options:

    bcdedit /enum all 

    The identifier strings in the output are the boot option identifiers.

    image.png

  5. Set a working boot option as the default.

    Use one of the following methods:

    Note

    Replace d7b2481f-65a5-11ee-82d5-************ with a working boot option identifier from Step 4.

    • Windows PowerShell: bcdedit.exe /default "{d7b2481f-65a5-11ee-82d5-************}"

    • cmd: bcdedit /default {d7b2481f-65a5-11ee-82d5-************}

  6. Restart the instance for the changes to take effect.

    See Restart an instance.

  7. Connect to the ECS instance. If the connection succeeds, the issue is resolved.

    See Log on to a Windows instance using Workbench.

阿里云首页 云服务器 ECS 相关技术圈