So I had this same problem and this is how I fixed it
- Press Windowskey+R
- Type NCPA.CPL and hit enter
- Right click LAN and click diagnose (windows will search for problems)
- Windows found it needed to enable DCHP for lan
- Click Fix as administrator
- Windows fixed it and I was immediately connected to the internet
I have no idea what DCHP is or where to make that fix manually, but that was the problem. Good luck!