Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT

Open
#42,239 15 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

The report includes WSL 2 startup logs showing CreateVm/ERROR_TIMEOUT while VS Code probes an Ubuntu distro, but it does not identify a WSL source file or a diagnostic log. Start by checking whether Ubuntu starts directly with wsl.exe -d Ubuntu and review the WSL troubleshooting guidance linked in the report. Done means identifying why VM creation times out and restoring WSL startup; the report provides no specific test or fix path.

Written by the indexing model from the issue text.

Description

needs-author-feedback wsl2
Windows Version

Microsoft Windows [Version 10.0.22631.7652]

WSL Version

WSL version: 3.0.3.0

Are you using WSL 1, WSL 2, or WSLC?
  • WSL 2
  • WSL 1
  • WSLC
Kernel Version

No response

Distro Version

Ubuntu

Other Software

Version: 1.145.3 (system setup)
Commit: dcd3ad6e368fbe19d03f37054a40dbaf40d676f4
Date: 2026-11-07T00:56:09Z
Electron: 43.8.3
ElectronBuildId: 15784459
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.103.r41379698026.g3219c66
@github/copilot-sdk: 1.0.27.41379698026.g3219c66
OS: Windows_NT x64 10.0.22631
[2026-11-11 15:32:26.339] WSL daemon log file:
[2026-11-11 15:32:26.340] Probing if server is already installed: if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:32:26.340] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:35:20.500] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , This operation returned because the timeout period expired.
[2026-11-11 15:35:20.500] Error code: Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT
[2026-11-11 15:35:20.500] If this error was unexpected, please consider searching for existing issues or filing a new issue at https://github.com/microsoft/WSL/issues.
[2026-11-11 15:35:20.500]
[2026-11-11 15:35:20.501] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1148476407-379369397-2808550788-1875895799 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2026-11-11 15:36:26.594] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

Repro Steps

wsl start is failing
WSL Daemon exited with code 0
Check WSL terminal for more details.
[2026-11-11 15:32:25.514] No shell environment set or found for current distro.
[2026-11-11 15:32:26.339] WSL daemon log file:
[2026-11-11 15:32:26.340] Probing if server is already installed: if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:32:26.340] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:35:20.500] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , This operation returned because the timeout period expired.
[2026-11-11 15:35:20.500] Error code: Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT
[2026-11-11 15:35:20.500] If this error was unexpected, please consider searching for existing issues or filing a new issue at https://github.com/microsoft/WSL/issues.
[2026-11-11 15:35:20.500]
[2026-11-11 15:35:20.501] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1148476407-379369397-2808550788-1875895799 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2026-11-11 15:36:26.594] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

Expected Behavior

wsl should run and we should get the terminal on VSCode

Actual Behavior

It stops and no amount of retries help

Diagnostic Logs

No response

Dominant language
C++
Stars
34.4k
Forks
1.9k
Avg merge
1d 23h
Merged PRs (30d)
166

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/WSL

All issues in microsoft/WSL

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.