Forum Discussion

Office365Buddy's avatar
Office365Buddy
Brass Contributor
Feb 22, 2022

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 :

OneDrive:

 

 

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 - United States (English) - TechNet Wiki (microsoft.com)

 

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

 

 

 

 

 

 

 

[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/

 

Resources