What do the OneDrive error codes mean?

What do the OneDrive error codes mean?

Microsoft virtual support agent icon

Try the Microsoft Virtual Agent
Our Virtual Agent can help answer your questions about OneDrive.

We’re sorry you’re having problems with OneDrive. Select your error message or error code from the lists below to learn more.

ISSUE

After enabling Files on Demand in OneDrive, some customers may see the following error when trying to access items in your OneDrive folder.

  • OneDrive cannot connect to Windows. Files On-Demand requires a connection to Windows in order to show your files without taking up space on this device. OneDrive can keep trying to connect to Windows or you can choose to download all your files. You won't be able to use online-only files until this is fixed.

STATUS: WORKAROUND

Read more about how to resolve the error when accessing files in OneDrive.

ISSUE

You are unable to sign in to OneDrive and the "You're syncing a different account" error appears. This may occur after you have changed your Microsoft Account password.

STATUS: WORKAROUND

For more details on the workarounds, read OneDrive shows "You're syncing a different account" error.

ISSUE

When you try to add your account to OneDrive for Mac, you may receive the error: "You're already syncing this account."

STATUS: WORKAROUND

  1. From Spotlight search type “keychain” and select " Keychain Access”. If it's not visible in Spotlight, go to the Utilities folder and open Keychain Access from there.

  2. Search for “OneDrive.”

  3. Delete “OneDrive Cached Credential.”

  4. Go to /Users/<username>/Library/Group Containers/

  5. Find and delete UBF8T346G9.OneDriveSyncClientSuite.plist and UBF8T346G9.OfficeOneDriveSyncIntegration.plist

  6. Restart OneDrive.

If you see the error message "Upload Blocked" or are having trouble syncing Office files, the Office Upload cache system may be interfering with OneDrive sync. Try turning off the related setting in OneDrive settings.

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select OneDrive Help and Settings icon Help & Settings > Settings.

    Screenshot of getting to OneDrive Settings

  3. Select the Office tab and uncheck the Use Office 2016 to sync Office files that I open check box.

    Note: When you turn off the Use Office 2016 to sync Office files that I open setting, any changes that you and other people make to Office files in your OneDrive will no longer merge together automatically.

After deselecting a folder from the list of folders you choose to sync, you may see an error: "The file or folder already exists on OneDrive."

Workaround options:

Option 1: Delete it from the PC.

Note: It’s safe to delete the file because it’s still available in OneDrive online. If you don’t want to have the folder in OneDrive and only have the folder on your PC, move the folder out of the PC’s OneDrive folder (see option 2 below).

Option 2: Remove the file or folder from OneDrive.

Note: With the file included in your list of folders to sync, move the folder to another place outside the OneDrive folder structure. This will delete the files and folder from OneDrive.com and make them only available on your PC.

To help you add your folder, read more about when you're not signed in.

It can take up to 24 hours for your subscription to become visible.

  1. Go to Manage storage and check if your subscription and storage is visible.

  2. If this issue persists after 24 hours, please contact support.

This can be because you are signed in with a different Microsoft account. Check which account is on your mobile device:

  1. Open the OneDrive app and tap Me OneDrive Me icon .

  2. Your account name is at the top of the screen underneath Me. If your work or school account is shown, tap OneDrive work or school account icon to see other account options, or select + Add account to add your personal Microsoft account.

If you can't access the store, try these tips:

  1. Ensure you have the latest Store app, and are signed in with an account that has permissions to buy or download apps.

  2. Buy your subscription online at https://onedrive.live.com/about/plans/

Error Code 1 means an unknown error has occurred, but there are a couple of other checks that may help you get OneDrive working again.

Check that you can access OneDrive online

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select OneDrive Help and Settings icon Help & Settings > View online.

    Screenshot of getting to OneDrive Settings

    Note: If you're having problems signing in to OneDrive.com online, check the status of Microsoft Office Online Services at the Service Health portal

Update to the latest version of OneDrive

OneDrive and Windows are frequently updated and keeping your PC up to date can help sync problems.

  1. Download the latest Windows updates to get the most out of OneDrive. The Windows 10 Fall Creators Update enables OneDrive Files On Demand which can help resolve sync problems. Learn more about OneDrive Files On-Demand.

  2. Download the latest version of OneDrive and install it. 

    Notes: 

    • If you already have the latest version, the installer setup will end automatically.

    • For more information on the latest version, read the release notes.

  3. Restart your PC

  4. Press  Press the Windows key , search for OneDrive and then open OneDrive.

Error code 2 means that OneDrive has experienced a problem fetching your account details.

Sign in to your Microsoft account to ensure there are no authentication issues.

Error code 36 may be seen if you exceed SharePoint limits on the amount of data items that can be managed at any one time. The List View Threshold is approximately 5000 items.

For more information, read Manage large lists and libraries in SharePoint.

Error Code 6 means a timeout error has occurred. We recommend restarting your computer or smart phone.

Please try the solutions below before contacting support:

  1. Check the internet connectivity on the device where OneDrive isn’t working.

  2. Check the status of Microsoft Office Online Services at the Service Health portal.

  3. Restart your computer or smart phone.

  4. Can you access other Microsoft services with your Microsoft account, such as Outlook.com or people.live.com? If you can, it may be a temporary problem with OneDrive. If you cannot, it could be account related, or a wider issue. 

You may see this error code when trying to unlock your OneDrive Personal Vault.

To resolve the error:

  1. Open the Windows Troubleshooter (link opens your PC's Settings Settings )

  2. Select Windows Update

  3. Ensure that you accept all updates, including any Feature updates

    Windows Update showing feature update placement

Error Code 0x8001007 means OneDrive is having difficulties syncing with your PC. To fix this, unlink OneDrive and run OneDrive setup again.

You won't lose files or data by disabling, uninstalling or unlinking OneDrive on your computer. You can always access your files by signing in to your OneDrive account online.

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select OneDrive Help and Settings icon Help & Settings > Settings.

    Screenshot of getting to OneDrive Settings

  3. Click Unlink this PC.

  4. Follow the steps in the Welcome to OneDrive wizard to set up OneDrive.

Error Code 0x80040c81 can be fixed by resetting your OneDrive.

means OneDrive is having difficulties connecting to the cloud. If you are using a cable to connect to the Internet, please read about How to fix your network connection.

If you are using Wi-Fi, read How to fix Wi-Fi problems.

Error Code 0x8004de40 means OneDrive is having difficulties connecting to the cloud. If you are using a cable to connect to the Internet, please read about How to fix your network connection.

If you are using Wi-Fi, read How to fix Wi-Fi problems.

If you see error code 0x8004de80 or 0x8004de86 when using OneDrive, uninstall and reinstall the app.

You won't lose any data by resetting or uninstalling OneDrive.

The OneDrive app comes with Windows 8.1 and Windows RT 8.1 and cannot be uninstalled, but you can uninstall OneDrive from Windows 7, Windows Vista and some versions of Windows 10.

  1. Select the Windows key  Press the Windows key  and type Programs in the search box, and then select Add or remove programs (or Add Programs in Windows 7).

  2. Under Apps & features (or Programs and Features in Windows 7) find and select Microsoft OneDrive.

  3. Select Uninstall.

  4. Download the Microsoft OneDrive app from the website.

  5. Open the downloaded file and follow the prompts to sign in and get started.

  6. For more information, read How to Reinstall OneDrive.

You may see Error Codes 0x8004de85 or 0x8004de8a if there is a problem with your OneDrive account, including a missing account, or a mismatch if you sign in with a personal Microsoft account and a work or school account. 

Sign in to your personal Microsoft account or Office 365 account to ensure there are no authentication issues, then check your OneDrive app accounts:

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select OneDrive Help and Settings icon Help & Settings > Settings.

    Screenshot of getting to OneDrive Settings

  3. Select the Account tab to ensure the correct or expected account is being displayed.

Error code 0x8004de90 will be displayed if OneDrive has not been set up fully.

  1. Press  Press the Windows key , search for OneDrive and then open OneDrive

  2. When OneDrive Setup starts, enter your Microsoft account email address, and then select Sign in to set up your account.

You may see Error Code 0x8004de96 after you have changed your Microsoft Account password.

For more information, read OneDrive shows "You're syncing a different account" error.

If some Windows functions aren't working or Windows crashes, use the System File Checker to scan Windows and restore your files.

Follow the steps at https://support.microsoft.com/help/929833 which will help you run the System File Checker tool and understand the results.

After you update to Office 2016 build 16.0.7967 or a later version on Windows 10, you may receive the following error message when signing in into OneDrive for work or school:

There was a problem signing you in.  Login was either interrupted or unsuccessful. Please try logging in again. (Error Code: 0x8004deb4)

Caution: If you're not sure about editing the Registry, read How to back up and restore the registry in Windows.

  1. Pressing Windows key  Press the Windows key and R.

  2. Type regedit and press OK

  3. Browse to Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive

  4. Right-click in the right pane and add a new DWORD

  5. Name the new DWORD EnableADAL

  6. Edit the new DWORD entry to give it the value 2

  7. Close Regedit and restart your PC.

You may see Error Code 0x8004ded2 if you are trying to add a work or school account from an organisation that does not support OneDrive.

You may be able to resolve the issue by resetting OneDrive. You won't lose files or data by resetting OneDrive on your computer. 

Learn how to reset OneDrive.

If you see error code 0x8004ded7 when using OneDrive for work or school, it could be because you are using an old version of OneDrive.

  1. Download the latest updates for your computer to help you get the most out of OneDrive.

  2. Download the latest version of OneDrive and install it. You don't need to uninstall the old version first.

If you see error code 0x8004dedc when using OneDrive for work or school, it could be because you are trying to use OneDrive for work or school in a different region.

Action for Admins to start the user move:

Start-SPOUserAndContentMove -UserPrincipalName <UPN> -DestinationDataLocation <Geo>

Notes: 

  • UserPrincipalName – UPN of the user whose OneDrive for work or school is being moved.

  • DestinationDataLocation – Geo-Location where the OneDrive for work or school needs to be moved. This should be same as the user’s preferred data location. 

  • For example, to move the OneDrive of matt@contosoenergy.onmicrosoft.com from EUR to AUS, run: Start-SPOUserAndContentMove -UserPrincipalName matt@contoso.com -DestinationDataLocation AUS

You may see Error Code 0x8004def0 if your account credentials have changed or expired. Your organization may have a password policy that forces users to change their password every 60 days.

Check if you can access other Microsoft services, such as Outlook.com, with your personal Microsoft account or Sign in to Office 365 with your work or school account.

You may see Error Code 0x8004def4 if you are trying to use the OneDrive sync app while having the OneDrive store app installed.

The solution is to uninstall the OneDrive store app.

  1. Press  Press the Windows key  and enter apps:onedrive

  2. Select Uninstall and follow the prompts.

    Uninstalling OneDrive Store app

Note: You won't lose files or data by disabling, uninstalling or unlinking OneDrive on your computer. You can always access your files by signing in to your OneDrive account online.

You may see Error Code 0x8004def7 if you have exceeded your storage capacity and or your account has been suspended.

Learn what you can do When your OneDrive account is frozen.

Error Code 0x80070005 suggests there is an issue with OneDrive updates.

  1. Press  Press the Windows key  and type Updates 

  2. Select Check for updates and install all available Windows Updates.

  3. After Windows updates have completed, press  Press the Windows key  + R to open a Run window.

  4. Type %localappdata%\Microsoft\OneDrive\update and press OK.

  5. Double click on OneDriveSetup.exe to install the latest version of OneDrive.

ISSUE

When setting up Known Folder Move in OneDrive for work or school, you receive the following error message:

An unknown error occurred. (Error code: 0x80070005)

This is caused by a group policy preventing the feature from running.

RESOLUTION

Use gpedit.exe, modify a Group Policy.

Navigate to User Configuration > Administrative Templates > Desktop > Prohibit User from manually redirecting Profile Folders

Set the value to “Not Configured.”

MORE INFORMATION

It is possible your company’s administrators do not want you to configure this feature if the Group Policy is enabled. Your administrator may also elect to continue to enforce the policy even if you manually override it.

Read more about how to Back up your Documents, Pictures, and Desktop folders with OneDrive.

If you see Error Code 0x8007016a when using OneDrive:

  1. Check your computer for updates (link opens your PC's Settings Settings

  2. Make sure you’re signed in to OneDrive on your device and select the white or blue OneDrive cloud icon in the notification area.

  3. Select  OneDrive Help and Settings icon Help & SettingsSettings.

  4. Uncheck the Save space and download files as you use them box

  5. Reset OneDrive. Read Reset OneDrive for more information.

  6. After the reset, re-enable Files on Demand. Learn more about Files on Demand.

ISSUE

You may see Error Code 0x8007018b is you are trying to delete, move or rename a file that is open or in use by OneDrive.

RESOLUTION

  1. Wait for OneDrive to finish syncing.

  2. Close OneDrive by selecting the OneDrive cloud icon, selecting More, then Close OneDrive.

If you see error code 0x80070194 when using OneDrive, resetting the app may help. 

You won't lose any data by resetting or uninstalling OneDrive.

  1. Open a Run dialog by pressing Windows key  Press the Windows key  and R.

  2. Copy this and paste it into the dialog window then press OK

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset 

    If you see a "Windows cannot find..." message, copy and paste this instead, then press OK.

    C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset

  3. Manually restart OneDrive by going to Start  Press the Windows key , type OneDrive in the search box, and then click on the OneDrive desktop app.

Notes: 

  • To reset other versions of OneDrive, read Reset OneDrive. If you're not sure which OneDrive app you have, read Which OneDrive app do I have?

  • Resetting OneDrive disconnects all your existing sync connections (including personal OneDrive and OneDrive for work or school if set up). You won't lose files or data by resetting OneDrive on your computer.

  • If you had chosen to sync only some folders before the reset, you will need to do that again once sync has completed. Read Choose which OneDrive folders to sync to your computer for more information.

  • You will need to complete this for your personal OneDrive and OneDrive for work or school.

  

More fixes for recent OneDrive issues

Need more help?

Online

Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

OneDrive Admins can also view the OneDrive Tech Community, Help for OneDrive for Admins.

Microsoft virtual support agent icon

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you're in the OneDrive app.

OneDrive Admins can contact Microsoft 365 for business support.

Office 365 community forums

Tips
Letting us know your location may help us resolve your issue more quickly.

All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×