SOLVED

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

Brass Contributor

 

 

 

Issue :

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

Error screenshot :

OneDrive:

Robin_Poulose_0-1645533773562.jpeg

 

 

IE browser :

Robin_Poulose_1-1645533773581.png

 

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

 

 

Reproduce:

We can reproduce the behavior on lab windows server 2012 R2

 

Robin_Poulose_2-1645533773597.png

 

 

 

 

Robin_Poulose_3-1645533773620.png

 

 

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

"DefaultSecureProtocols"=dword:00000a00

 

 

Similar to below issue:

https://www.reddit.com/r/sysadmin/comments/ngingn/server_2012r2_onedrive_error_0x8004de40/

 

1 Reply
best response confirmed by Robin_Poulose (Brass Contributor)
Solution


Final resolution:

Download IIS Crypto (https://www.nartac.com/Products/IISCrypto/

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

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

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

TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

Robin_Poulose_2-1645552105793.png

 



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


 

 


Refernece Blog:https://www.reddit.com/r/sysadmin/comments/ngingn/server_2012r2_onedrive_error_0x8004de40/

1 best response

Accepted Solutions
best response confirmed by Robin_Poulose (Brass Contributor)
Solution


Final resolution:

Download IIS Crypto (https://www.nartac.com/Products/IISCrypto/

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

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

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

TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

Robin_Poulose_2-1645552105793.png

 



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


 

 


Refernece Blog:https://www.reddit.com/r/sysadmin/comments/ngingn/server_2012r2_onedrive_error_0x8004de40/

View solution in original post