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



Updated December 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

After updating Windows from build 1703, Windows 10 detects disk error 0x8004de40, which is reported by many users. Users will see this error code along with the message: “There was a problem when logging into OneDrive” with the option to “Retry”. This error indicates that the app is malfunctioning or has problems connecting to Microsoft’s cloud servers. Eventually, users’ access to the app is restricted and blocked. In most cases, connectivity problems in apps are the result of an unstable Internet connection. However, in this case, any other app with an Internet connection works fine, with the exception of OneDrive. The error notification looks like this:

Change Internet properties

Internet Explorer internet options
  • Press the Windows + R key to open Run.
  • Type inetcpl.cpl and click OK to open the Internet Properties window.
  • In the Internet Properties window, open the Advanced tab.
  • Under Settings, scroll down, find the following options, and check the appropriate checkboxes:
  • Use TLS 1.0.
  • Use TLS 1.1
  • Use TLS 1.2
  • Click Apply and OK to save your changes.

December 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

TLS 1.0 and above is a security protocol that allows you to configure encryption channels on your computer network. Your OneDrive client may not work properly if these protocols are disabled.

Configure Internet proxy settings

  • Press the Windows + R key to open Run.
  • Type inetcpl.cpl and click OK to open the Internet Properties window.
  • In the Internet Properties window, open the Connection tab.
  • Click Local network settings.
  • In your local network settings, disable the “Use a proxy server for your local network” option.
  • Then activate the “Automatically detect settings” option.
  • Click Apply and OK to save your changes.

Reset Winsock directory

Several people have noticed that OneDrive error 0x8004de40 is followed by an NVIDIA GeForce Experience Internet connection error. If you notice that other programs are having connection issues, try the following command:

  • Right-click the Windows key and select Command Prompt (administrator).
  • Type the command netsh winsock reset catalog and press Enter.
  • Now close the command prompt and restart your computer.

If the error persists after using these methods, we recommend installing the latest Windows updates. Although Microsoft does not currently talk about the error 0x8004de40, it does collect information about the latest bugs and will fix all, or at least most, of them with the next patch update.

Resetting the OneDrive app

As mentioned in the causes, a corrupted OneDrive installation causes a OneDrive error with code 0x8004de40. Damaged application files cause crashes that not only prevent the application from being distributed, but can also damage your operating system files. Our researchers recommend resetting the OneDrive app to its default state and fixing changes made by the user, the app, or the system itself. This has proven to be a useful solution for many online users. To properly reset the OneDrive app, follow these steps:

  • Press Windows + R on your keyboard at the same time. A “Run Command” dialog box opens. You can use it to open files and folders, run programs, and access Internet resources in Windows.
  • Copy the following command into the search bar and press Enter on your keyboard. This will quickly reset the OneDrive app and return it to its default state.
  • % localappdata% \ Microsoft \ OneDrive \ onedrive.exe / reset
  • Reboot your computer. This allows Windows to process and apply all of the most recent settings made to the system.
  • Open the OneDrive app and log in now. At this point, your problem is finally solved.

If you’re having trouble using or logging into the OneDrive app on your Windows computer because of connection error code 0x8004de40, one of the troubleshooting methods described above may help you solve the problem. If there are other problems with OneDrive that you need help with, we have some OneDrive guides that may help. Check it out.



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Scroll to Top