How to Fix OneDrive Error 0x8004de85 (Sign-In Error)
Diagnostic Procedures
- 1 Understand the cause of OneDrive login error 0x8004de85
- 2 Verify your Microsoft account type (Personal vs. Business)
- 3 Delete expired credential caches in Windows Credential Manager
- 4 Remove corrupted Registry keys under OneDrive Accounts
- 5 Perform a clean re-installation of the OneDrive sync client
How to Fix OneDrive Error 0x8004de85 (Sign-In Error)
If you receive OneDrive Error Code 0x8004de85 during login, the OneDrive client is having difficulty identifying your account. This error typically translates to “Account does not exist” or “Account type mismatch” and occurs when the sync engine attempts to authenticate a Microsoft account that is either deactivated, configured incorrectly, or has conflicting cached credentials.
This troubleshooting guide explains how to clear the sign-in block on Windows and macOS.
What Causes OneDrive Error 0x8004de85?
The primary causes for this error include:
- Account Type Conflict: Attempting to log into the personal OneDrive client using a Microsoft 365 Work or School account (or vice-versa).
- Corrupted OneDrive Registry State: Conflicting registry keys associated with multiple logged-in accounts on the same PC.
- Outdated Cache Tokens: Stale security tokens in Windows Credential Manager or macOS Keychain Access.
Detailed Steps to Resolve Error 0x8004de85
Follow these troubleshooting steps to resolve the issue:
Step 1: Verify Account Portal Access
Before editing local system files, verify that your account is active:
- Open your web browser and navigate to the Microsoft 365 Portal.
- Log in using your email credentials.
- If you can access the portal and open the web-based OneDrive application, your account is active, and you can proceed to local client fixes. If you get an account error here, contact your IT administrator or Microsoft Support.
Step 2: Clear Conflicting Registry Keys (Windows)
If you have used multiple Microsoft accounts (e.g. personal and work) on the same machine, the local OneDrive registry branch can become corrupted.
- Press
Windows Key + Rto open the Run window. - Type
regeditand press Enter (select Yes on the UAC prompt). - Navigate to the following key path:
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts - Expand the Accounts folder. You will see subkeys named
Personalor business identifiers (likeBusiness1). - Right-click the folder matching the account that is throwing error
0x8004de85and select Delete. - Restart your computer and launch OneDrive to sign back in.
Step 3: Delete Cached Microsoft Credentials
Cached session tokens can override active logins, causing authentication mismatches.
On Windows:
- Open the Start Menu, search for Credential Manager, and select it.
- Choose Windows Credentials.
- Under Generic Credentials, look for all items containing the words
OneDriveorMicrosoftOffice. - Click on each item and click Remove.
- Restart OneDrive and try signing in again.
On macOS:
- Open Keychain Access (via Spotlight search).
- In the search box at the top right, type
OneDriveorMicrosoft. - Select and delete all credential records matching
OneDrive Cached CredentialorMicrosoft Office Credential. - Launch OneDrive to prompt a fresh login flow.
Step 4: Perform a Clean Reinstallation
If the error persist, registry caches can be bypassed by performing a clean reinstall of the latest client:
- Windows: Download and install the latest installer directly from the Microsoft OneDrive Official Page. Do not use the Microsoft Store version, as it has limited diagnostics.
- macOS: Uninstall the App Store version, and instead install the Standalone package from Microsoft’s website. The Standalone version is much more stable and supports advanced FileProvider configurations.