Tackling ONEDRIVE Error Code X04Dec5 on Windows 11 Login

Tackling ONEDRIVE Error Code X04Dec5 on Windows 11 Login

David Lv12

Tackling ONEDRIVE Error Code X04Dec5 on Windows 11 Login

Microsoft’s cloud storage service OneDrive simplifies file management on Windows. However, you might experience issues when signing in to OneDrive, like the 0x8004dec5 error. This article will guide you on how to resolve OneDrive sign-in error 0x8004dec5 specifically on Windows 11.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

1. Check Your Internet Connection

If you’re having trouble signing in to OneDrive, first check your internet connection . Slow or spotty internet causes sign-in problems. So, check your connection speed and make sure it’s strong enough for OneDrive. If necessary, reset your router or modem to restore the connection.

If your internet connection is working, restart your computer and sign in to OneDrive again. This simple step fixes minor errors in the operating system that may cause the sign-in issue.

2. Run the Network Troubleshooter

If your internet connection is stable, but you’re still having OneDrive sign-in problems, you can run the Internet Connections Troubleshooter. This diagnosis tool scans for network problems and repairs any issues it finds.

To run the Internet Connection Troubleshooter, follow these steps:

  1. Right-click on Start and select Run from the menu list.
    Open Internet Connections
  2. In the dialog box, type the following command and click OK.
    msdt.exe -id NetworkDiagnosticsWeb
  3. Click Advanced and check Apply repairs automatically.
    Run the Internet Connections troubleshooter
  4. Now click Next and follow the on-screen instructions to finish the troubleshooting process.

Once it’s done, sign into OneDrive and see if the error is fixed. If not, try the next solution.

3. Tweak the Registry Editor

If the problem persists, remove cached Office account identities from the registry. This requires changing a few settings in the Windows registry which is a database of your operating system, so proceed with caution.

If you’re not sure what you’re doing, have an experienced technician make the changes for you. To avoid damaging your system, create a registry backup before making these changes.

  1. Press Win + R on your keyboard to open the Run dialog.
  2. Type regedit in the search box and click OK.
  3. If the UAC window pops up on the screen, click Yes to proceed.
  4. In the Registry Editor window, navigate to the path as follows:
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
  5. Right-click on the Identity folder and select Delete from the menu.
    Delete Identity Folder From Registry
  6. Click Yes when asked to confirm your action.
https://techidaily.com
  1. Close Registry Editor and restart your computer.

Now try signing in to OneDrive again. The sign-in error should now be resolved.

https://techidaily.com

4. Remove Cached Credentials Folders

If you’re not comfortable tweaking the registry editor, remove cached Office account identities using Windows Explorer. Here’s how to do it.

  1. Press Win + E to open File Explorer.
  2. In the File Explorer window, navigate to the following location:
    C:\Users\Username\AppData\Local\Microsoft\IdentityCache
  3. Press Ctrl + A to select all files and delete them.
    Clear Identity Folder
  4. Now navigate to this location, and replace Username with your own Windows username.:
    C:\Users\Username\AppData\Local\Microsoft\OneAuth
  5. Select all the files here and hit the Delete button.

Once you’ve removed all cached Office account identities, restart your computer and try signing in to OneDrive again.

If you have a valid OneDrive account, but still can’t sign in due to the 0x8004dec5 error code, unlink and relink your account. This will reset the connection and fix the problem.

To unlink OneDrive, follow these steps.

  1. Go to the right side of the taskbar and click on the OneDrive icon.
  2. Click Help & Settings (the gear icon) and select Settings from the menu list.
  3. In the Settings window, go to the Account tab.
  4. Under your OneDrive account, click Unlink this PC.
    Unlink OneDrive
  5. Click Unlink account to confirm your action.
    Unlink OneDrive Account on Windows
https://techidaily.com

After unlinking the account, you now need to relink it. To do that, open the OneDrive Settings window again and click Add an Account. Enter your OneDrive credentials and sign in to the account.

When it’s done, close the Settings window. Now open OneDrive and sign in with your new account credentials. The sign-in error should now be resolved.

6. Reset the OneDrive App

In some cases, resetting the OneDrive application solves the sign-in errors. This restores the app to its default settings and removes any corrupted system files.

To reset the OneDrive app, follow these steps.

  1. Press Win + X on your keyboard and select Installed apps from the list.
  2. In the list of installed apps, scroll down to OneDrive.
  3. Click the three dots and select the Advanced options.
  4. Scroll down to the Reset section and click on the Reset button.
    Reset OneDrive app
  5. Click Reset again to confirm your action.

After the reset, try signing in to OneDrive and seeing if error 0x8004dec5 is fixed.

https://techidaily.com

7. Get the Latest Windows Updates

Microsoft releases new patches that improve Windows performance. If your computer didn’t receive the latest updates, it may cause OneDrive sign-in errors. To fix this problem, install the pending Windows updates and try signing in to OneDrive again.

To download and install the latest Windows updates, use these steps.

  1. Press Win + I on your keyboard to open the Settings window (see our guide on how to open the Windows system settings ).
  2. From the left sidebar, click on the Windows Update tab.
  3. Now click Check for updates and wait while Windows checks for available updates.
    Check for updates
  4. If you find new updates, download and install them.

After performing the above action, restart your computer. Now try signing in to OneDrive and seeing if the error is fixed.

https://techidaily.com

8. Uninstall and Reinstall OneDrive

If the error persists even after trying the above solutions, it’s likely that the OneDrive app is malfunctioning. In that case, reinstall the application. It fixes corrupted files and solves sign-in issues. Here’s how to do it.

  1. Open Control Panel .
  2. Set the View by option to Category, then click Programs > Uninstall a program.
  3. Find OneDrive in the list of installed programs and click Uninstall.
    Uninstall OneDrive-2
  4. If you get a confirmation prompt, click Yes.
https://techidaily.com

Now follow the instructions to complete the process. After that, visit Microsoft’s official website to download and install OneDrive.

Fixing OneDrive’s 0x8004dec5 Sign In Error

Following the steps mentioned above should resolve the 0x8004dec5 OneDrive sign-in error. Corrupt files, outdated Windows versions, or compatibility issues usually cause it. A basic troubleshooting step would be to restart your computer and reset the OneDrive app. If that doesn’t fix it, unlink and relink your account, or reinstall OneDrive.

Also read:

  • Title: Tackling ONEDRIVE Error Code X04Dec5 on Windows 11 Login
  • Author: David
  • Created at : 2024-10-22 03:24:01
  • Updated at : 2024-10-26 22:19:08
  • Link: https://win11.techidaily.com/tackling-onedrive-error-code-x04dec5-on-windows-11-login/
  • License: This work is licensed under CC BY-NC-SA 4.0.