Forum Discussion
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
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
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/
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
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/
- Office365BuddyBrass Contributor
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
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/