Fortunately, you could use this guide to navigate the unexpected error and get back online.
What Causes “An Unexpected Error Occurred” Ethernet Problem in Windows?
This will likely address the “An unexpected error occurred” error.
PressWin + Rand jot down indevmgmt.mscto launch the rig Manager.
Expand the list ofNetwork adaptersand search for your ethernet adapter.
In most cases, it will have the word ethernet in its name.
Right-press the driver and selectUninstall unit.
SelectUninstallwhen prompted for confirmation.
Windows will reinstall the gadget when it scans.
You could also just start your PC, and the driver will reinstall automatically.
Update the Ethernet Driver
While you’re at it, try updating the driver as well.
Even without the issue, it’s good practice tokeep your drivers updated.
If your driver has a compatibility issue with Windows, an update may be able to fix it.
Right-punch the ethernet adapter and selectUpdate driver.
Usually, searching for “XYZ driver download” or something similar will take you to the download page.
If it does, the wizard will walk you through the installation process.
In the next step, navigate to the folder where you’ve stored the driver installation files.
Continue with the wizard and let it finish the installation.
PressWin + Ito launch the options app.
Navigate toUpdate & Security>Troubleshoot.
SelectAdditional troubleshootersfrom the right pane and this will take you to a list of troubleshooters.
Look for theNetwork Adaptertroubleshooter, hit it, and selectRun the troubleshooter.
Once you launch the troubleshooter, you’ll need to opt for adapter you want to troubleshoot.
ClickNextonce you’ve chosen and let the troubleshooter detect the problems.
if it finds an issue, it will attempt to fix it automatically.
If it can’t be fixed automatically, you’ll at least find out what the issue is.
However, if it can’t detect problems at all, try the next fix.
PowerShellallows you to configure your web link adapter through cmdlets.
PressWin + R, typepowershell, and pressCtrl + Shift + Enterto launch an elevated command prompt.