How to Fix OneDrive Access Denied After Moving Drive to a New PC
Question details
The user is unable to open OneDrive files normally and must run applications as an administrator after moving a drive from an old computer to a new one.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Accessing local OneDrive files and syncing data after transferring a physical drive or moving the OneDrive directory to a new Windows PC.
- Observed behavior
- Opening files directly triggers an access-denied error. Apps like Word and Excel must be run as administrator to open files. Additionally, the OneDrive app is stuck processing thousands of changes.
Ensure you are logged into your Windows PC with an administrator account, as you will need elevated system privileges to modify NTFS folder permissions and take ownership of the restricted files.
Take Ownership and Grant Full Control of the OneDrive Folder
Modifying the local NTFS permissions ensures your current user account has the right to read, write, and sync the files without requiring you to run applications as an administrator.
When you move a drive from an old PC, the files retain the security identifiers (SIDs) of the old Windows account. Taking ownership forces the system to recognize your new account as the rightful owner.
Locate your OneDrive folder in File Explorer, right-click it, and select Properties from the context menu.
Navigate to the Security tab and click the Advanced button near the bottom of the window.
Next to the Owner name at the top, click Change. Type your current Windows username in the object name box, click Check Names to verify it, and then click OK.
Check the box that says 'Replace owner on subcontainers and objects' located just below the owner's name. Click Apply, then OK.
Back in the Security tab, click Edit. Select your username from the list, check the 'Full control' box under the Allow column, and click OK to apply the changes.

Restart OneDrive to Clear the Sync Backlog
After fixing the file permissions, restarting the OneDrive application allows it to process the file changes properly and clear the 'processing thousands of changes' status.
Experience Hassle-Free Document Editing with WPS Office
If complex Windows permissions and OneDrive sync issues are blocking your access to Microsoft Office files, consider switching to WPS Office. It is a lightweight, free alternative that offers seamless compatibility with your existing Word, Excel, and PowerPoint documents without relying on heavy background sync services.
- 1. Download and Install: Get WPS Office for free from the official website and easily install it on your PC.
- 2. Open Your Documents: Launch WPS Office and directly open your existing DOCX, XLSX, or PPTX files from any local or cloud folder.
- 3. Save and Sync: Edit your work and securely save it using the built-in WPS Cloud to avoid complex local folder permission issues in the future.

Frequently Asked Questions
Why do I need administrator privileges to open my OneDrive files on a new PC?
When you move a physical hard drive from an old PC to a new one, the files retain the NTFS security identifiers of your old Windows user account. Your new user account does not have default permission to read or write to them, causing Windows to demand administrator rights to access the files.
Why is my OneDrive app stuck processing thousands of changes?
OneDrive constantly scans its sync folder for file updates. If it encounters files with restricted or incorrect NTFS permissions, it fails to read them properly and can get stuck in an endless loop trying to access them. Fixing folder permissions usually resolves this backlog.
Can I just format the drive to fix the OneDrive permission issue?
You should never format or wipe the drive until you have successfully taken ownership of the files, ensured they are fully accessible, and verified they are synced to the cloud or backed up. Wiping the drive prematurely will result in permanent data loss.
Will taking ownership of local files affect my OneDrive cloud storage?
No, taking ownership only updates the local NTFS file permissions on your current Windows PC so you can access the files. It does not alter, corrupt, or delete the files stored securely in your online OneDrive cloud.




