After getting the Windows OS update, the One Drive Sign-In Error Code 0x8004de40 on Windows 11/10 is troubling many 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 faces conflict or difficulties 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 precise, this OneDrive error prevents the user access to the OneDrive application. Although mostly the internet connectivity issue can cause such problems to Windows users, some other possible reasons can also play a major role. Such as there can be issues with the internet properties, 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 11/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 connecting 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.





