To fix the error code 0x80070005 when trying to access OneDrive, you can follow these steps:
- Install available Windows Updates:
- Select Start, enter updates, and then select Check for updates.
- Install all available Windows updates.
- After the updates are installed, press the Windows logo key + R to open the Run dialog box.
- Enter
%localappdata%\Microsoft\OneDrive\update, and select OK. - Double-click OneDriveSetup.exe to install the latest version of OneDrive.
- Configure the Group Policy setting to allow Known Folder Move:
- Select Start, and enter gpedit.msc in the search box to open the Local Group Policy Editor.
- Navigate to User Configuration > Administrative Templates > Desktop.
- In the right pane, double-click Prohibit User from manually redirecting Profile Folders.
- Select Not Configured, and then select OK.
- Note that if this Group Policy setting is set to Enabled in your organization, the local Group Policy setting will be overwritten.
- Reset OneDrive:
- Resetting OneDrive can sometimes resolve sync issues. This action resets all OneDrive settings, and OneDrive will perform a full sync after the reset.
- Reinstall OneDrive:
- Reinstalling OneDrive also resets all OneDrive settings and can sometimes resolve sync issues. OneDrive will perform a full sync after the reinstallation.