It seems that after getting the Windows OS Build 1703 update, the One Drive Sign-In Error Code 0x8004de40 on Windows 10 is troubling a lot of users. Affected users are encountering this error code with a notice that says “There was a problem connecting to OneDrive. Check your Internet connection, then try again. (Error Code: 0x8004de40)”. This particular error happens whenever the application is facing some conflict or having difficulties while connecting to the Microsoft OneDrive Cloud Servers. If you’re one of the victims, make sure to check out this troubleshooting guide to fix it.

To be very precise, this OneDrive error is preventing the user access to the OneDrive application. Although mostly the internet connectivity issue can cause such problems to the Windows users, some other possible reasons can also play a major role. Such as there can be issues with the internet properties or proxy settings or Windows socket. Sometimes the Microsoft OneDrive program itself may have some issues that can be fixed by following all the possible workarounds mentioned below.

Fix: OneDrive Sign-In Error Code 0x8004de40 on Windows 10

An outdated Windows operating system can conflict with its programs and when it comes to the Cloud drive application, multiple errors may appear to the users. So, updating the Windows OS build to its latest version is necessary for a smoother user experience and to run all the programs properly. Meanwhile, if there is an issue with your internet connection, OneDrive will fail to connect to the cloud server and sync properly. Another thing we need to mention that a corrupted OneDrive installation file can also cause several issues with the OneDrive program to connect to the Microsoft servers.

1. 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.

2. Remove Temporary Files

  • Press Windows key + R on your keyboard to open the RUN program.

  • Now, type %temp% and press Enter.

  • You will get a bunch of temporary files on a page.

  • Select all files by pressing Ctrl + A on the keyboard.

  • Next, press the Shift + Delete keys on the keyboard to remove all the files.

  • Some of the temporary files can’t be deleted. Leave them.

  • Finally, try running the OneDrive app and check whether the error is happening again or not.

3. Disable Internet Proxy Settings

Disabling the Proxy settings from your Windows system will help you to fix internet connectivity-related issues from syncing OneDrive cloud storage & data.

  • 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.

4. Enable TLS Protocols

Transport Layer Security (TLS) is a widely used security protocol to offer better privacy and data security for communications over the internet. So, the TLS encryption works between the web applications and online servers. If in case, the TLS protocols are disabled on your PC/Laptop, enable it.

  • 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.

5. Reset Windows Socket (Winsock)

Still, the problem persists? Well, resetting the Windows Socket (Winsock) can fix network connectivity problems on your Windows operating system running device. To do this:

  • 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.

6. Reset OneDrive Application

Well, if none of the above methods worked for you, make sure to completely factory reset the OneDrive application instead of reinstalling the program again. Restoring the program to its default settings will definitely fix multiple issues with the cloud drive syncing or downloading or even sign-in errors.

  • 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. Enjoy!

That’s it, guys. We assume this guide was helpful to you. For further queries, you can comment below.