The OneDrive sync app reports problems as short codes such as 0x8004de40 or Error code 36, or as messages with no code at all. This quick reference groups the codes and messages Microsoft documents for the sync app by area, with what each one means, the usual cause and the first thing to check. It's written for work and school accounts, so consumer-only subscription codes are left out.
Codes in this quick reference
0x8004de40: OneDrive can't connect to the cloud at sign-in (Login was either interrupted or unsuccessful)OneDrive sign-in0x8004de88: can't sign in to the account, same connection causes as 0x8004de40OneDrive sign-in0x8004de42: Your proxy settings require authenticationOneDrive sign-in0x8004de44: Your proxy settings require authenticationOneDrive sign-in0x80048823: proxy authentication required at sign-inOneDrive sign-in0x8004de85: account problem, missing account or personal/work account mismatchOneDrive sign-in0x8004de8a: account problem, missing account or personal/work account mismatchOneDrive sign-in0x8004de90: OneDrive setup hasn't been completedOneDrive sign-in
+ 38 more codes in the tables below.
How to read these codes#
- Where they appear. Sign-in and setup codes show in the OneDrive sign-in window. Sync and file-system codes show in the sync app's notifications or as Windows errors when you open, move or delete a file in the OneDrive folder.
- What the prefix tells you. Most
0x8004deXXcodes concern sign-in, account or setup state.0x8007XXXXcodes are Windows errors passed through OneDrive, such as the cloud files and reparse point errors below. - The admin view. The OneDrive sync health dashboard in the Microsoft 365 Apps admin center (Health › OneDrive Sync) shows sync status, app versions and Known Folder Move progress per device. It needs sync app 22.232 or later, a Tenant Association Key from the dashboard's Setup page, and the
EnableSyncAdminReportspolicy on each device. The olderSyncAdminReportskey is no longer supported. - The standard reset. Many entries end in a reset. It disconnects every sync connection but doesn't delete files; afterwards you choose any selected folders again.
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
REM If Windows can't find it, try the per-machine location:
"C:\Program Files\Microsoft OneDrive\onedrive.exe" /resetSign-in, account and proxy codes#
| Code | Meaning | Usual cause | First check |
|---|---|---|---|
0x8004de40 | Can't connect to the cloud at sign-in ("Login was either interrupted or unsuccessful") | No internet, TLS 1.2 unavailable, or cipher suites that don't match Microsoft 365 requirements | Connectivity, then TLS 1.2 and cipher suite order; Microsoft's article also covers re-registering the device with dsregcmd |
0x8004de88 | "We can't sign into your account, please try again later" | Same as 0x8004de40 | Same checks as 0x8004de40, then reset |
0x8004de42 | "Your proxy settings require authentication." | An authenticated proxy, which OneDrive doesn't support | Let Microsoft 365 traffic bypass proxy authentication |
0x8004de44 | Same proxy message, sometimes with 0x80048823 | Authenticated proxy | Proxy bypass; Microsoft also suggests resetting the Windows Settings app and reinstalling OneDrive |
0x80048823 | Proxy authentication required | Authenticated proxy | As for 0x8004de44 |
0x8004de85 | Account problem: missing account, or personal and work accounts mixed up | Signed in with the wrong account type | Settings › Account shows the expected account |
0x8004de8a | Same account problem as 0x8004de85 | Wrong or missing account | As for 0x8004de85 |
0x8004de90 | OneDrive isn't fully set up | Setup was interrupted | Start OneDrive and complete sign-in |
0x8004de96 | Sign-in fails after a password change | Cached credentials | Microsoft's "You're syncing a different account" steps |
0x8004deb4 | Sign-in failure with a dedicated Microsoft article | Authentication on the device | Update OneDrive, then follow Microsoft's article for this code |
0x8004ded2 | Account's organization doesn't support OneDrive | No OneDrive for that account, or stale setup data | The user's OneDrive license; then reset |
0x8004def0 | Credentials changed or expired | Password change or expiration policy | Sign in to Microsoft 365 on the web with the same account |
0x8004def5 | Expired credentials on the computer; may create copies named after the PC | Stale pre-sign-in settings | Delete PreSignInSettingsConfig.json in %localappdata%\Microsoft\OneDrive\settings |
| Error code 2 | Couldn't fetch account details | Authentication problem | Sign in to the account on the web |
App version, setup and connection codes#
| Code | Meaning | Usual cause | First check |
|---|---|---|---|
| Error code 1 | Unknown error | Various | Open the files online, update OneDrive, restart |
| Error code 6 | Timeout | Network or service problem | Connectivity and service health; restart |
| Error code 49 | Older OneDrive version | Outdated sync app | Install the latest OneDrive |
0x8004ded7 | Old version with a work or school account | Outdated sync app | Install the latest OneDrive (no uninstall needed) |
0x8004def1 | "An update is required" | Outdated OneDrive or Windows | Updates and OneDrive system requirements |
0x8004de80 | App fault | Damaged installation | Uninstall and reinstall; no data is lost |
0x8004de86 | App fault | Damaged installation | As for 0x8004de80 |
0x8004def4 | Sync app and Store app installed together, or OneNote notebooks not moved correctly | Two OneDrive apps | Uninstall every OneDrive app, reinstall the sync app |
0x80010007 | Difficulty syncing with the PC | Broken sync relationship | Settings › Account › Unlink this PC, then set up again |
0x80040c81 | Difficulty connecting to the cloud | Network | Wired or Wi-Fi connection, then reset |
0x80070005 | Problem with OneDrive updates | Update failed | Windows updates, then run OneDriveSetup.exe from %localappdata%\Microsoft\OneDrive\update |
0x80070194 | Cloud files error | Sync app state | Reset OneDrive. Guide |
0x8004dea3 | Windows functions failing or crashing | Damaged system files | Run System File Checker |
0x8004e4f1 | Settings open as a blank page | An issue Microsoft says it's working on | Update OneDrive; recheck Microsoft's page |
0x80049d61 | Store app won't launch | Store app issue | Use the sync app or OneDrive on the web |
Files On-Demand, file system and sync codes#
| Code | Meaning | Usual cause | First check |
|---|---|---|---|
0x8007016a | "The cloud file provider is not running." | OneDrive not running, or Files On-Demand in a bad state | Updates; turn Files On-Demand off, reset, turn it back on |
0x8007018b | File open or in use by OneDrive | Delete, move or rename during sync | Let sync finish, or close OneDrive, then retry |
0x80071128 | "The data present in the reparse point buffer is invalid." | Invalid reparse points on the volume | chkdsk C: /R /F (the drive that holds OneDrive) from an elevated prompt; it can take hours |
0x80071129 | "The tag present in the reparse point buffer is invalid." | Invalid reparse points | As for 0x80071128 |
| Error code 36 | More items than SharePoint can manage at one time | The list view threshold of about 5,000 items | Sync smaller folders or libraries. Guide |
0x80070005 (Known Folder Move) | "An unknown error occurred" while moving known folders | Group Policy Prohibit User from manually redirecting Profile Folders | Set it to Not Configured (User Configuration › Administrative Templates › Desktop). Guide |
Storage and location codes#
| Code | Meaning | Usual cause | First check |
|---|---|---|---|
0x8004def7 | Storage exceeded or account suspended | Quota full, or a frozen account | Free space or raise the user's storage |
0x8004dedc | OneDrive used in a different region | Multi-Geo: the OneDrive isn't in the user's preferred data location | Start-SPOUserAndContentMove -UserPrincipalName <UPN> -DestinationDataLocation <Geo> |
Messages without a code#
| Message | Meaning | Usual cause | First check |
|---|---|---|---|
| "OneDrive cannot connect to Windows." | Files On-Demand can't show online-only files | Connection to the Windows component is broken | Microsoft's workaround article; updates and a restart |
| "Couldn't start Files on Demand" | The Files On-Demand service didn't start | Legacy filters in some antivirus products | Windows, Office and OneDrive updates; update the antivirus |
| "The file or folder already exists on OneDrive." | A folder you stopped syncing is still on the PC | Folder deselected from sync | Delete the local copy (it's still online) or move it out of the OneDrive folder |
| "This file can't be synced" | A specific file won't sync | Name, path, type or permissions | Microsoft's troubleshooter for this message. Guide |
| "Can't open file" | Windows can't open an online-only file | OneDrive isn't running | Start OneDrive |
| "You do not have access permissions to the item" | Local permissions block the file | NTFS permissions, or the file is in use | File Properties › Security: the user has Full control |
| "You're syncing a different account" | Account mismatch | A password change | Microsoft's article for this message |
| "You're already syncing this account" | Mac only: the account looks already added | Stale cached credential | Delete OneDrive Cached Credential in Keychain Access and the two OneDrive .plist files Microsoft lists, then restart OneDrive |
| "Upload blocked" | An Office app can't upload to OneDrive | Signed in with an account that can't upload | The account in the Office app; clear old credentials; reinstall OneDrive |
How to verify a fix#
- Sign-in completes and Settings › Account lists the expected work account and location.
- The OneDrive icon reports that files are up to date, and File Explorer shows normal status icons on the folders that failed.
- The file or action that failed works: open the online-only file, rename the item, or confirm known folders show as backed up under Settings › Sync and back up.
- If you use the sync health dashboard, the device's errors clear after its next report.
- For network codes (0x8004de40, 0x8004de88, Error code 6), sign in from the same network as the user, not only from a test machine.

