Error 0x8004de40

Rodney Stewart 0 Reputation points
2026-10-09T09:34:20.9866667+00:00

i have reset several times my onedrive app and have uninstalled and reinstalled several times but stil get the same error code 0x8004de40. This just started happening 2 days ago upo til now I have been able to sign in without any problem

Rodney

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

2 answers

Sort by: Most helpful
  1. GsN5034 - IA 78,515 Reputation points Independent Advisor
    2026-10-09T10:19:28.72+00:00

    Hello,

    This error usually occurs when a network issue prevents your device from connecting to the OneDrive cloud servers.

    First, restart your Wi-Fi router, reconnect to the network, and check whether the issue is resolved. If the problem persists, try enabling the recommended TLS Security protocols: TLS 1.0, TLS 1.1, and TLS 1.2. (This is the second step as recommended by AI below).


    If the issue continues, make sure your device is not connected through a proxy server.

    To check this, go to Start > Settings > Network & Internet > Proxy.

    Under Manual proxy setup, turn off Use a proxy server if it is enabled.

    Then, restart your computer and reset OneDrive.


    Another Method,

    Open a CMD admin window.

    Run the Network reset commands one by one and click Enter for each command.

    netsh winsock reset
    
    netsh int ip reset
    
    netsh advfirewall reset
    
    ipconfig / flushdns
    
    ipconfig / release
    

    Once completed, restart your computer.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-10-09T09:34:37.3666667+00:00

    Error 0x8004de40 means OneDrive is having trouble connecting to the cloud.

    Since reset and reinstall have already been tried, use this order:

    1. Confirm internet access on the affected device If the device is not actually connected, OneDrive sign-in will fail with this error.
    2. Check TLS settings
      • Press Windows key + R
      • Type inetcpl.cpl and press Enter
      • Open the Advanced tab
      • Make sure TLS 1.0, TLS 1.1, and TLS 1.2 are enabled
      • Select Apply > OK
    3. If using Windows 10 or later, check TLS cipher suite order Microsoft documents that OneDrive sign-in can fail even after TLS 1.2 is enabled if the cipher suites do not match Azure Front Door requirements. The supported TLS 1.2 cipher suites listed are:
      • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
      • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
      • TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
      • TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
      These should be at the top of the cipher suite order. This can be configured through Group Policy, or by using PowerShell. Example:
         Enable-TlsCipherSuite -Name "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" -Position 0
      
      Warning: changing cipher suite order affects system TLS behavior. Verify the result with Get-TlsCipherSuite after the change.
    4. Restart the device After changing TLS settings, restart and try signing in again.
    5. If the device is joined to Microsoft Entra ID, rejoin it Do this only while connected to the organization network.
      • Open Command Prompt as administrator
      • Run:
             dsregcmd /leave
             dsregcmd /join
        
      • Restart the computer
      • Try OneDrive sign-in again

    If the device is on Windows 8, Windows 7 SP1, Windows Server 2012, or Windows Server 2008 R2 SP1, Microsoft recommends enabling TLS 1.1 and TLS 1.2 by using the Easy Fix tool, and for Windows 8 also installing KB 3140245.


    References:

    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.