If you have a network problem, Windows 10 gives you the ability to run a troubleshooter, or do a complete reset with a single click. Here’s how:

View your network status – go to Settings > Network & Internet > Status.
If the network connection is good, a status dialog box gives you details about the network. If there’s a problem you can either:

Click the Troubleshoot button, which opens the ‘Windows Network Diagnostics’ utility, which runs tests and can fix many common problems.
Or, if that doesn’t solve the issue:

Click the ‘Network Reset’ button at the foot of the ‘Settings’ page. This will delete all network settings and enable you to start things afresh.