For my information really, had an issue in windows 7 where the internet icon said “no internet access” but was browsing fine.
Wasn’t really a problem until I had to reinstall office 365 which needed a complete and valid internet connection to register. So had to fix it. This is what worked for me, it might not for you so don’t come running to me if it hoses your system.
go to this key
then look at key named
look his value if is 0 make it 1
reconnect the network