Hello,
Thank you for posting in Q&A forum.
To resolve this hyper-V fault, can you try to create Hyper-V machine manually and check if it persists?
Meanwhile, you can backup and delete auto-generated files in WSL:
sudo cp /etc/wsl.conf /etc/wsl.conf.bk
sudo cp /etc/resolv.conf /etc/resolv.conf.bk
sudo rm /etc/resolv.conf || true
sudo rm /etc/wsl.conf || true
After restarting WSL2 Ubuntu server, please check if internet connectivity is restored.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.