It would be nice to know more about your computer such as make and model? Laptop or desktop? etc/

In the meantime, click on the link below and follow the instructions to re-set the network adapter and settings on your computer. (One note; if you happen to have a new network driver saved somewhere (I save a copy of all my drivers so I can use them if ever needed), you might try installing it instead of using the "Update" option mentioned in the first part of the article. If note, try the "Update" method listed.) Then reset the IP

https://answers.microsoft.com/en-us/windows/forum/windows_10-networking-winpc/i-get-an-error-media-disconnected-when-i-try-to/c5244f34-f632-4ce4-94e6-14ee2179dfe9

Here's another good article with some fixit information:

Fix network connection issues in Windows 10
https://support.microsoft.com/en-ph/help/10741/windows-10-fix-network-connection-issues

Hope this helps.

Grif