The most common cause is a third-party firewall or antivirus blocking OneDrive’s connection. Additionally, proxy misconfigurations, DNS issues, and unregistered DLLs during system-level installations can also contribute to this error. Now that you know the causes, let’s discuss the solutions.
1. Disable 3rd Party Firewall
Third-party antivirus or firewall software is one of the most common causes of this error. These tools can block OneDrive or Windows Update from reaching Microsoft’s servers, even if they appear to be disabled. Start by turning off real-time protection, and if that doesn’t help, completely uninstall the security software. This ensures no background drivers or network filters interfere with the connection. If you think your third-party firewall is causing the problem, Uninstall your Security Program Completely, including all leftover files. Once you’ve done this, restart your computer and check if the problem is resolved.
2. Re-register the .DLL Files
If you get the 0x800c0005 error while trying to install .NET Framework 4 or when installing pending Windows Updates, it’s likely because certain Dynamic Link Library files (Softpub.dll, Wintrust.dll, and Initpki.dll) are not properly registered. If Windows can’t use these files correctly, errors can occur.
3. Reset Windows Update Components
When this error appears during Windows Updates, it may be caused by corrupted services or cache directories. Resetting the Windows Update components stops the related services, clears old update data, and restarts everything fresh. This solution is safe and commonly used to fix stuck or failed updates without reinstalling Windows.
4. Power-Cycling the Xbox One Console (Xbox Only)
If you see the 0x800c0005 error code on your Xbox One while downloading a game or starting a party, some temporary files or cached data might be causing problems.
5. Enable UPnP or Forward the Required Ports Manually
You might see this error if your NAT (Network Address Translation) is closed. This can block certain network activities on both PC and Xbox One. If your router supports it, you can turn on Universal Plug and Play (UPnP) in your router settings. This allows the right ports to open automatically for your console or game. If your router doesn’t support UPnP, you’ll need to forward the required ports manually in your router’s settings.
6. Switch to Google DNS
Slow or misconfigured DNS servers from your ISP can prevent successful access to Microsoft servers. Switching to Google’s public DNS (8.8.8.8 and 8.8.4.4) improves reliability and speed when resolving domains. This fix often resolves download errors and connection timeouts, especially in networks with unstable routing. The steps are different for Xbox One and Windows — pick the set that applies to your device.
6.1. Switching to Google DNS on Xbox One
6.2. Switching to Google DNS on Windows







