-
Notifications
You must be signed in to change notification settings - Fork 821
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
WSL hangs after restarting "Host Network Service" #9634
Comments
Why did you run |
I had some other error message in wsl which i thought could be solved by restarting all services. And then i found out that restarting this service crashed wsl completly. Running |
Also worth mentioning that i've been able to reproduce this on multiple computers. |
You are going into XY problem. Report the actual issue rather than your attempted workaround. |
@Oppfinnaren how do you restart the service? It has dependencies and needs the |
Restarting the HNS service with the force flag is going to kill other things. I would not suggest doing this. |
Version
Windows: 10.0.19042.2486
WSL Version
Kernel Version
5.15.79.1
Distro Version
No response
Other Software
No response
Repro Steps
wsl --shutdown
Restart-Service -name hns
wsl
Expected Behavior
wsl should start
Actual Behavior
Get this following message:
The remote procedure call failed and did not execute.
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x800706bf
Only working solution i've found to make wsl work again is to restart computer.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: