On many PCs/Laptops sometimes I have the exact same frustrating problem. I unplugged the LAN cable to use it on another PC. When I want to put it back my "Ethernet does not have a valid IP configuration". It neither worked on the second PC. So whenever I put a new LAN cable into a new PC or replug it after 5 mins from when I unplugged it IT DOESN'T WORK. It happend around 30 during my life and I am sick of it. The only solution for the last 29 times was troubleshooting or shutdown > wait 5 mins > hope. Help :/