There was a problem connecting to OneDrive (Error Code: 0x8004de40)

%3CLINGO-SUB%20id%3D%22lingo-sub-1207767%22%20slang%3D%22en-US%22%3EThere%20was%20a%20problem%20connecting%20to%20OneDrive%20(Error%20Code%3A%200x8004de40)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1207767%22%20slang%3D%22en-US%22%3E%3CP%3EBeen%20struggling%20with%20this%20all%20day%20trying%20to%20get%20OneDrive%20installed%20and%20signed%20in%20for%20a%20user.%20Every%20time%20I%20get%20the%20error%20message%20in%20the%20subject%20line.%20I%20have%20tried%20many%20of%20the%20suggestions%20online%20of%20resetting%20winsock%2C%20flushdns%2C%20reset%20onedrive%20from%20command%20line%20and%20nothing%20seems%20to%20fix%20this%20problem%20for%20this%20one%20person.%20I%20have%20others%20I%20setup%20today%20and%20they%20all%20work%20fine.%20The%20error%20code%20suggests%20internet%20connection.%20The%20connection%20is%20fine%20and%20I%20can%20browse%20the%20web%2C%20open%20email%2C%20I%20can%20even%20open%20OneDrive%20online%20and%20it%20works%20fine.%20All%20apps%20work%20fine%20except%20OneDrive%20signing%20into%20this%20computer.%3C%2FP%3E%3CP%3EAny%20suggestions%20I%20can%20try.%20I%20have%20uninstalled%20the%20complete%20Office%20programs%2C%20rebooted%20and%20reinstalled%20everything.%20I%20just%20cannot%20get%20OneDrive%20to%20finish%20installing%20when%20trying%20to%20sign%20in%20the%20account%2C%20I%20get%20the%20error%20code%20and%20will%20not%20continue.%20Just%20a%20button%20at%20the%20bottom%20to%20%22Try%20Again%22%20which%20I%20have%20tried%20repeatedly.%3C%2FP%3E%3CP%3ENot%20sure%20what%20is%20wrong%20or%20why%20it%20will%20not%20sign%20into%20the%20OneDrive%20app%20on%20the%20computer.%20Like%20I%20say%20it%20works%20fine%20online.%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1207767%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1312795%22%20slang%3D%22en-US%22%3ERe%3A%20There%20was%20a%20problem%20connecting%20to%20OneDrive%20(Error%20Code%3A%200x8004de40)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1312795%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573644%22%20target%3D%22_blank%22%3E%40HarleyRider%3C%2FA%3E%26nbsp%3BDid%20you%20ever%20get%20this%20issue%20resolved%3F%26nbsp%3B%20One%20of%20my%20users%20is%20having%20the%20same%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1413519%22%20slang%3D%22de-DE%22%3ERe%3A%20There%20was%20a%20problem%20connecting%20to%20OneDrive%20(Error%20Code%3A%200x8004en40)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1413519%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F563452%22%20target%3D%22_blank%22%3E%40AMcCain%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehello%2C%20i%20have%20exactly%20the%20same%20issue.%20tried%20everything%20but%20nothing%20helps%20to%20resolve%20this%20problem...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1420564%22%20slang%3D%22en-US%22%3ERe%3A%20There%20was%20a%20problem%20connecting%20to%20OneDrive%20(Error%20Code%3A%200x8004de40)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1420564%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F563452%22%20target%3D%22_blank%22%3E%40AMcCain%3C%2FA%3ENo%20I%20did%20not.%20Must%20be%20something%20with%20the%20PC%20itself%20as%20I%20installed%20a%20new%20PC%20at%20the%20location%20and%20it%20works%20fine%20now.%20Sorry%20I%20couldn't%20help.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Been struggling with this all day trying to get OneDrive installed and signed in for a user. Every time I get the error message in the subject line. I have tried many of the suggestions online of resetting winsock, flushdns, reset onedrive from command line and nothing seems to fix this problem for this one person. I have others I setup today and they all work fine. The error code suggests internet connection. The connection is fine and I can browse the web, open email, I can even open OneDrive online and it works fine. All apps work fine except OneDrive signing into this computer.

Any suggestions I can try. I have uninstalled the complete Office programs, rebooted and reinstalled everything. I just cannot get OneDrive to finish installing when trying to sign in the account, I get the error code and will not continue. Just a button at the bottom to "Try Again" which I have tried repeatedly.

Not sure what is wrong or why it will not sign into the OneDrive app on the computer. Like I say it works fine online.

Any help would be appreciated.

Thanks.

5 Replies

@HarleyRider Did you ever get this issue resolved?  One of my users is having the same problem.

 

Thanks.

@AMcCain 

 

hello, i have exactly the same issue. tried everything but nothing helps to resolve this problem...

@AMcCainNo I did not. Must be something with the PC itself as I installed a new PC at the location and it works fine now. Sorry I couldn't help.  

@HarleyRider 

same issue here ... tried to connect on a different pc and all worked fine... uninstalled, cleaned out regedit, no use ... 

 

Over here it did happen after I changed the email adress (domain) of the user...

hello everyone, i think i've found the reason of 0x8004de40
i used fiddler, a web debugger and find that if 0x8004de40 occurs, all https shakehand is ssl3.0 or tls1.0, while microsoft server needs TLS1.2
it might be useful if you open setting of IE, check the tls1.2 box. but this often useless. then you need a local mitm software(like fiddler) to change the certificate version, so that your onedrive could connect to the server.