How to Fix OneDrive Error 0x80070005 and Recover File Access
Question details
The user needs to regain access to files stored in an employer-provided or school OneDrive account after losing ownership permissions.
- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to access work or school OneDrive files after changing computer hardware or reinstalling the Windows operating system.
- Observed behavior
- The user is blocked from accessing their files and receives a permission error code, such as 0x80070005, due to lost file ownership.
Verify whether you are using a personal Microsoft account or an organization-provided (work or school) account, as recovery options for organization accounts require administrative assistance.
Contact Your Organization's IT Administrator
Since the affected OneDrive account is managed by an employer or school, only your organization's IT administrator has the necessary permissions to restore your file access.
Work and school OneDrive accounts are governed by strict organizational security policies. When you change hardware or reinstall Windows, your device's security identifier changes, which can trigger an "Access Denied" error (0x80070005).
Because these files are technically owned by the organization, standard users cannot bypass this permission block locally.
Determine who manages your organization's IT services. If you are a student, this is usually your university's IT helpdesk. If you are an employee, check your internal company directory or HR portal.
Contact the admin and explicitly mention that you recently changed hardware or reinstalled Windows, which resulted in the 0x80070005 permission error when accessing OneDrive.
If the administrator is unable to restore ownership and access manually, ask them to open an official support request in the Microsoft 365 Admin Center. Microsoft Support provides escalation channels specifically for tenant admins to resolve deep-level ownership issues.
Try WPS Office for Seamless Document Management
While you wait for your IT administrator to restore your OneDrive access, you can continue your productivity with WPS Office. It is a powerful, lightweight, and free alternative that is highly compatible with Microsoft Office formats.
- 1. Download WPS Office: Visit the official WPS Office website to download the free, lightweight installer for Windows.
- 2. Install and Launch: Run the installer and launch WPS Office. You can immediately begin creating new documents or opening existing local files.
- 3. Enable WPS Cloud: Sign in to activate your free WPS Cloud storage, providing a secure backup alternative to prevent future file access loss during hardware changes.

Frequently Asked Questions
What does OneDrive error code 0x80070005 mean?
Error code 0x80070005 translates to 'Access Denied.' In the context of OneDrive, it typically means your current Windows user profile lacks the necessary security permissions or ownership rights to view, modify, or sync the affected files.
Why did I lose access to my files after reinstalling Windows?
When you reinstall Windows or change hardware, your computer generates a new unique Security Identifier (SID). If your old OneDrive files are encrypted or tied strictly to your old SID by your organization's policies, your new Windows installation will not be recognized as the authorized owner.
Can I fix the 0x80070005 permission error myself on a work account?
Usually, no. Work and school accounts are managed by centralized organizational policies. Even if you have administrative privileges on your local PC, the cloud-side Microsoft 365 tenant permissions will block unauthorized access until the IT admin resets your permissions.




