ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10

How to fix
OneDrive error code 0x8004de45
on Windows

Resolve OneDrive error code 0x8004de45 on Windows 10 or 11 effortlessly. Get back to syncing with expert-tested solutions and clear guidance.

How to fix OneDrive error code 0x8004de45 in Windows?
Quick Summary
Error severity
Medium
Est. time
5 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix OneDrive error code 0x8004de45 in Windows?

  • Older versions of software
  • Incorrect account information
  • Problems with cached account credentials
  • Conflicts with other apps
  • Settings altered by updates
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello. I can no longer log in to OneDrive on my second PC and it's getting really frustrating since I need it for my job. At first, when I try to log in, it seems like it's doing something (the loading icon is there) but then after a while - sometimes I leave it for up to 5 minutes - it produces an error code 0x8004de45. Can you help?

OneDrive is a cloud storage service provided by Microsoft, enabling users to store and access files across devices seamlessly. Built within Windows, OneDrive is designed to let files and folders be accessible across any device through syncing. However, errors do come up that restrict such syncing, and one of the virtual errors is 0x8004de45.

This error, in general, involves problems with the user's account or with the settings of OneDrive, which block the user from signing into OneDrive or syncing files as such.

The OneDrive error code 0x8004de45 usually occurs when OneDrive is not able to verify your Microsoft account for several reasons that may cause it. Common causes might include older versions of software, incorrect account information, problems with cached account credentials, or conflicts with other apps.

A few times, some of the users have mentioned that after updates in Windows or OneDrive, it might have altered the settings or brought bugs that actually disrupt the connections of accounts.

Several solutions are possible for error code 0x8004de45 - starting with the very basic ones such as verification of the account credentials and checking if OneDrive is up-to-date to other advanced fixes like updating Windows or adjusting certain registry entries, up to reinstalling OneDrive in case the problem does not want to be resolved.

You can run the [d1] repair tool, which will automatically find and then fix many of the underlying Windows problems that could be the cause of OneDrive failing to work and get your app up and running smoothly once again.

How to fix onedrive error code 0x8004de45 in windows copy
How to fix onedrive error code 0x8004de45 in windows copy

Fix 1. Verify your Microsoft account credentials

OneDrive may fail to sign in if your Microsoft account credentials are incorrect or have been recently changed. Verifying your login information ensures that OneDrive can authenticate successfully.

  • Open OneDrive, and select Help & Settings.
  • Choose Settings, then go to the Account tab.
  • Sign out and then sign back in with your updated credentials.
  • Restart OneDrive and check if the error is resolved.

Fix 2. Update OneDrive and Windows

Outdated versions of OneDrive can cause compatibility issues. Ensuring that you’re using the latest version can fix bugs and improve stability.

  • Open the OneDrive app on your PC.
  • Click on the Help & Settings icon in the notification area.
  • Select Settings.
  • In the settings menu, go to the About tab.
  • Click on the OneDrive version - this should open the browser and the release notes from Microsoft.
  • If the latest version listed there matches with the one on your app, you are up to date.
  • If the version does not match, simply click on Download OneDrive for Windows, follow the installation instructions and it will install the latest version on your device.

Update Windows as follows:

  • Type Updates in Windows search and press Enter.
  • Here, click Check for updates.
  • Wait till Windows downloads and installs all the files.
  • If optional updates are available, install them as well.
  • Reboot your device.

How to fix onedrive error code 0x8004de45 in windows install updates
How to fix onedrive error code 0x8004de45 in windows install updates

Fix 3. Check your internet connection

A stable internet connection is necessary for OneDrive to authenticate and sync files.

  • Type Troubleshoot into the Windows search bar and press Enter.
  • Next, on the right side of the window, select Additional troubleshooters/Other troubleshooters.
  • Scroll down to locate the Windows Store apps option and click on it.
  • Click on Run the troubleshooter/Run and allow the process to complete.
  • Repeat this process with Network troubleshooter.

How to fix onedrive error code 0x8004de45 in windows network troubleshooter
How to fix onedrive error code 0x8004de45 in windows network troubleshooter

To run Network troubleshooter in Windows 10, follow these steps:

  • Right-click on Start and pick Settings.
  • Go to the Network & Internet section.
  • On the right side, find the Advanced network settings section.
  • Click Network troubleshooter and wait.
  • The fixes will be automatically applied.

Fix 4. Disable any firewall or antivirus temporarily

Sometimes, firewall or antivirus programs can interfere with OneDrive’s connection. Temporarily disabling them can help identify if they’re causing the error.

  • Open the Control Panel, go to System and Security, then Windows Defender Firewall.
  • Click Allow an app or feature through Windows Defender Firewall.
  • Click Change settings (you might need administrator permission).
  • Ensure OneDrive is allowed for Private and Public networks.
  • Click OK after enabling it.

Fix 5. Reset OneDrive

Resetting OneDrive can clear errors and restore it to default settings without affecting your stored files.

  • Press Win + R on your keyboard.
  • When the Run window opens, copy and paste the following text into it:
    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
    (Note: you might get an error here. In that case, use %programfiles(x86)%\Microsoft OneDrive\onedrive.exe /reset or C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset instead)
  • Press Enter or click OK.
  • After this command is executed, the app should be reset, and OneDrive should open.
  • If it doesn't, wait a few minutes, then open the Run window again and use the following command:
    %localappdata%\Microsoft\OneDrive\onedrive.exe
  • Press Enter.

How to fix onedrive error code 0x8004de45 in windows reset onedrive copy
How to fix onedrive error code 0x8004de45 in windows reset onedrive copy

Fix 6. Delete stored credentials

OneDrive stores credentials in the Windows Credential Manager, and clearing them can resolve authentication issues.

  • Close OneDrive.
  • Type Control Panel in Windows search and press Enter.
  • Go to User Accounts > Credential Manager.
  • Go to the Windows Credentials section.
  • Scroll down to the Generic Credentials section.
  • Remove all OneDrive credentials as required.
  • Sign in again.

How to fix onedrive error code 0x8004de45 in windows credentials copy
How to fix onedrive error code 0x8004de45 in windows credentials copy

Fix 7. Reinstall OneDrive

If the error persists, reinstalling OneDrive can resolve deep-rooted issues. This will remove and replace OneDrive’s files without affecting your online data.

  • Right-click on Start and pick Apps and Features/Installed apps.
  • Scroll down and find Microsoft OneDrive.
  • Click Uninstall and follow the prompts to remove the app.
  • Next, open File Explorer and make sure Hidden items are visible.
  • Navigate to the following locations and delete all contents from OneDrive folders located in the following directories (replace USERNAME with your username):
    C:\Users\USERNAME\AppData\Local\
    C:\Users\USERNAME\AppData\Local\Temp
    C:\Users\USERNAME\AppData\LocalLow\Temp
    C:\Windows\Temp
  • Restart your PC.
  • Once rebooted, open your browser and go to the official Microsoft site to download OneDrive.

How to fix onedrive error code 0x8004de45 in windows reinstall onedrive copy
How to fix onedrive error code 0x8004de45 in windows reinstall onedrive copy

Bottom line

To fix OneDrive error code 0x8004de45, start by verifying your Microsoft account credentials and ensuring OneDrive is up-to-date. If the issue persists, consider updating Windows, adjusting registry entries, or reinstalling OneDrive. If none of these solutions work, you may want to run the repair tool to fix underlying Windows problems.

Frequently asked questions

The error code 0x8004de45 typically indicates a connectivity issue with OneDrive, preventing it from syncing your files properly on Windows 10 or Windows 11.

To fix this error, try resetting OneDrive by pressing Win + R, typing 'onedrive.exe /reset', and then restarting the application.

Yes, you can check your internet connection by opening a web browser and visiting any website; if it doesn't load, you may need to troubleshoot your network settings.

Did this fix work for you?
Olivia Morelli

Written & verified by

Windows Systems Expert
Windows error repair BSOD troubleshooting System file corruption Registry repair Windows Update failures

Olivia Morelli is a Windows systems expert specialising in diagnosing and repairing OS-level errors. She has spent nearly a decade writing guides that help everyday users recover from BSODs, corrupt system files, broken Windows installations, and failed update rollouts. Her methodical troubleshooting approach — starting with built-in tools before escalating to manual repairs — reflects years of practical experience supporting users across Windows 7, 8, 10 and 11. Olivia's guides are known for their clarity, completeness, and the care she takes to explain not just the fix but why the problem occurred.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →