Share via

wsl --install fails with HCS_E_CONNECTION_TIMEOUT (The operation timed out because a response was not received from the virtual machine or container)

xiaojuan wang 5 Reputation points
2025-10-21T14:51:24.01+00:00

I am attempting to install WSL on my Windows 11 machine using the wsl --install command. The process consistently times out during the "Installing" phase, returning the following error:

Downloading: Ubuntu Installing: Ubuntu The operation timed out because a response was not received from the virtual machine or container. Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS_E_CONNECTION_TIMEOUT

Troubleshooting Steps Already Taken:

I have verified and performed the following steps without success:

  1. Windows Features: Verified that "Windows Subsystem for Linux," "Virtual Machine Platform," and "Hyper-V" (if applicable) are all checked.
  2. System Updates: Installed all available updates via Windows Update.
  3. Service Restart: Ran Restart-Service hns in an elevated PowerShell.
  4. Feature Toggling: Disabled, rebooted, and re-enabled the necessary Windows Features.
  5. WSL Update: Executed wsl --update.
  6. Conflict Check: Temporarily disabled any third-party VPNs, firewalls, or other network-interfering software.

Request for Assistance:

Given that the issue is a HCS_E_CONNECTION_TIMEOUT, which component of the HCS or network stack should I investigate? Are there specific configuration files (e.g., related to network interfaces or vSwitch) that might be corrupted, and how can I reset them?

Windows Insider program
Windows Insider program

A community-driven program that allows users to preview upcoming Windows features, provide feedback, and help shape future updates.


1 answer

Sort by: Most helpful
  1. CrazyKats 15,755 Reputation points Volunteer Moderator
    2025-10-21T16:12:30.4533333+00:00

    Hi,

    Please file your issue in the Feedback Hub

    where it will get the attention of MS Engineers

    and they can collect the logs associated.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.