FIX: OneDrive Error 0x8004de40. There was a problem connecting to OneDrive. Check your Internet connection.
If OneDrive won't connect with error "There was a problem connecting to OneDrive. Check your Internet connection, then try again (Error Code: 0x8004de40)", follow the instructions on this guide to resolve the problem.
Symptom: While the Internet connection is working normally, OneDrive was unable to connect and displays one of the following errors:
- No Internet connection: It looks like you are not connected to the Internet.
- You'll need the Internet for this. It doesn't look like you're connected to the Internet.
Check your connection and try again. 0x800704cf - There was a problem connecting to OneDrive. Check your Internet connection, then try again (Error Code: 0x8004de40)
How to fix: There is not an Internet connection in Microsoft OneDrive. Error Code: 0x8004de40 or 0x800704cf.
Method 1. Quit and Reopen OneDrive
Before you proceed to more complicated methods to fix the "No Internet" error in Microsoft OneDrive, restart OneDrive and see if the problem persists.
1. Press Ctrl + Shift + Esc to open Task Manager.
2. On the Processes tab, right click at Microsoft OneDrive and select End Task to quit OneDrive.
2. Then search for the OneDrive app and open it again, to check if the problem is solved.
Method 2. Reset OneDrive Settings.
Resetting Microsoft OneDrive can help resolve sync issues by restoring all OneDrive settings to default. After the reset, OneDrive will initiate a full sync.
1. Quit OneDrive..
2. Now press Windows + R keys simultaneously on your keyboard to open the 'Run' dialogue box.
3. In the Run box, type the following command to reset OneDrive and click OK.*
- %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
* Note: If you see a "Windows cannot find…" message, try these commands:
- C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
- C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
4. When the reset is done, start OneDrive and check if the problem persists.
Method 3. Modify Proxy settings
1. Quit OneDrive.
2a. Then, navigate to Start > Settings > Network & Internet > Proxy.
2b. Under 'Automatic proxy setup', turn on Automatically detect settings* and then re-open OneDrive.
* Note: This setting it can also be modified from the Control Panel > Internet Options > Connections > LAN Settings > Automatically detect settings.
3. Now relaunch OneDrive and check if it can connect.
Method 4. Reset Internet Explorer Settings.
Sometimes OneDrive cannot connect due to invalid Internet Explorer settings. To reset these settings to default:
1a. Press the Win
+ R keys to open the Run command box.
1b. Type the below command and hit Enter (OK):
- RunDll32.exe InetCpl.cpl,ResetIEtoDefaults
2. Click Reset to reset all Internet Explorer settings.
3. When the reset is complete, reboot your PC and check if the problem persists.
Method 5. Fix OneDrive connection problem in Registry.
1a. Press the Win
+ R keys to open the Run command box.
1b. Type regedit and hit Enter (OK):
2. In Registry Editor, navigate to this path:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
3. Delete the following REG_BINARY values from the right pane:*
- DefaultConnectionSettings
- SavedLegacySettings
* Note: These values will be re-created automatically with the default values upon restart.
4. Close Registry Editor, restart your PC and then check if OneDrive is connected.
Method 6. Uninstall & Reinstall OneDrive.
The final method to fix the Microsoft OneDrive not connecting issue, is to completely reinstall the app. To do that:
1. Navigate to Start > Settings > Apps > Installed apps.
2. Find the Microsoft OneDrive app and from the three dots
menu select Uninstall.
3. When the uninstall is complete, restart your PC.
4. Then, download and re-install the latest version of OneDrive.
5. Finally, after the installation, sign-in with your Microsoft Account to OneDrive to start syncing your files.
That's it! Which method worked for you?
Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
Frequently Asked Questions
What should I do if I get the error code 0x8004de40 from OneDrive?
First, try quitting and reopening OneDrive. If the issue persists, follow additional methods like resetting OneDrive settings, modifying proxy settings, resetting Internet Explorer settings, fixing the registry connection problem, or reinstalling OneDrive.
How can I reset OneDrive settings to fix connection issues?
To reset OneDrive settings, first quit OneDrive. Then, press Windows + R to open the 'Run' dialogue box, type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset', and click OK. If you encounter a 'Windows cannot find' message, try alternative paths provided in the guide.
Is modifying proxy settings a solution for OneDrive connection issues?
Yes, modifying proxy settings can help. Quit OneDrive, navigate to Start > Settings > Network & Internet > Proxy, and turn on 'Automatically detect settings'. Reopen OneDrive to see if the problem is resolved.
How do I fix OneDrive connection problems using the Registry method?
Open the Run command box with Win + R, type 'regedit' and press Enter. Navigate to 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections' in the Registry Editor and delete the 'DefaultConnectionSettings' and 'SavedLegacySettings' entries. After closing Registry Editor, restart your PC and check OneDrive.
- How to Effectively Remove or Disable Microsoft Copilot on Windows 11. - May 11, 2026
- FIX: Device encryption is temporarily suspended and does not resume after the computer restarts (Windows 11). - May 5, 2026
- How to Install Chrome or any 'Line of Business' app on Intune Enrolled Windows Devices. - April 29, 2026


March 30, 2026 @ 11:42 pm
Deleting the registry values fixed it for me (or at least a combination of trying all the steps above which failed, then doing the registry fix. Don't know if the last step (uninstall / reinstall) would have worked. I did not see the Registry fix anywhere else! You are truly a life saver.
October 18, 2025 @ 5:52 pm
Uninstalling/reinstalling was the only step that worked for me – thanks for the tip!!