microsoft / microsoft/WSL

Can not set networkingMode Mirrored--Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f

Open
#12,470 15 comments 6 reactions 1 assignee View on GitHub

@CatalinFetoiu is already working on this.

Since Jan 21, 2025.

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

Description

Windows Version

Microsoft Windows [Version 10.0.26100.2605]

WSL Version

2.3.26.0

Are you using WSL 1 or WSL 2?
  • WSL 2
  • WSL 1
Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 24.04 LTS

Other Software

No response

Repro Steps

running wsl through windows administrative powershell or windows terminal

Expected Behavior

without error code and i can use vpn and network in wsl.

Actual Behavior

i get an error code like the picture. and i cannot use network with host computer's VPN.

Image

or in English like this :

wsl: An internal error occurred.
Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f
wsl: Unable to configure networkingMode Mirrored) (network, falling back to networkingMode None.

Diagnostic Logs

if you need more info, please tell me. thanks a lot
WslLogs-2025-01-16_00-59-24.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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.