WSL --version command loops continuously using a non-elevated cmd or Powershell prompt
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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