OneDrive Windows Client error 0x8004de40 in Windows 7

César 236 Reputation points
2021-05-20T15:45:15.45+00:00

Hello,

I work in a company where we have a lot of customers using Windows 7, and for some time we have been unable to install the OneDrive app in those computers.

To reproduce it I've created an empty virtual machine in Azure using the Windows 7 image, I've installed OneDrive and I've verified that I can configure without problems a free personal account but when I try to configure my company account I get the same error as our customers:

There was a problem connecting to OneDrive.
Check your internet connection, and then try again. (Error Code: 0x8004de40)

There is internet connection, no antivirus or firewall blocking the connection, TLS 1.2 enabled, last windows updates installed, we have tried "OneDrive.exe /reset". My guess is that is some recent OneDrive app update.

Thank you for your help,
César

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,257 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rodrigo Lima 81 Reputation points
    2021-05-26T15:01:37.533+00:00

    Have you tried this easyfix?

    https://support.microsoft.com/en-us/topic/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-winhttp-in-windows-c4bd73d2-31d7-761e-0178-11268bb10392#bkmk_easy

    It had help in my case

    I have done manually too by adding this DWORD DefaultSecureProtocols with the value 0x00000A00 into:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp

    And it had worked

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 25,156 Reputation points Microsoft Vendor
    2021-05-21T07:59:54.403+00:00

    Hi @César ,
    I suggest you go to this registry path in Windows 7 and check if you can find:

    HKEY_CURRENT_USER\Software\Microsoft\OneDrive

    Try to delete it (you can back up first) and then re-install OneDrive.

    Try this method and let me know the result, I'm glad to help you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.