how to fix error code 0x80070005

Bob Urbanski 0 Reputation points
2026-01-03T13:22:14.2733333+00:00

I kexep getting the error code 0x80070005 telling me that One Drive cannot open.

Windows for home | Windows 11 | Apps
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2026-01-03T13:22:21.96+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To fix the error code 0x80070005 when trying to access OneDrive, you can follow these steps:

    1. 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.
    2. 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.
    3. 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.
    4. Reinstall OneDrive:
      • Reinstalling OneDrive also resets all OneDrive settings and can sometimes resolve sync issues. OneDrive will perform a full sync after the reinstallation.
    0 comments No comments

  2. Edward Schlobohm01 10,030 Reputation points Independent Advisor
    2026-01-03T14:02:37.59+00:00

    Hi,

    Thanks for reaching out to the Microsoft Community and letting us know about the error code 0x80070005. I understand how frustrating this can be, and I’m here to help you work through it. To start, could you share when the error occurs during a system update, while installing a game or app, or when accessing a file? This will help us narrow down the cause.

    This error is often related to permission issues, so here’s what you can try. Begin by running the Windows Update Troubleshooter, which is designed to automatically detect and fix common problems, including access errors. On Windows 11, you can find it under Settings > System > Troubleshoot > Other troubleshooters > Windows Update.

    Next, make sure you’re signed in with an account that has administrator privileges. If you’re installing something or running an update, right-click the installer and choose “Run as administrator” to avoid permission conflicts.

    Also, check your file and folder permissions—sometimes critical folders like AppData or SoftwareDistribution need proper access rights, and adjusting these can often resolve the issue.

    I hope this helps! Please let me know how it goes.

    Warm regards,

    Edward

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.