- If you see the error code 0x8004def, it means that you won't be able to log into your OneDrive account normally.
- When seeing the 0x8004def5 error, it is recommended that you connect OneDrive properly to Windows 10, temporarily disable your firewall settings, finish the setup for OneDrive, and also reinstall the software.
- OneDrive is one of the best apps that allows you to back up, and share your files online, but the is always a possibility of encountering an error. You don't need to worry, as we have a special OneDrive fix dedicated section on our website that deals with a variety of errors.
- Over time, our team has collected a large resource of data regarding both small and big issue with the Windows 10 OS. You can visit our Windows 10 errors hub for help.
If you’re seeing the OneDrive error code 0x8004def5, you need to know that you’re not the only user going through this process.
Even though your first reaction could be to assume that it might be something wrong with the servers (because of how the error is displayed), but this is not the case for this issue.
Here is what one OneDrive user had to say about this issue on the Microsoft Answers forum:
New installation of Win 10 1803. My corporate OneDrive account from Office365 is working perfectly, but my own OneDrive is not and hasn’t done so for days. So – fresh Windows 10 Pro 64-bit. No third-party AV. It’s not just one PC I have that’s having this issue, all recent builds are. Rock-steady 55Mb internet connection. What is going on?
Users have dealt with the situation by asking for help on different online forums. We researched and replicated the problem in order to give you a summary of the best methods that you can try to fix this problem once and for all.
1. Make sure that OneDrive is properly connected to your Windows 10 device
- Press the Win+X keys -> choose Settings from the menu.
- Go to the Accounts section -> click Your email and accounts.
- Click the blue link named Sign in with Microsoft instead (If you see this option, it means that your OneDrive is not connected properly).
- Log into your Microsoft account by following the on-screen instructions.
2. Complete the OneDrive setup process
- Press the keys Win+E at the same time to open the Windows Explorer.
- Search for the OneDrive blue folder from the panel found on the left side of your window.
- Select which of the folders and files from your PC should sync with OneDrive.
- This will complete the setup of OneDrive and should solve the error message you encountered.
- If it doesn’t, please follow the next method mentioned in this guide.
3. Temporarily disable any firewall or antivirus program
Some users have had good results dealing with the error code 0x8004def5 by stopping their firewall and antivirus interference with the OneDrive app.
Disabling Windows Firewall:
- Press Win+R keys to open the Run dialog.
- Type ‘control’ -> press Enter.
- Inside the Control Panel window -> select System and Security (this option will be available only if you’re using the category view).
- Select Windows Firewall.
- Choose the option Turn Windows Firewall on or off from the menu found on the left side of your screen.
- Click the bubble next to the option -> Turn off Windows Firewall (not recommended).
- Click OK to apply the settings.
- Now, you can try using OneDrive again, and note the changes.
Note: If OneDrive works properly after doing this, please add the app to the whitelist of your firewall, and re-activate the protection.
Disabling antivirus protection:
Because we all use different types of antivirus software to protect ourselves from online threats, the steps to achieve this will vary.
You can find detailed information about this process by simply performing a google search with the antivirus name and adding ‘how to disable temporarily‘ or ‘how to whitelist an app‘.
Note: It is recommended that you temporarily disable the antivirus protection, and if you see good results, then consider whitelisting OneDrive.
4. Uninstall and re-install OneDrive
To uninstall OneDrive:
- Press the Win+X keys at the same time -> click the PowerShell(Admin) option from the pop-up menu.
- Inside PowerShell:
taskkill /f /im OneDrive.exe ->press Enter to run the command.
- Copy-paste and run the commands mentioned, making sure you use the right one for your system configuration:
64-bit version: %systemroot%SysWOW64OneDriveSetup.exe /uninstall
32-bit version: %systemroot%System32OneDriveSetup.exe /uninstall
To re-install OneDrive:
- Open PowerShell(Admin) again by using the above-mentioned steps.
- Type the command mentioned below by taking into account the system version:
64-bit version: %systemroot%SysWOW64OneDriveSetup.exe
32-bit version: %systemroot%System32OneDriveSetup.exe
Note: It is recommended that after the process is completed, you restart your PC. This will enable the files to be installed properly.
5. Use alternative cloud backup software
We recommend giving Zoolz’s backup and cloud software Genie9 a try for a flexible and error-free experience. This is a great OneDrive alternative that uses AI cloud technology and secures all your files with military-grade encryption.
With Genie9, you can even backup files from network locations or external drives. To do so, select the network locations or external drive from the My Computer tab on the Data Selections page and the software will automatically backup your files.
We hope you managed to solve the 0x8004def5 error message from OneDrive, and that you are able to use the software fully.
If you found any of these methods useful in your situation, please don’t forget to let us know by using the comment section found below this article.
Frequently Asked Questions
There are plenty of other cloud services that you can use if you don’t like or can’t use OneDrive.
No, OneDrive comes with a free storage plan, but it is quite limited. There are other cloud storage services that also have free storage plans.
If you’re seeing an OneDrive authentication error, simply follow the recommendations we have for you in this guide.