cannot signin to onedrive

Douglas Liedblad 0 Reputation points
2026-11-06T16:38:06.7366667+00:00

Unable to sign in to OneDrive, I get error code 0X8004deca

Microsoft 365 and Office | OneDrive | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-06T16:39:56.9866667+00:00

    Microsoft does not publish a dedicated meaning or code-specific fix for 0x8004deca, so use the supported OneDrive sign-in repairs below in order.

    1. Check the account and update OneDrive

    1. Sign in to the Microsoft Account dashboard using the same personal Microsoft account.
      • If sign-in fails there, use the account-recovery guidance shown on that page.
      • If it succeeds, the credentials and web account access are working; continue with client, Windows-profile, network, and client-specific authentication checks.
    2. Open Settings → Windows Update → Check for updates, install available updates, and restart Windows.
    3. Install the latest OneDrive client from Download OneDrive. Microsoft recommends verifying the account and updating OneDrive before deeper troubleshooting.^1^

    2. Reset and reconnect OneDrive

    Resetting disconnects the local synchronization session and rebuilds its configuration; it does not delete files stored online.

    1. Quit OneDrive from its taskbar cloud icon.
    2. Press Windows+R.
    3. Run:
    %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset
    
    1. Wait approximately 30 seconds.
    2. Open Start, search for OneDrive, and launch it.
    3. Sign in with the Microsoft account used for OneDrive.

    If OneDrive settings remain accessible, select the taskbar OneDrive cloud → Help & Settings → Settings → Account → Unlink this PC, and then set up OneDrive again. Unlinking and relinking is part of Microsoft’s general sync-repair guidance.^2^

    3. If stale sign-in data is suspected

    This is a general cached-credential repair, not a fix documented specifically for 0x8004deca.

    1. Quit OneDrive.
    2. Press Windows+R.
    3. Enter:
    %localappdata%\Microsoft\OneDrive\settings
    
    1. Delete PreSignInSettingsConfig.json.
    2. Start OneDrive and sign in again.

    Microsoft documents this procedure for expired or stale OneDrive credentials.^3^

    4. Separate a network problem from a client problem

    Connect the PC temporarily to a mobile hotspot and try signing in again.

    • If it works through the hotspot, inspect the normal connection’s firewall, VPN, router, or internet-provider filtering.
    • If it fails on both connections, continue with local-client and Windows-profile checks.

    Microsoft specifically recommends the hotspot test when OneDrive cannot connect during sign-in.^4^

    5. Reinstall, then test another Windows profile

    If the preceding repairs fail:

    1. Open Settings → Apps → Installed apps → Microsoft OneDrive → Uninstall.
    2. Restart Windows.
    3. Reinstall OneDrive from Download OneDrive.
    4. Sign in again. Uninstalling OneDrive does not remove files stored in OneDrive online.^3^

    If the error remains, perform this diagnostic test:

    1. Open Settings → Accounts → Other users → Add account.
    2. Select I don’t have this person’s sign-in information → Add a user without a Microsoft account.
    3. Create a temporary local Windows user.
    4. Sign out, enter the temporary profile, start OneDrive, and try the same personal account.

    Do not move files or delete the original profile. Successful sign-in in the temporary profile indicates that authentication or identity state in the original Windows profile is likely involved. A matching 0x8004deca case used this test to distinguish profile-local identity problems from deeper OneDrive authentication failures.^5^

    If OneDrive still fails in the temporary profile and through a hotspot, contact Microsoft Support from the Need more help? section of the OneDrive sign-in page so the client-specific authentication failure can be investigated.^4^


    References

    1. Fixes or workarounds for recent issues in OneDrive
    2. Fix OneDrive sync problems | Microsoft Support
    3. Clear OneDrive cached credentials | Microsoft Support
    4. Can't sign in to OneDrive | Microsoft Support
    5. OneDrive client sign-in fails with 0x8004de80, then 0x8004deca - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.