Save open work and back up important files. Note any recent driver or hardware changes. If Windows cannot start, use the startup guide first.
Work through these checks
0 of 3 complete01Restart WSL: wsl --shutdown followed by wsl
Restart WSL: wsl --shutdown followed by wsl.
Use the instructions for your exact device and operating system. Check the manufacturer’s documentation before changing firmware, hardware, or system settings.
02Run inside WSL: echo 'nameserver 8.8.8.8' > /etc/resolv.conf
Run inside WSL: echo 'nameserver 8.8.8.8' > /etc/resolv.conf.
Use the instructions for your exact device and operating system. Check the manufacturer’s documentation before changing firmware, hardware, or system settings.
03Check Windows Firewall for 'vEthernet (WSL)' adapter rules
Check Windows Firewall for 'vEthernet (WSL)' adapter rules.
Use the instructions for your exact device and operating system. Check the manufacturer’s documentation before changing firmware, hardware, or system settings.
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.