Printable checklist

Fixed: Error 0x8007007B When Syncing OneDrive

Error 0x8007007B means a file or folder name in your OneDrive contains characters or a shape that is not allowed — a slash, a reserved name like CON, a trailing space, or a path that is too long. Rename the item and the sync resumes.

By 52runoob Editorial Team · 15 steps · Files, Photos & Backups · Updated December 6, 2026

Back to the guide
  1. 1. Read the Flagged Item in the Activity Center

    Click the OneDrive cloud icon in the system tray and open the sync errors view. It lists the file or folder that failed, with its full path. That one entry is the whole problem — everything behind it in the queue is waiting for it to be…

  2. 2. Check for Forbidden Characters

    Windows Explorer tolerates names OneDrive does not. Scan the flagged name for `\ / : * ? " < > |` — the most common offender is a colon in something like `Meeting: notes.docx`, which Windows allows locally but OneDrive rejects. Remove or…

  3. 3. Look for a Reserved Windows Name

    Names like `CON`, `PRN`, `AUX`, `NUL`, `COM1` through `COM9`, and `LPT1` through `LPT9` are reserved by Windows itself. A file called `CON.xlsx` or a folder called `AUX` cannot sync. Rename it to something descriptive — `conference.xlsx`…

  4. 4. Trim Trailing Spaces and Periods

    A name ending in a space or a period — `report .docx` or `Archive.` — is a name the cloud cannot address, even though your PC displays it fine. Rename the file and delete the trailing character. In Explorer you may not see the space at…

  5. 5. Measure the Full Path Length

    OneDrive rejects paths longer than about 400 characters, counting the whole nested folder chain. Paste the full path into a text editor and count. If it is over the limit, shorten folder names near the top of the tree — every character…

  6. 6. Rename the Flagged Item

    Right-click the flagged file and rename it to something plain: letters, numbers, dashes, and a normal extension. No trailing spaces, no symbols from the forbidden list. Within a minute OneDrive picks the file up again, and the red cross…

  7. 7. Batch-Rename With PowerShell for Many Files

    When dozens of files carry the same bad character, rename them in one pass: `Get-ChildItem "C:\Users\you\OneDrive\Reports" -Recurse | Rename-Item -NewName { $_.Name -replace ':', '-' }`. Adjust the folder and the character. Run it once,…

  8. 8. Fix Names That Collide After Renaming

    Renaming two files to the same name — stripping different symbols from `Report: A.docx` and `Report A.docx` — creates a duplicate OneDrive refuses for a different reason. Add a date or a number to one of them so both are unique and legal.…

  9. 9. Move Deep Files Upward in the Tree

    For a file that is legal but buried past the path limit, drag it a few folders up and rename the deep folders shorter. The upload retires once the full path fits. Restructure the tree afterwards if you need the depth — shorter names at…

  10. 10. Watch the Queue Clear

    After the renames, watch the OneDrive icon cycle through syncing back to the green checkmark, and reopen the activity center. The error list should empty as the renamed files upload. Anything still flagged is a second offender — rename it…

  11. 11. Unlink and Reconnect OneDrive

    If every name is legal and the error persists, the sync database itself is stale. Open OneDrive settings, go to Account, and choose `Unlink this PC`. Sign back in and point it at your existing OneDrive folder. It re-scans everything…

  12. 12. Exclude Stubborn Folders With Selective Sync

    For a folder you cannot rename — a project archive, a client's files — exclude it instead of fighting it: in OneDrive settings under Account, click `Choose folders` and untick it. The folder stays on the PC but leaves the sync queue, and…

  13. 13. Check the Local Drive for Errors

    A drive losing its file table reports names incorrectly to OneDrive, which rejects them as invalid. Run `chkdsk C: /f` in an elevated terminal and let it repair. On the drive holding your OneDrive folder, a clean file table means the…

  14. 14. Update OneDrive to the Current Version

    An outdated sync client mis-parses names the current version handles fine. Check for updates under OneDrive settings > About, or download the current client from Microsoft and install it over the top. After the update, re-run the sync and…

  15. 15. Test With a Fresh OneDrive Folder Location

    As a final check, unlink and reconnect OneDrive but point it at a new empty folder instead of the existing one. Let it download everything from the cloud. If the error never appears in the fresh folder, the old folder's local names were…