How to Fix OneDrive Error 0x8004de40

Quick answer
OneDrive error 0x8004de40 means OneDrive cannot connect to the cloud. Check your internet, turn off proxy settings, enable TLS 1.2 and reset OneDrive.
What does “0x8004de40” mean?
The OneDrive app had a problem connecting to Microsoft's servers while signing in or syncing.
What causes it?
- Weak internet
- Proxy settings
- TLS disabled in Internet Options
- Corrupted OneDrive settings
Steps to try
Stop when the issue is resolved.
- Check that other sites load.
- Settings → Network & internet → Proxy → turn off manual proxy.
- Internet Options → Advanced → tick Use TLS 1.2.
- Reset OneDrive: press Win + R and run: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
- Start OneDrive again and sign in.
Need more support? Check the official help: Microsoft Support
FAQs
Does resetting OneDrive delete files?
No. It re-syncs files; nothing is deleted from the cloud.
What if the reset command fails?
Try: C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
By Jordan Kim
·