[PR #13436] Remove the fallback to wsl.exe when HKCU\...\Lxss doesn't exist #29551

Open
opened 2026-01-31 09:35:35 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/13436

State: closed
Merged: Yes


The main result of this fallback is that we attempt to launch wsl.exe
when the user hasn't installed or interacted with WSL. On our test
machines, that results in the creation of a wsl.exe process that tells
us precisely nothing; on WDAC managed machines it results in an Event
Log entry about spawning another (possibly blocked) process.

The registry is more reliable, and if the "API" it provides changes we
can just rev terminal.

Closes #11716

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13436 **State:** closed **Merged:** Yes --- The main result of this fallback is that we attempt to launch wsl.exe when the user hasn't installed or interacted with WSL. On our test machines, that results in the creation of a wsl.exe process that tells us precisely nothing; on WDAC managed machines it results in an Event Log entry about spawning another (possibly blocked) process. The registry is more reliable, and if the "API" it provides changes we can just rev terminal. Closes #11716
claunia added the pull-request label 2026-01-31 09:35:35 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29551