While connected to an OpenVPN network, my computer lost power. After restarting, I can connect to my wireless network but it says "No internet access". I can ping 8.8.8.8, but trying to ping www.google.com just hangs. ipconfig also hangs-it prints "Windows IP Configuration" and stops. I can't see the properties of any of my network adaptors either-they seem to just hang-and it looks like any sort of DNS request is hanging as well. I've tried disabling various and all network adaptors, without any change in ipconfig, etc. The built-in network diagnostics generally hangs as well at "starting diagnostics".
I tried rebooting in safe mode, and I can run ipconfig and examine the properties of adaptors but I still am not able to use DNS or connect to the network. I've manually set the dns for both IPv4 and IPv6, with no improvement out of safe mode. I've run sfc and dism, both of which claim everything's good. I uninstalled and reinstalled OpenVPN without success, and tried to reconnect to the VPN network I was on before losing power, which failed at getting an IP from the network and didn't resolve anything.
I'm running out of ideas, anyone have any suggestions?
Running Windows 10 Home, on the Insider slow ring.
Edit: This looks similar but not quite the same: Windows DNS stops working after power failure. Should someone come here in the future with the same issue, try those steps as well
netsh winsock reset
then restart the PC after its completed.