Are you running into a "An Unexpected Error Has Occurred" error message? This message can pop up in various places like Instagram, Windows 10/11, Apple sites and services, Microsoft sites and services, and Fortnite. Apps like Instagram and Fortnite might run into this error if they have a full cache; software like Apple and Microsoft can show this error message if the network adapter is faulty.
Common Causes for "An Unexpected Error Has Occurred."
The causes behind this message change depending on what you're doing when you see it. If you're online, this message generally means something's wrong with the internet connection. Their servers might be down, or your app might have a temporary glitch.
Steps
Top Fixes for Network Driver Errors on Windows 10/11
-
Update outdated drivers. With Windows 10 and 11, drivers update automatically when you update your computer. Press Win + I to open Settings, then go to Settings > Update & Security (Windows 10 only) > Windows Update .
- If you want to update your drivers manually, open Device Manager and right-click the driver. Select Update and use the updated driver from the manufacturer to make sure you have an up-to-date version of your driver.
-
Reinstall faulty network adapter drivers. This just means that your current driver installation can be corrupted if you still experience the "An Unexpected Error" message after following the other two steps. Go to Device Manager and right-click the faulty network adapter driver. Select Uninstall and then reinstall the driver either manually or using Windows Update.
-
Disable IPv6. That's the latest internet protocol, but not every connection uses it. In that case, you'll frequently get an "Unexpected Error" message. To do this, open PowerShell as an administrator and type this code and press Enter : Get-NetAdapterBinding -ComponentID ms_tcpip6 .
- You'll see the list of adapters on your computer. Take note of the name of the network adapter.
- Type this code and press Enter : Disable-NetAdapterBinding -Name "XXNAMEXX" -ComponentID ms_tcpip6 . Replace XXNAMEXX with the name of your network adapter.
- Restart your computer to see if disabling IPv6 worked.
-
Re-register the "netshell.dll" file. This file is responsible for helping your computer interact with networks, so if it isn't working, you'll see the "An Unexpected Error" message. To do so, open Command Prompt as an administrator, then enter this code: regsvr32 netshell.dll .
- That's it! Restart your computer to see if that helped!
-
Run the Network Adapter Troubleshooter. This program lets you easily diagnose and fix issues with your network adapter when you run out of common troubleshooting steps.
- On Windows 11, go to Settings > System > Troubleshoot > Other troubleshooters > Network Adapter .
- On Windows 10, go to Settings > Update & Security > Troubleshoot > Additional Troubleshooters > Network Adapter .
- Use this method if you're just trying to go online whether in a browser or in a game and get the "An Unexpected Error Has Occurred" message.
Expert Q&A
Video
Tips
- The "An Unexpected Error Has Occurred" message usually indicates a network issue, but there is usually a code following the message that explains exactly what is wrong. You can search this code online for more specific tips to solve your problem.Thanks
References
- ↑ https://support.google.com/googleplay/thread/247447427/i-want-to-disable-all-auto-updates?hl=en
- ↑ https://answers.microsoft.com/en-us/msoffice/forum/all/unexpected-error-has-occured/69e90583-3306-4aa8-aa50-74ffa0a7ac97
- ↑ https://learn.microsoft.com/en-us/outlook/troubleshoot/profiles-and-accounts/outlook-displays-error-message-on-first-start
- ↑ https://support.apple.com/guide/disk-utility/repair-a-storage-device-dskutl1040/mac
- ↑ https://support.apple.com/guide/disk-utility/erase-and-reformat-a-storage-device-dskutl14079/22..6/mac/14.0
- ↑ https://www.youtube.com/watch?v=9Agxkd9V3Qk
- ↑ https://www.youtube.com/watch?v=ev9SEXdsh7U