microsoft / microsoft/WSL

WSL --version command loops continuously using a non-elevated cmd or Powershell prompt

Open
#13,710 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

When I try to run the command "wsl --version" from a non-elevated cmd or powershell prompt, wsl opens and closes repeatedly. I have to use "Control-C" to kill the process.
When I try the same command from an admin cmd or Powershell prompt, wsl runs as expected. Attached are the wsl debugging logs

[WslLogs-2025-11-12_14-55-33.zip](https://github.com/user-attachments/files/23504143/WslLogs-2025-11-12_14-55-33.zip)

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce `wsl --version` from non-elevated and administrator cmd or PowerShell prompts, then inspect the attached WSL debugging logs. Done means the command no longer loops or requires Control-C when run without elevation, while continuing to work from an administrator prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.