How to Fix OneDrive Business Sign-In Error 0x8004de40 on Windows 10
Question details
The user is unable to sign in to a OneDrive Business account on a Windows 10 computer, receiving error code 0x8004de40, despite personal accounts working fine.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 10
- Scenario
- Adding and signing into a OneDrive Business account after performing a Windows 10 system reset.
- Observed behavior
- A personal OneDrive account signs in correctly, but adding a business account fails with error code 0x8004de40, even though another PC on the same network connects without any problems.
Ensure you have administrator privileges on your Windows 10 machine to edit the registry and that your internet connection is stable, as error 0x8004de40 indicates a connectivity or configuration blockage.
Reset Registry and Clean Install OneDrive
Clear corrupted configuration files from the Windows Registry and reinstall the latest Production Ring version of OneDrive.
This error often occurs when residual or corrupted cached credentials remain in the registry after a Windows reset. Completely removing these entries forces OneDrive to create fresh connection profiles for your Business account.
Open the Windows Settings menu by pressing Win + I. Navigate to 'Apps', search for 'Microsoft OneDrive' in the application list, and click 'Uninstall'.
Press Win + R to open the Run dialog, type 'regedit', and press Enter to open the Registry Editor. Navigate to the path: HKEY_CURRENT_USER\Software\Microsoft\OneDrive. Right-click the 'OneDrive' folder in the left pane and select 'Delete'.
Visit the official Microsoft OneDrive download page and download the latest Production Ring installer. Run the installer and complete the setup process.
Open OneDrive and sign in with your Business credentials. When prompted to select a sync folder location, choose your existing OneDrive folder. A prompt will appear stating the folder already contains data; click 'Use this folder' to confirm.

Switch to WPS Office for Seamless Cloud Integration
Tired of encountering complicated Microsoft OneDrive sync issues and registry errors? WPS Office provides a highly compatible, fast, and free alternative with its own built-in cloud ecosystem, ensuring your business documents are always safe without complex configurations.

Frequently Asked Questions
What does OneDrive error code 0x8004de40 mean?
Error 0x8004de40 signifies that the OneDrive application is experiencing difficulties connecting to the cloud. While it can be caused by network instability, it often occurs after system resets due to corrupted authentication configurations in the registry.
Will I lose my files if I uninstall OneDrive and delete the registry key?
No. Uninstalling the OneDrive app and deleting the registry configuration does not delete your locally saved files or the data stored in the cloud. Upon reinstallation, you simply point OneDrive back to your existing folder.
Can I use the Microsoft EasyFix tool to resolve this error?
The Microsoft EasyFix tool is largely deprecated and is not applicable or effective on modern Windows 10 environments for this specific error. The manual registry deletion and reinstallation method is the recommended approach.
Why does my personal OneDrive work but my business account shows this error?
Personal and Business accounts use different authentication protocols and cached credentials. Corrupted registry entries specifically tied to enterprise Single Sign-On or Azure AD can prevent the business account from connecting while the personal account remains unaffected.




