fix: warn about WSL impact of disabling VBS - #1691
Closed
iesllc2026 wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Warns users that disabling Core Isolation/VBS may prevent WSL2 and Docker Desktop from starting, and fixes the VBS enable-state metadata.
Related to #1615.
Root cause and scope
The reported error occurs while HCS creates the WSL2 VM. Current Atlas sources do not modify the implicated
vmcompute, VMBus, or storage virtualization components. Disabling VBS remains a plausible hardware-dependent trigger, but it is not proven to explain everyERROR_PATH_NOT_FOUNDreport.This change therefore adds an evidence-backed warning and confirmation instead of introducing a speculative service, driver, optional-feature, or BCD repair.
Changes
1) instead of disabled (0).Validation
playbook.confsuccessfully as XML.ConfigVBS.ps1successfully with the PowerShell parser./silentbypass remains available.0and Enable VBS records1.local-build.ps1.git diff --check upstream/main...HEADpassed.Testing limitation
Runtime HCS behavior requires testing on supported Windows hardware with WSL2 or Docker Desktop. This PR does not claim to repair every possible cause of the reported HCS error.