In windows->
Go to settings->Network and Internet->Advanced Network Settings->view Additional Properties.
Then edit DNS server Assignment and do the following:-
choose ipv4 , and 8.8.8.8 as preferred DNS.
Follow the screenshot attached below and it will work for sure.