When using OneDrive, if you receive error code 0x80070005 in OneDrive, it can happen in 5the following scenarios. First is when you are setting up a regular Microsoft account, second when setting up a Work or School account, or third during OneDrive setup. The error primarily occurs because of the issue with OneDrive Updates. This post will help you resolve the problem.
The full error messages go as:
OneDrive couldn’t be installed. Please try again. If you continue to have this problem, search the forums.
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.
- Update OneDrive
- Update Group Policy for work or school account
- Reset OneDrive App
- Reinstall OneDrive
- Check for a Windows Update.
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 Settings
- Navigate to Update and Security
- Click on Check for updates, and install the available updates
- Once the update is complete, open the Run prompt using Win + R keys
- Type %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 + R
- Type gpedit.exe and press the Enter key to open Group Policy Editor
- Navigate to the following path in the Group Policy
User Configuration > Administrative Templates > Desktop
- 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.
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
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.
%localappdata%\Microsoft\OneDrive\update
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: