Save open work and back up important files. Use instructions for your exact device and software version. If Windows cannot start, see the startup guide.
Work through these checks
0 of 3 complete01Restart WSL: wsl --shutdown followed by wsl
- Restart WSL: wsl --shutdown followed by wsl
Check whether the original symptom still occurs.
If it does not helpContinue only if this check applies to your device. Consult its manufacturer if you are unsure.
02Run inside WSL: echo 'nameserver 8.8.8.8' > /etc/resolv.conf
- Run inside WSL: echo 'nameserver 8.8.8.8' > /etc/resolv.conf
Check whether the original symptom still occurs.
If it does not helpContinue only if this check applies to your device. Consult its manufacturer if you are unsure.
03Check Windows Firewall for 'vEthernet (WSL)' adapter rules
- Check Windows Firewall for 'vEthernet (WSL)' adapter rules
Check whether the original symptom still occurs.
If it does not helpContinue only if this check applies to your device. Consult its manufacturer if you are unsure.
Possible causes
- Hyper-V virtual switch does not properly recover after sleep
- WSL2 DNS server address gets stale
- Windows Firewall rule blocks WSL2 adapter
Was this helpful?
Your progress is saved on this device.