0x8004def4 OneDrive Error - 6 Ways to Fix

Ensure that you have a stable and reliable internet connection

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

0x8004def4
A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Error code 0x8004def4 in OneDrive hinders the functionality of the cloud storage app.

Some of the most common reasons why this error is occurring include network connectivity issues, cache corruption, third-party software interference, and outdated versions of the OneDrive app.

Let’s check out how you can fix all of these.

What can I do to fix the 0x8004def4 OneDrive error?

First, make sure you’ve logged in with an administrator account. You must also have a stable internet connection and make sure your Windows is up to date and has enough space.

1. Restart OneDrive

  1. Right-click the OneDrive icon in the system tray and select Exit or Quit OneDrive.Quit One drive
  2. Press Ctrl + Shift + Esc to open the Task Manager.
  3. Go to the Processes or Details tab, locate OneDrive or any process related to it, and right-click it to select End task.Quit OneDrive 0x8004def4
  4. Restart your computer. Once your computer is rebooted, OneDrive will start automatically; sign in using the Microsoft Account.

2. Reset the app

  1. Press Windows + R to open the Run window.Reset app 0x8004def4
  2. Type the following command and click OK: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  3. Now OneDrive will reset and reconfigure itself.
  4. Once done, sign in with your Microsoft account when prompted and check if the error persists.

3. Reinstall the app

  1. Press the Windows key, type control panel, and click Open.Control Panel start menu 0x8004def4
  2. Select Category as View as and click Uninstall a program.CP Uninstall
  3. On the Programs and Features window, select OneDrive, and click Uninstall.OneDrive Uninstall
  4. Follow the onscreen instructions to complete the process.
  5. Download the latest version of OneDrive from the official website.
  6. Double-click the file to install the app, then sign in with your Microsoft account and check if the issue persists.

4. Check the proxy settings

  1. Press Windows + R to open the Run console.Internet settings 0x8004def4
  2. Type inetcpl.cpl and click OK to open the Internet Properties window.
  3. In the Internet Properties window, go to the Connections tab.
  4. Click LAN settings.lan SETTINGS
  5. Place a checkmark next to the Automatically detect settings option.dISABLE PROXY
  6. If you are using a proxy server, ensure that the right proxy settings are configured. Click OK to confirm the changes and reboot your PC.

5. Clear cache

  1. Locate the OneDrive icon from the system tray, right-click, and select Settings.sETTINGS  0x8004def4
  2. In the Microsoft OneDrive settings window, go to the Accounts tab.OneDrive_aCCOUNT
  3. Click Unlink this PC to temporarily disable OneDrive on your computer.
  4. Press Windows + R to open the Run console.cLEAR CACHE
  5. Type in the following command and press Enter: %localappdata%\Microsoft\OneDrive\
  6. You will be in the OneDrive folder, press Ctrl + A to select all files and click the Delete button. This will clear the cache on your PC but will not delete the files stored on the cloud.Delete the folders to clear cache
  7. Go to OneDrive settings again, click Accounts, then select Add an account.aDD AN ACCOUNT
  8. Sign in using your Microsoft account credentials.

Select the folders you want to sync, and OneDrive will start working.

6. Sync System time and date

  1. Press Windows + I to open Settings.
  2. Go to Time & Language > Date & Time.
  3. Toggle on Set time automatically and Set time zone automatically if they’re not already enabled.
  4. Restart your computer and check if OneDrive is working.

If nothing worked for you so far, you must contact OneDrive support to mitigate the error. Tell them the issue and all the troubleshooting issues so that they can help you with advanced troubleshooting methods.

If you have other sync issues with OneDrive, we advise you to read this guide to find suitable solutions.

So, these are methods you can follow to fix the 0x8004def4 OneDrive error. If you have questions or suggestions, feel free to mention them in the comments section below.

More about the topics: onedrive, windows 10, Windows 11

User forum

0 messages