Ways To Fix The 0x8004def5 OneDrive Error Code On Windows 11

Microsoft by default includes OneDrive with Windows 11. Even though it’s not the most widely used cloud storage provider, its 5 GB of free cloud storage is difficult to pass up. Despite being less popular than Google Drive, it is nonetheless profitable because Windows includes it.

However, when they attempt to run it, some customers encounter the vexing error code 0x8004def5. An issue connecting to OneDrive is indicated by the error code. Don’t worry if you experience the same issue and are unable to log in or use your OneDrive account. We’ll outline several ways to get OneDrive back to functioning order. Let’s start.

Also Read: How to Disable OneDrive on Windows 11

Method 1: Close OneDrive And Restart The Application

You must end all running instances of OneDrive before attempting any major repairs. Restart it next to see if it connects to the server. This is how:

Step 1: To launch Task Manager, press Ctrl + Shift + Esc.

Step 2: Type OneDrive into the top search bar.

Step 3: Access the Details tab now. Select the End process option from the context menu by performing a right-click on the OneDrive.exe process.

Step 4: Then a pop-up window will appear. Select “End process tree” from the menu.

End process tree

Step 5: Type OneDrive into the Start menu to launch it. Check to see if the problem appears by selecting the Open option.

Also Read: Microsoft Server Issues: OneDrive & Skype Not Working

Method 2: Verify Whether OneDrive Servers Are Down

Verify Whether OneDrive Servers Are Down

All of your OneDrive data is kept on a specific cloud server that Microsoft manages. Even though they guarantee 99% uptime, cloud services like OneDrive frequently experience disruptions. Or perhaps scheduled maintenance is the cause of the service’s outage.

To find out which services are down, go to the Microsoft Service Health page. Use third-party websites instead, such as DownDetector. So you can find out whether other people are experiencing the same server outage problem. If so, you will need to wait until Microsoft fixes the issue and restarts the OneDrive servers.

Also Read: How To Fix OneDrive Unable to Move Shortcut Error

Method 3: Change Your Network Connections

It’s conceivable that Microsoft’s servers are blocked by your current ISP or the network to which you are now connected. Many users reported that when they changed to a different network, the problem was resolved. To share the internet with your Windows computer, you can either use USB tethering or instantly build a wireless hotspot from your phone.

After that, restart the OneDrive application and see whether you can access your networked files. To access the OneDrive servers without interruption in the future, you can also ask your ISP to remove the restriction on your connection.

Also Read: OneDrive Stuck on “Processing Changes” Screen? Here’s the Fix!

Method 4: Delete OneDrive Logs

You might try deleting the OneDrive telemetry log files that are located in the app data folder. This is how you do it:

Step 1: To open the File Explorer, press Win + E.

Step 2: Enter the following URL in the address box, replacing “UserName” with the username for your PC.

C:\Users\UserName\AppData\Local\Microsoft\OneDrive\setup\logs

Step 3: To access the OneDrive logs folder, use the enter key.

Step 4: Copy the userTelemetryCache.otc file from where you found it. Copy it and paste it on a different system drive.

userTelemetryCache

Step 5: UserTelemetryCache.otc should be deleted by going back to the logs folder.

Step 6: Shut down File Explorer, then restart your computer.

Step 7: Launch OneDrive and then see if the error code persists.

Also Read: How To Fix OneDrive is Full Error on Windows 10

Method 5: Reset OneDrive

By going to their advanced options, certain Windows apps allow you to reset them. However, there is no advanced settings option for OneDrive in the Settings app. Therefore, you must manually reset it using the command prompt. This is how:

Step 1: To open the Run command box, press Win + R.

Step 2: To open a fresh Terminal window, enter cmd and press Enter.

Step 3: Enter the command mentioned below by copying and pasting it and pressing the enter key.

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Reset OneDrive

Step 4: The OneDrive window will open up to let you know the reset is happening.

Step 5: When the “Reset completed” notification appears, end the program. Start up your computer.

Also Read: How To Fix And Disable OneDrive High CPU Usage On Windows 10

The Final Word On Ways to Fix the 0x8004def5 OneDrive Error Code on Windows 11

There are several different reasons why OneDrive could be unable to connect to the server. Check if the OneDrive servers are active and start with the most basic troubleshooting steps. Then reset the app and remove the telemetry log files. Reinstall the OneDrive app and login once again if that has no effect.

Please let us know in the comments below if you have any questions or recommendations. We would be delighted to provide you with a resolution. We frequently publish advice, tricks, and solutions to common tech-related problems. You can also find us on Facebook, Twitter, YouTube, Instagram, Flipboard, and Pinterest.

Also Read: How To Fix Duplicate OneDrive folders In Explorer On Windows 10

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe Now & Never Miss The Latest Tech Updates!

Enter your e-mail address and click the Subscribe button to receive great content and coupon codes for amazing discounts.

Don't Miss Out. Complete the subscription Now.