Here is what I did when my Windows 10 Machine suddenly started to show the error described in the headline.
Open Command prompt as administrator
Click on “Start”
In the searchbar type “CMD”
Rightclick on the command prompt and select “Run as Administrator”
Enter the following command.
netsh int ip reset resetlog.txt –> Press Enter.