FIX: OneDrive error code 0x8004ded7 on Windows 10/11

Vladimir Popescu
by Vladimir Popescu
Managing Editor
Being an artist his entire life while also playing handball at a professional level, Vladimir has also developed a passion for all things computer-related. With an innate fascination for research and analysis, and realizing... Read more
Affiliate Disclosure
  • Seeing the error 0x8004ded7 means that you won't be able to log into your account and that you will not be able to access your files.
  • Updating your OneDrive app, allowing it through the firewall, and resetting it, are some of the methods you can try.
  • For more useful fixes, you can visit our dedicated OneDrive Troubleshooting Hub.
  • You can also bookmark our specialized Windows Fix section.
OneDrive error 0x08004deb2

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

For some users, encountering error messages in OneDrive seems to be the norm. Even though this app is regarded as one of the best cloud storage and file-sharing application available, it is prone to encounter errors.

Here is what one user had to say about this issue on the Microsoft Answers forums:

Please help me, My One Drive cannot log in, when i log in error code 0x8004ded7. Thanks

error 0x8004ded7 - OneDrive error screenshot


Fortunately for you, because we understand how important it is to be able to access your files on OneDrive freely, we have compiled a simple troubleshooting guide.

This guide will show you the least invasive options at the start of the list, and we will gradually work our way towards the methods that are somewhat risky.

It is very important that you follow the steps described here closely to avoid any other problems from appearing.

How can I solve the 0x8004ded7 error code in OneDrive?

1. Update your OneDrive app to the latest version

  1. Right-click the OneDrive cloud icon found in your taskbar.
  2. Choose Settings -> Information.OneDrive settings - OneDrive 0x8004ded7
  3. Click the version number link.
  4. This will open up a webpage in your default browser software, and the OneDrive download page will appear.
  5. Download the latest version, open it , and then follow the on-screen instructions to complete the setup.
  6. Check to see if the issue persists, and if it does, follow the next method.

2. Make sure no firewall or antivirus program is blocking access

Temporarily disable the Windows Firewall:

  1. Press the Win+R keys on your keyboard, type ‘control‘ and press Enter.
  2. Inside the Control Panel and click on System and Security (in category view).System and Security option - OneDrive error 0x8004ded7
  3. Select the Windows Firewall option.
  4. Click the link Turn Windows Firewall on or off.
  5. Select the bubble from the Turn Off Windows Firewall (not recommended) option.
  6. Click the Ok button to apply the settings.
  7. Check to see if this method has any effect on your OneDrive app error.

Note: If you find that your OneDrive app works properly after applying these steps, add OneDrive to the Windows Firewall whitelist settings.

Add OneDrive to your antivirus software allowed apps list:

As we all know, the required steps for this method will vary depending on the software you’re using to protect your PC from online threats.

You can search for the specific steps to achieve this by doing a Google search with the terms ”*your antivirus name* how to whitelist app”, or ”how to disable *your antivirus name*”, followed by the version of Windows that you’re using.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

After you’ve performed the specific steps described in the google search you performed, it is recommended that you check if your OneDrive is working properly, and then re-activate your antivirus software.

Windows Firewall can’t change some of your settings in Windows 10?

3. Reset the OneDrive app

  1. Press the Win+R keys to open the Run dialog box.
  2. Copy-paste this command inside the dialog box: %localappdata%MicrosoftOneDriveonedrive.exe /resetRun dialog box with reset command - OneDrive error 0x8004ded7
  3. Press the Enter key to run it.
  4. Wait for 30 seconds.
  5. Restart your PC.
  6. Open OneDrive again and check to see if the problem persists.

4. Uninstall and re-install the OneDrive application

To uninstall:

  1. Press Win+X keys  -> select the option Windows PowerShell(Admin).
  2. Copy-paste this command and press Enter to run it: taskkill /f /im OneDrive.exeClose OneDrive command PowerShell - OneDrive error 0x8004ded7
  3. Depending on what version of Windows you’re using -> copy-paste and run the following commands inside PowerShell:
  • 64-bit version: %systemroot%SysWOW64OneDriveSetup.exe /uninstall
  • 32-bit version:%systemroot%System32OneDriveSetup.exe /uninstall

To re-install:

  1. Press Win+X keys -> open Windows PowerShell(admin) or CommandPrompt(admin).
  2. Type the appropriate command inside PowerShell, depending on the configuration of Windows that you have:
  • 64-bit version: %systemroot%SysWOW64OneDriveSetup.exe
  • 32-bit  version: %systemroot%System32OneDriveSetup.exe

Note: After the installation process and the setup of your OneDrive app is completed,  check to see if the error still appears.

5. Submit a report using the Microsoft Feedback Hub


If the methods we presented above didn’t solve the OneDrive 0x8004ded7 error code, submit a report to Microsoft for more in-depth help.

  1. Press Win+X keys -> select Settings.
  2. Click the Privacy tab from the left-side menu.
  3. Select Diagnostics and Feedback.
  4. Change the setting to Full by ticking the bubble next to the option.
  5. After applying the settings from above, click the Report a problem button -> give as many details as possible regarding your issue with OneDrive (screenshots, error codes, the steps you’ve already tried to solve the issue, your Windows and OneDrive app versions, etc.)

Note: If you don’t want Microsoft to gather data about your PC after the report is completed, don’t forget to set the Diagnostic and Feedback setting back to Basic.

We hope that this guide has managed to help you solve the OneDrive 0x8004ded7 error message and that you’re able to use the app as it was intended to.

If you want to share your experience with us, don’t hesitate to leave a comment in the section found below this article.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • It is possible that your OneDrive stopped syncing your files because of your antivirus or Windows Firewall is stopping the app from properly accessing the servers.

  • In case you want to make sure that your files are backed up, you can simply click the cloud icon inside your system tray and choose Sync.

  • The impact OneDrive has on your system’s speed is in most cases not something you should worry about. The app is designed to run in the background with minimal impact, and will only affect the speed on very old PCs.

This article covers:Topics: