- Open or create the WSL configuration file (located at
%USERPROFILE%\.wslconfig
), and enter the following content:
[experimental]
autoMemoryReclaim=gradual # gradual | dropcache | disabled
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
- Open the command prompt and execute
wsl --shutdown