Fixing OneDrive Login Hiccup: Zero-Based Code Error on Win11

Fixing OneDrive Login Hiccup: Zero-Based Code Error on Win11

Joseph Lv12

Fixing OneDrive Login Hiccup: Zero-Based Code Error on Win11

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.

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. LYRX is an easy-to-use karaoke software with the professional features karaoke hosts need to perform with precision. LYRX is karaoke show hosting software that supports all standard karaoke file types as well as HD video formats, and it’s truly fun to use.
    LYRX Karaoke Software MAC/WINDOWS (Includes Activation For 3 Machines)
    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.

Allavsoft Batch Download Online Videos, Music Offline to MP4, MP3, MOV, etc format

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.
  7. Close Registry Editor and restart your computer.

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

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

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.

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.

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. NeoDownloader - Fast and fully automatic image/video/music downloader. Uninstall OneDrive-2
  4. If you get a confirmation prompt, click Yes.

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.

  • Title: Fixing OneDrive Login Hiccup: Zero-Based Code Error on Win11
  • Author: Joseph
  • Created at : 2024-07-29 04:20:35
  • Updated at : 2024-07-30 04:20:35
  • Link: https://windows11.techidaily.com/fixing-onedrive-login-hiccup-zero-based-code-error-on-win11/
  • License: This work is licensed under CC BY-NC-SA 4.0.