Replies: 1 comment
-
|
I did encounter the same, just now. After playing around, asking the internet and Github Copilot: The trick is:
At the next boot, when wsl gets started, it reads the new/your values from the registry and from that moment in time they are used by the wsl. (and of course: written back when shutting down the wsl) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to change subnets used by WSL2 in order to make it work with VPN.
As mentioned in many solutions, I edited
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxssregistry entry to desired values.However, each time I start WSL after reboot or
wsl --shutdownvalues are reset to default. I am puzzled. Did anyone encounter something like it?Beta Was this translation helpful? Give feedback.
All reactions