Zend certified PHP/Magento developer

Unidentified network connection error when connecting a laptop to a pc

I’ve been using a bridged connection, between my laptop’s WiFi and PC through ethernet, for a couple of months and I had to do a factory reset of the pc a few hours ago. But now I can’t get the connection to work. On both sides I get “Unidentified network” and the troubleshooter indicates “”Ethernet” doesn’t have a valid IP configuration”. I’ve tried different Ethernet cables, a lot of cmd commands and network settings, but I can never get rid of the Unidentified network! Does anyone know how to get this setup to work (like it once used to)?

enter image description here