Windows server 2012 R2 -Onedrive sync -Error Code 0x8004de40 when signing in to OneDrive





Issue :

  • Onedrive sync -Error Code 0x8004de40 when signing in to OneDrive
  • IE browser cannot access Microsoft office 365 websites

Error screenshot :





IE browser :



Reference article:

Error Code 0x8004de40 when signing in to OneDrive - SharePoint | Microsoft Docs

RC4 cipher is no longer supported in Internet Explorer 11 or Microsoft Edge

Troubleshooting : Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in advanced settings - TechNet Articles - Un...


Environment : Windows Server 2012 R2


Troubleshooting :

We have tried all the solution given from the reference article but still IE is not able to access office 365 website.

In the Internet Properties panel, select the tab "Advanced", and in the Settings, Security section mark to activate the boxes ["Use TLS 1.1", "Use TLS 1.2"]

Added TLS 1.2 Registry - Right-click Windows button and select Run Type "regedit", and click OK Then go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols", and create one key and two DWORD(32-bit) values, as the image below shows.

beside enabling TLS 1.0, 1.1 and 1.2 on the Browser I enabled TSL 1.0 for Client and server on the registry.

HKLM\System\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\TLS 1.0\Client  and \Server.

The Easy Fix Tool is out dated

disabling DHE cipher suites

we cannot run below command on windows server 2012
Enable-TlsCipherSuite -Name "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" -Position 0

unable to check Check cipher suites settings on windows server 2012




We can reproduce the behavior on lab windows server 2012 R2










[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp]




Similar to below issue:


1 Reply
best response confirmed by Robin_Poulose (Contributor)

Final resolution:

Download IIS Crypto (

Add the following Keys to the 1st and 2nd position respectively (they weren't there on 2 servers I've tested so far)



Find and move the following keys to the 3rd and 4th position respectively (they are there but not in the right order)





Make sure all of the check boxes are selected, press Apply, reboot the server.



Refernece Blog: