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

  • Microsoft community is actively discussing the OneDrive error code 0x8004de40.
  • The error code reads, “There was a problem connecting to OneDrive.
  • Check your Internet connection and try again.” Some Internet security protocols allow you to set up encryption channels on your computer network.
  • If these protocols are disabled or improperly configured, your OneDrive client may not work properly, resulting in the error in question.

Updated February 2024This tool will stop these errors and fix common problems: Get it at this link
  1. Download and install the software.
  2. It will scan your computer to find problems.
  3. The tool will then correct the issues that were discovered.


The error code 0X8004e4f1 prevents users from syncing Document Libraries with SharePoint On-Prem.

It has been discussed extensively in the Microsoft community that OneDrive error code 0x8004de40 is causing problems connecting to the storage service. Check your internet connection and try again.

It is a good idea to update your Internet connection first. Unplug your Ethernet cable and reconnect it. Disconnect the modem if you’re using Wi-Fi and see if that works.

Despite users reporting that the OneDrive app does not work, everything else (Outlook, Edge, Chrome, Store, etc.) does not appear to be affected by the error code 0x8004de40.

What causes OneDrive connection error code 0x8004de40?

Onedrive No Network Connection

It is typically possible to open some of your major settings by swiping downward or upward from the top or bottom of your smartphone screen. Disable the Wi-Fi by tapping on the Wi-Fi icon. Microsoft was able to handle the error and I was able to add the account.

      OneDrive Can’t sign in. Error 0x8004de40: If you’ve tried logging in again, a problem probably occurred. Please try again.

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.

Onedrive 0x8004def4

Approximately 5 seconds after launching my OneDrive app, I was experiencing a 0x8004def4 error.

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.

As a result, you may have to re-enter your login credentials and reconfigure your preferences to fix the OneDrive error code 0x8004de40. However, resetting the app does not require you to reenter your login credentials.

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?

Updated: February 2024

We highly recommend that you use this tool for your error. Furthermore, this tool detects and removes common computer errors, protects you from loss of files, malware, and hardware failures, and optimizes your device for maximum performance. This software will help you fix your PC problems and prevent others from happening again:

  • Step 1 : Install PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista).
  • Step 2 : Click Start Scan to find out what issues are causing PC problems.
  • Step 3 : Click on Repair All to correct all issues.


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. You can open Run by pressing the Windows key and R at the same time.
  2. A window called Internet Properties will appear after you type inetcpl.cpl and click OK.
  3. The Advanced tab can be found in the Internet Properties window.
  4. You can use TLS 1.0 by selecting the appropriate checkboxes under Settings: Use TLS 1.0, Encrypt data using TLS 1.0, etc.
  5. Make sure you are using TLS1.1 or TLS1.2.
  6. After you make your changes, click OK and Apply.

Resetting OneDrive client settings

  1. Go to Settings by clicking Start.
  2. Select Applications from the menu.
  3. You can select applications and features from the list.
  4. Select OneDrive from the list.
  5. To set advanced settings, click Advanced.
  6. You can exit OneDrive Advanced Settings by scrolling down to the bottom of the window.
  7. Press Reset once more after scrolling down.
  8. To confirm, click Reset.
  9. See if any improvements have been made after closing the Windows Settings window and restarting OneDrive.

Configuring Internet Proxy Settings

In some cases, proxy servers can provide secure connections to your network, which can bypass restrictions imposed by your Internet provider.

  1. Run can be opened by pressing Windows + R.
  2. A window called Internet Properties will appear after you type inetcpl.cpl and click OK.
  3. The Connection tab can be found under Internet Properties.
  4. You can find local network settings by clicking here.
  5. You can disable the proxy server option under Local Area Network Settings.
  6. If you want the option to automatically detect settings to be enabled, turn it on.
  7. After you make your changes, click OK and Apply.

RECOMMENATION: Click here for help with Windows errors.

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.

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog,, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.