I think we need more information about your connection when you are connected but network is not working.
Tell us the output for the following commands:
nslookup www.google.com (this command will also show you your dns)
Also check your firewall status (look for antivirus firewall too). Better disable it for testing only.
Try to ping to your dns (showed by nslookup command)
If your adapter configuration is DHCP try the command “ifconfig /release” followed by the command “ifconfig /renew”, then try again your connection.
Hope it help you.