How to Troubleshoot: OneDrive Login Error Code 0x8004de40 on Windows 10

The Microsoft community is actively discussing the OneDrive error code 0x8004de40, which reads, “There was a problem connecting to OneDrive. Check your Internet connection and try again.”

Updating your Internet connection is the first maintenance action you should try. If you’re using an Ethernet cable, unplug it and plug it back in. For Wi-Fi, try disconnecting the modem and see if that helps.

Unfortunately, it doesn’t look like the error code 0x8004de40 is related to the Internet itself. According to users who have encountered this error, everything else (Outlook, Edge, Chrome, Store, etc.) works except the OneDrive app.

What causes OneDrive connection error code 0x8004de40?

Outdated Windows: Microsoft servers act as the hub for the cloud (OneDrive) and the operating system itself (Windows). If you have missed the latest updates from Microsoft, the OneDrive application may have trouble connecting to the updated Microsoft servers, eventually causing the error in question.

Incorrect Internet settings: Some Internet security protocols allow you to set up encryption channels on your computer network. If these protocols are disabled or improperly configured, the OneDrive client may not work properly, resulting in the error in question.

Internet connection: Most applications require a stable and fast Internet connection to function properly, and Microsoft OneDrive is one of those applications. If there are problems with your Internet connection, OneDrive won’t be able to connect to the cloud and will display an error code like the one described here. If all other web applications work fine on your computer when connected to the Internet, the cause of this error may be different.

Incorrect OneDrive installation: Error messages when installing some apps are not clear enough for users. Users don’t get any warning messages when some files in a particular app are corrupted, resulting in errors. After that, the OneDrive app stops working properly, i.e. OneDrive can no longer connect to Microsoft servers and you can no longer log in to your Microsoft account.

How to resolve the OneDrive connection error code 0x8004de40?

Changing the Internet properties

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

  1. Press the Windows + R key combination to open Run.
  2. Type inetcpl.cpl and click OK to open the Internet Properties window.
  3. In the Internet Properties window, open the Advanced tab.
  4. Under Settings, scroll down to find the following options, and select the appropriate checkboxes: Use TLS 1.0,
  5. Use TLS 1.1, Use TLS 1.2.
  6. Click Apply and OK to save your changes.

Resetting OneDrive client settings

  1. Click Start and select Settings.
  2. Click on Applications.
  3. Select Applications and Features.
  4. Find OneDrive and select it.
  5. Click Advanced Settings.
  6. Scroll down to the OneDrive Advanced Settings window and tap Exit.
  7. Scroll down again and press Reset.
  8. Click Reset to confirm the action.
  9. Close the Windows Settings window, restart OneDrive, and see if anything has improved.

Configuring Internet Proxy Settings

Proxy servers allow you to bypass some of your Internet service provider’s restrictions, and some companies use them to securely connect to your network.

  1. Press Windows + R to open Run.
  2. Type inetcpl.cpl and click OK to open the Internet Properties window.
  3. In the Internet Properties window, click the Connection tab.
  4. Click Local network settings.
  5. Under LAN Settings, uncheck the Use a proxy server for your local network option.
  6. Then turn on the Automatically detect settings option.
  7. Click Apply and OK to save your changes.

Frequently Asked Questions

  1. Exit OneDrive (right-click on the taskbar).
  2. Go to Control Panel -> User Accounts -> Certificate Manager.
  3. Click on Windows Credentials (right).
  4. Select the down arrow to the right of "OneDrive Cached Credential.
  5. Select "Edit" and enter your OneDrive user name (Microsoft account) and password.

  1. Check your Internet connection.
  2. Change your Internet properties.
  3. Disable proxy server settings.
  4. Reset Windows socket (Winsock).
  5. Reboot OneDrive.

Error code 0x8004de40 indicates that OneDrive is experiencing problems connecting to the cloud.

According to Microsoft, error code 0x8004de40 in OneDrive means that the application is experiencing problems connecting to the cloud. And the main reason for this problem is a poor or unstable internet connection. Another way to check if your Internet connection is working properly is to launch a web browser and open some web pages.