Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL2 does not use Windows network with CreateInstance/CreateVm/ConfigureNetworking/HNS/E_ACCESSDENIED after applying Windows 11 Version 24H2 (KB5043178) #818

Closed
kachick opened this issue Oct 4, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@kachick
Copy link
Owner

kachick commented Oct 4, 2024

Problem

image

wsl: アクセスが拒否されました。
エラー コード: CreateInstance/CreateVm/ConfigureNetworking/HNS/E_ACCESSDENIED
wsl: ネットワーク (networkingMode Nat) を構成できませんでした。ネットワークなしにフォールバックします。

Looks like similar of microsoft/WSL#11980 (comment)

How to fix

  1. Win+R => OptionalFeatures.exe

  2. Toggle Virtual Machine Platform image twice to keep the original value. No need to reboot for my case.

  3. Fixed with changing the IP address.

    wsl: アドレス '172.N.N.N' を使用してネットワーク エンドポイントを作成できませんでした。割り当てられた新しいアドレス: '172.M.M.M'
    
    ~ zsh
    > curl -L https://www.apache.org/licenses/LICENSE-2.0.txt
    
                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/

Didn't work

  • Toggling Windows Hypervisor platform did not fix my environment (Originally disabled)
@kachick kachick added the bug Something isn't working label Oct 4, 2024
@kachick kachick added this to 🛸 Oct 4, 2024
@github-project-automation github-project-automation bot moved this to 🙋‍♂ in 🛸 Oct 4, 2024
@kachick kachick moved this from 🙋‍♂ to 🍵 in 🛸 Oct 4, 2024
@kachick kachick moved this from 🍵 to 💪 in 🛸 Oct 4, 2024
@kachick kachick closed this as completed Oct 4, 2024
@github-project-automation github-project-automation bot moved this from 💪 to 🎉 in 🛸 Oct 4, 2024
@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

Happened again. And isn't fixed with same steps.

@kachick kachick reopened this Oct 6, 2024
@github-project-automation github-project-automation bot moved this from 🎉 to 💪 in 🛸 Oct 6, 2024
@kachick kachick moved this from 💪 to 🙋‍♂ in 🛸 Oct 6, 2024
@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

image

@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

Disabling the Hyper-V doesn't fix it for now.

@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

Fixed with unexpectedly applied patch again? It has same ID KB5043178 but modified the timestamp...

image

@kachick kachick closed this as completed Oct 6, 2024
@github-project-automation github-project-automation bot moved this from 🙋‍♂ to 🎉 in 🛸 Oct 6, 2024
@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

KB5035942

image

Did you? 🤔

@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

💭 Less transparency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant