What Causes “Error Code: 0x800c0005” on OneDrive?

As it turns out, there are several different culprits that might end up causing this error code on Windows or Xbox One:

Disable 3rd party Firewall

According to some affected users, this problem can also occur due to an overprotective AV suite that ends up blocking the connection with the external server, which ends up producing the 0x8004005 error code. If you’re using a 3rd party suite, you should go ahead and uninstall it before trying the procedure that is currently failing and see if this ends up fixing the issue for you. Keep in mind that disabling real-time protection will likely not be enough since the same security rules will remain in place even if the main AV service is disabled. In case this scenario is applicable and you’re using a 3rd party firewall that you suspect might be causing the issue, uninstall your security program completely along with every remnant file. After you do this, restart your computer and see if the problem is fixed at the next computer startup. If the same problem is still occurring, move down to the next potential fix below.

Re-registering the .DLL files

If you’re seeing the 0x800C0005 error while trying to install .NET Framework 4 or when trying to install a pending Windows Update, it’s likely that you’re seeing this problem due to several Dynamic Link Library files (Softpub.dll, Wintrust.dll, and Initpki.dll) that are not correctly registered, so your operating system is not able to make use of them properly. In case this scenario is applicable, you will be able to fix the issue by using an elevated Command Prompt to re-register the 3 Dynamic Link Library files. Several affected users have confirmed that operation finally allowed them to complete the task without seeing the 0x800C0005 error. Here’s a quick guide on re-registering the problematic .DLL files:

Resetting the Windows Update Error

If you’re seeing this error while attempting to install a pending Windows Update, it’s likely that you’re dealing with some kind of corruption that ends up affecting files and dependencies associated with Windows Update. If this scenario is applicable, you should be able to fix the issue by resetting the Windows Update component with the tools available for end-users. Several affected users have confirmed that they finally managed to fix the issue by resetting Windows Update and every associated dependency. In case you want to apply the same type of fix, follow the instructions below in an attempt to fix the 0x800c0005 error code: In case this fix is not applicable and you’re seeing this error on Xbox One, move down to the next potential fix below.

Power-cycling the Console (Xbox One Only)

If you see the 0x800c0005 error code while attempting to download a game update or when trying to start a party, it’s possible that you’re dealing with some kind of network inconsistency facilitated by some type of files that are stored locally. In this case, you should be able to fix the problem by performing a power cycling procedure on your Xbox One console. To do this, follow the instructions below to perform a power-cycle and drain the power capacitors. This operation will eliminate the majority of issues caused by temporary files and leftover firmware files. In case the same problem is still occurring, move down to the next potential fix below.

Enabling UPnP or Forwarding the Required ports Manually

If none of the potential fixes have worked for you, there’s a high chance that you are seeing this error code due to a NAT (Network Address Translation) issue. If your console determines that your NAT is closed, you might be prevented from performing certain actions on your console. In this case, you should be able to fix the problem swiftly by enabling Universal Plug and Play if your router supports it. This will ensure that your NAT is opened by automatically forwarding every port that is required by your console OS or by a game or application that you’re currently playing. However, if you’re using a router that doesn’t support UPnP, you will need to forward the required ports manually to ensure that the NAT is opened. In case this scenario is not applicable, move down to the next potential fix below.

Switching to Google’s DNS

If none of the potential fixes above have worked for you, it’s likely that you are dealing with a DNS (Domain Name System) issue. This problem was reported to occur on both PC and Xbox One. Several affected users facing the same problem have confirmed that they managed to resolve the problem by making the switch to the default DNS provided by Google. This will fix the majority of issues facilitated by inconsistent DNS. But keep in mind that depending on the platform where you end up seeing the 0x800c0005 (PC or Xbox One), the instructions of making the switch to Google’s DNS will be different. Because of this, we’ve created 2 different sub-guides, so follow the one applicable to your current scenario.

A. Switching to Google DNS on Xbox One

B. Switching to Google DNS on Windows

Fix: High CPU Usage by OneDrive ‘OneDrive.exe’Fix: OneDrive Automatically Deleting Files from OneDrive FolderHow to Fix OneDrive Crashing On Windows 10Fix: OneDrive not Working after 1709 Update (On-Demand Feature also missing) How to Fix  Error Code  0x800c0005  on OneDrive  - 82How to Fix  Error Code  0x800c0005  on OneDrive  - 85How to Fix  Error Code  0x800c0005  on OneDrive  - 36How to Fix  Error Code  0x800c0005  on OneDrive  - 59How to Fix  Error Code  0x800c0005  on OneDrive  - 33How to Fix  Error Code  0x800c0005  on OneDrive  - 57How to Fix  Error Code  0x800c0005  on OneDrive  - 79