How to fix
OneDrive error 0x8004da9a
on Windows
Resolve OneDrive error 0x8004da9a on Windows 10 or 11 effortlessly. Follow our expert-tested solutions for a hassle-free fix in minutes.
What causes How to fix OneDrive error 0x8004da9a in Windows?
- Temporary problems in network connectivity
- OneDrive failing to connect to Microsoft servers
- Issues in the authentication of accounts
- Problems with settings related to the Microsoft account
- Corrupted system files
- Outdated version of the OneDrive client
Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.
Hi, I have an issue with logging in to OneDrive. The error code is 0x8004da9a. Is there something that can be done? I need to use it for my work.
OneDrive is one of the most used cloud storage on Windows that can sync your files across all of your devices seamlessly. However, like any other software, sometimes OneDrive develops certain errors that disturb its normal functioning.
Among these, the common issue faced by users in Windows is error 0x8004da9a. The error mainly occurs when users try to sign in or sync files with OneDrive, which blocks users who want to access data on the cloud.
Error 0x8004da9a in OneDrive tends to happen at the point of login or during the process of syncing, with messages that indicate a problem while trying to connect to OneDrive or with an issue pertaining to the user account.
This can be pretty frustrating since it interferes with the smooth operation of the synchronization function important in keeping files updated and accessible across devices. Users have reported that either OneDrive does not sync files at all or appears to stay in a hanging state, attempting to connect but never quite succeeding.
Several factors can contribute to the generation of the 0x8004da9a error. These stem from temporary problems in network connectivity to OneDrive failing to connect to Microsoft servers. Sometimes, this may be due to issues in the authentication of accounts or due to problems with settings related to the Microsoft account. This error also can be caused by corrupted system files and/or an outdated version of the OneDrive client, which leads to failure in syncing and/or logging in.
The solution might be different for different underlying causes. Common troubleshooting methods involve restarting OneDrive, clearing the cached credentials, updating the OneDrive client, or checking the network settings. In other cases where corruption in system files is suspected, advanced repair is required.
For an advanced solution, consider the use of [d1] PC repair software, which can be very helpful in detecting and fixing a lot of Windows problems, including corrupt system files, and DLL errors, among others that may be contributing to the error affecting OneDrive.

Fix 1. Update OneDrive manually
- 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.

Fix 2. Check for Windows updates
- Type Updates in Windows search and hit Enter.
- If updates are available, click Install updates.
- Otherwise, click Check for updates.
- If optional updates are available, install them as well.
- When all the update processes are complete, restart your device.

Fix 3. Check your internet connection
- 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.

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. Unlink your OneDrive account
- Right-click the OneDrive icon in the taskbar.
- Select Settings.
- Go to the Account tab.
- Click Unlink this PC.
- Sign in again with your Microsoft account.

Fix 5. Clear cached credentials
- 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.

Fix 6. Repair system files
- Type cmd in Windows search.
- Right-click on Command Prompt and pick Run as administrator.
- When User Account Control shows up, click Yes.
- Use the following command lines, pressing Enter after each:
sfc /scannow - The System File Checker will now scan your system for any corrupted or missing files and try to repair them.
- After the scan is done, copy the following commands and press Enter:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
(Note: if you get an error executing this last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again). - Once the process completes, restart your system.

Fix 7. Reset OneDrive
- 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.

Fix 8. Reinstall OneDrive
- 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.

Bottom line
To resolve error 0x8004da9a, users can try restarting OneDrive, clearing cached credentials, updating the OneDrive client, or checking network settings. If these methods do not work, advanced repair using PC repair software may be necessary.
Frequently asked questions
OneDrive error 0x8004da9a typically occurs due to network connectivity issues, corrupted files, or problems with the OneDrive application itself. Ensuring a stable internet connection and updating the app can often resolve this error.
To troubleshoot this error on Windows 11, try resetting the OneDrive app by pressing Win + R, typing 'onedrive.exe /reset', and pressing Enter. If the issue persists, consider unlinking and relinking your OneDrive account.
To prevent OneDrive error 0x8004da9a in Windows 10, regularly update OneDrive and your Windows operating system to the latest version. Additionally, maintaining a stable internet connection and avoiding file sync conflicts can help.




Report an issue
What's wrong with this guide? We review every report and update or remove content.
Report received — thank you. We'll review and fix it.
You need a free account to submit a report.
Be the first to comment