Skip to content

wslc setup failed: WSLC runtime not available. Missing components: WslPackage. Ensure WSL2 and the WSLC SDK are installed. #553

Description

@westerdaled

Command showing error

.\setup-wslc.ps1 -Image alpine:latest

WSLC image setup

Binary : D:\mcxhost\mxc\src\target\x86_64-pc-windows-msvc\release\wxc-exec.exe
Storage path : (default) %TEMP%\mxc-well-sessions
Images : alpine:latest

alpine:latest ... FAIL (exit 1)
> [WSLC] COM initialized
> wslc setup failed: WSLC runtime not available. Missing components: WslPackage. Ensure WSL2 and the WSLC SDK are installed.

SDK exisits

dir D:\mcxhost\mxc\src\target\x86_64-pc-windows-msvc\release\wslcsdk.dll

Directory: D:\mcxhost\mxc\src\target\x86_64-pc-windows-msvc\release
-a--- 02/04/2026 21:09 3454536 wslcsdk.dll

WSL installed with 'latest' avaiable

wsl --version
WSL version: 2.7.8.0
Kernel version: 6.18.33.1-1
WSLg version: 1.0.73.2
MSRDC version: 1.2.6676
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.8655

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions