Table of Contents
You’re not the only one who has encountered the dreaded “There was a difficulty ‘OneDrive Error Code 0x8004de40’ issue. This problem has been reported by many customers, especially those who experience connectivity issues. This issue can be brought on by a number of things, including a bad internet connection, unreliable antivirus software, and various internet connection settings.
It is frustrating to get a Microsoft OneDrive 0x8004de40 issue when uploading and using critical computer files. So there’s no need to freak out. You may quickly resolve this issue using the methods we’ve mentioned below to get your Windows machine back up and running. You can also go to the official Microsoft support site for more information about this error.
OneDrive is undoubtedly among the greatest backup and cloud storage options for Windows desktop computers. Its capabilities are endless, and both setting it up and using it are simple. You could experience some hiccups when using it. One such illustration is the ‘OneDrive Error Code 0x8004de40’ Issue, which denotes that the OneDrive programme is having some connectivity problems.
Ways to Fix ‘OneDrive Error Code 0x8004de40’ Issue In Windows 11
Remove Temporary Files
- To start the RUN software, press the Windows key and R on your computer.
- Type %temp% now and hit Enter.
- You’ll see a page with a lot of temporary files.
- By hitting the keyboard keys Ctrl + A, all files are selected.
- To remove all the files, use Shift + Delete on the keyboard.
- There are some transient files that cannot be removed. Let them be.
- Last but not least, try starting the OneDrive app and see if the problem reappears or not.
Enable TLS Protocols

The security protocol known as Transport Layer Security (TLS) is frequently used to provide improved data confidentiality and privacy for internet connections. TLS encryption therefore functions between web apps and online servers. Enable the TLS protocols on your computer or laptop if necessary.
- Press Windows key + R on your keyboard to open the RUN program.
- Now, type inetcpl.cpl and press Enter.
- Go to the Advanced tab > Enable all three TLS protocols by check-marking the box for TLS 1.0, TLS 1.1, and TLS 1.2 options.
- Click on Apply and then OK to save changes.
- Restart your computer > Open the OneDrive app and check for the Sign-In Error Code 0x8004de40 whether it’s happening again or not.
Disable Internet Proxy Settings
You can resolve internet connectivity-related problems with OneDrive cloud storage & data sync by disabling the Proxy settings on your Windows PC.
- Click on the Start Menu > Type Internet Options and click on it from the search result.
- Go to the Connections tab > Click on LAN settings from the bottom of the window.
- Local Area Network (LAN) Settings window will open.
- Now, checkmark the Automatically detect settings box to enable it.
- Uncheck the Use a proxy server for your LAN under the Proxy server option to disable it.
- Click on OK and close the window.
- Finally, restart your computer and check for the error again.
Update Windows Build
- Go to Start menu > Click on Settings.
- Next, go to Update & Security.
- From the Windows Update section, click on Check for updates.
- If there is an update available, click on Download and Install.
- Wait for the process to get completed.
- Once done, restart your computer to check if the OneDrive sign-in error is fixed or not.
Reset OneDrive Application
If none of the aforementioned fixes were successful for you, make sure to totally factory reset the OneDrive application rather than reinstalling it. Problems with the cloud drive syncing, downloading, or even sign-in will all be resolved by returning the software to its default settings.
- Press Windows key + R on your keyboard to open the RUN dialog box.
- Now, type the following path and press Enter to quickly reset the OneDrive app.
%localappdata%\Microsoft\OneDrive\onedrive.exe/reset
- Once done, close the RUN dialog box.
- Reboot your computer.
- Now, do the same steps to open the Run dialog box again and type the following path & hit Enter to quickly open the OneDrive app again:
%localappdata%\Microsoft\OneDrive\onedrive.exe
- You’re done.
Reset Windows Socket
However, the issue continues? On a device running the Windows operating system, restarting the Windows Socket (Winsock) can resolve network connectivity issues. How to do it:
- Click on the Start Menu > Type cmd to search for the Command Prompt.
- Now, select Run as administrator for the Command Prompt program.
- If prompted by UAC, click on Yes to allow the permission.
- Once the command prompt window appears, type the following command and hit Enter:
netsh winsock reset catalog
- This will execute the command and reset the Winsock completely from your PC/Laptop.
- Once done, close the command prompt window > Restart your computer.
FAQ
What does OneDrive error code 0x8004de86 mean?
You won’t be able to access your account until the problem is fixed if you encounter the OneDrive error number 0x8004de86. The Office suite appears to be installed elsewhere on your computer, which may be the source of the error 0x8004de86, or there may be a problem with the credentials being used.
How do I Reset my OneDrive client?
Restart the OneDrive application. Open the Settings app by pressing Windows + I, then select Applications. Click on OneDrive under Apps and Features. Scroll down and click on Terminate in the OneDrive advanced options window after clicking on Advanced Options. Once again scrolling down, click Reset, and then click it again to confirm.
What do the OneDrive error codes mean?
Basically, the “There was a problem connecting to OneDrive 0x8004de40” error means that there are some connectivity problems with the OneDrive app. Antivirus software or proxies are also the main causes of this problem, therefore you should check and adjust certain Internet settings if your OneDrive app displays it. If this issue occurs, it is most likely the result of a weak or malfunctioning Internet connection.
How do I Reset my OneDrive client?
Restart the OneDrive application. Open the Settings app by pressing Windows + I, then select Applications. Click on OneDrive under Apps and Features. Scroll down and click on Terminate in the OneDrive advanced options window after clicking on Advanced Options. Once again scrolling down, click Reset, and then click it again to confirm.