The full error messages go as:

Fix OneDrive Error Code 0x80070005

Microsoft has clearly mentioned that the problem is because of updates with OneDrive. The first method is for a regular account, and the second is for a Work or School Account. The others are generic suggestions that have been known to help. Make sure you do not have any issues with the credentials of your account. If yes, then make sure to fix that first.

1] Update OneDrive

Error Code 0x80070005 suggests there is an issue with OneDrive updates

Press the Start button, and then click on SettingsNavigate to Update and SecurityClick on Check for updates, and install the available updatesOnce the update is complete, open the Run prompt using Win + R keysType %localappdata%\Microsoft\OneDrive\update and press OK.Double click on OneDriveSetup.exe to install the latest version of OneDrive.

2] Setup Group Policy for Work or School account

If it’s a work or school account, you will receive this error when setting up Known Folder Move in OneDrive for work or school. It is caused by a group policy preventing the feature from running. You will have to your IT admin to configure the policy using the steps below:

Open Run Prompt using Win + RType gpedit.exe and press the Enter key to open Group Policy EditorNavigate to the following path in the Group Policy

Locate the policy— Prohibit User from manually redirecting Profile Folders—and double click to open it.Set the value to Not Configured.

It is possible your company’s administrators do not want you to configure this feature if the Group Policy is enabled. Your administrator may also elect to continue to enforce the policy even if you manually override it.

3] Reset OneDrive App

The easiest way to resolve the issue is resetting the OneDrive app by using the built-in command. Open Run prompt by pressing Win +R. Then Type and execute the command. Once done, you can then manually restart OneDrive by launching it directly from the Start Menu listing. Do note that when you reset, it disconnects all existing sync connections, including work and school. However, the files will remain intact.

4] Reinstall OneDrive

If this doesn’t work, then you can reinstall the OneDrive app. Go to Windows 10 Settings > Apps. Find OneDrive in the listing, select it, and choose to uninstall. Then you can either download the setup file from OneDrive’s official website or use Microsoft Store to reinstall it. When you reinstall, link it to the same location, so you do not have to download everything again.

5] Check for Windows Update

Some updates are downloaded through Windows Update. It applies to OneDrive as well. Open Windows 10 Settings (Win + I), and then navigate to Update & Security. Check if there is an update available related to OneDrive. If yes, download it. Next, press Win + R to open the Run window, type the following path, and press the Ok button. Double click on OneDriveSetup.exe to install the latest version of OneDrive It is important to keep apps updated for them to work as expected. The Error code 0x80070005 appears because the OneDrive is not updated or is not able to update itself. I hope the post was able to help you understand the problem and resolve it. Useful reads: I hope the post was able to clarify the error code 0x80070005 in OneDrive, and the solutions work for you. Error 0x80070005 is rather ubiquitous and this code is also displayed in the following scenarios:

We couldn’t set your default save locationOffice Key installationWindows ActivationIPersistFile Save failedWindows ServicesWindows Store appsWindows UpdateTask SchedulerWhile updating Chrome.