Below Network and Internet select View network status and tasks.
The Local Area Connection Status window will open. Click on Properties.
The Local Area Connection Properties window will open. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.
Internet Protocol Version 4 Properties will open. Click the radio button for both Obtain IP address automatically as well as Obtain DNS Server address automatically. Click the OK button to close this window.
Now you may close every window, as your Network should be configured for DHCP.
Restart your computer.