FIX: OneDrive error 0x8004deb2

Vladimir Popescu
by Vladimir Popescu
Windows & Software Expert
0 Comments
Download PDF
Affiliate Disclosure

  • Seeing the 0x8004deb2 error code inside OneDrive means that you won't be able to sign in, and that can cause you a wide range of problems.
  • Modifying the Windows 10 credentials settings,  and changing the value of an entry in Registry Editor are some of the methods used in this situation.
  • For more detailed OneDrive fixes, you can visit our dedicated OneDrive Troubleshooting Hub.
  • Don't forget to check out our Windows Fix section for more quick solutions to any of your Windows PC problems.
OneDrive error 0x08004deb2

Even though OneDrive is one of the best online sharing and storage applications, it is known that it can encounter a wide range of error messages.

These errors cause a variety of problems, from not being able to sync your files to your online account, to not being able to log into the application at all.

The error from OneDrive that we will be discussing in this fix guide has the code 0x8004deb2 and is part of the set of errors that will stop you from successfully logging in.

Here is what one user had to say about this issue on the Microsoft Answers forums:

While logging into my OneDrive business account I am getting the error: “There was a problem signing you in. Login was either interrupted or unsuccessful. Please try logging in again (Error code 0x8004deb2)”.Please note that I am able to successfully log in to my personal OneDrive account.

Let’s explore some of the best methods that you can try to solve this issue and get back to using the app as it was intended.


How can I fix the error 0x8004deb2 in OneDrive Business?

1. Try modifying the Windows 10 credentials settings

  1. Completely close any Microsoft Office applications that are running.
    • Ctrl+Alt+Del and press End Task
  2. Type control panel inside the Cortana search box and click the first option from the top of the results.
  3. Click the option User Accounts, select Credential Manager and then click Windows Credentials.Windows credentials - OneDrive 0x8004deb2
  4. Delete all the credentials found in that list
    • Doing this will remove the passwords stored on your PC.
  5. Inside Cortana, search for regedit, and then right-clickRegistry Editor and choose Run as administrator.
  6. In the Registry Editor, for Office 2013, browse to:
    • HKEY_CURRENT_USERSoftwareMicrosoftOffice15.0CommonIdentity
  7. For Office 2016, browse to:
    • HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0CommonIdentity
  8. If you can find any folder listed under Identities, delete them by right-clicking the entry.
  9. Try to see if this resolves the issue. If not, please try the next method.

2. Restart the OneDrive app

Closing the OneDrive app:

  1. Press the Win+X keys on your keyboard and select the Windows PowerShell(Admin) option.
  2. Run this command inside the PowerShell window:
    • taskkill /f /im OneDrive.exeClosing OneDrive in PowerShell command - OneDrive error 0x8004deb2
  3. Wait for the process to be completed.

Open OneDrive again:

  1. Search for the OneDrive app by using the Cortana search box.
  2. Open the application by clicking on it.
  3. Log into your account and finish the setup of the app.

Try this fix is you don’t have access to your Administrator Account on Windows 10


3. Remove OneDrive and then re-install it using PowerShell

To uninstall:

  1. Press the Win+X keys-> click the option Windows PowerShell(Admin).
  2. Run the following command in PowerShell:
    • taskkill /f /im OneDrive.exe
  3. Wait for the process  to complete, and then run the following commands (depending if you have a 64 or 32-bit version of Windows):

For a 64-bit version: %systemroot%SysWOW64OneDriveSetup.exe /uninstall

For a 32-bit version: %systemroot%SysWOW32OneDriveSetup.exe/uninstall

To re-install the application:

  1. Open PowerShell(Admin) again by using the steps we explained above.
  2. Type the required command inside the Command Prompt -> run it by pressing Enter.Windows PowerShell command - OneDrive 0x8004deb2

64-bit version: %systemroot%SysWOW64OneDriveSetup.exe

32-bit  version: %systemroot%SysWOW32OneDriveSetup.exe

Note: After the process is completed, it is recommended that you restart your PC so the clean-up process can remove the remaining system files as well.


4. Modify values inside Registry Editor

  1. Press the Win+R keys to open the Run dialog box.
  2. Type regedit -> press Enter to run the command.
  3. Accept any UAC notifications that pop-up, confirming that you have administrator rights.
  4. Inside the Registry Editor window -> navigate to the following location:
    • HKEY_CURRENT_USER -> SOFTWARE -> Microsoft -> OneDriveRegistry editor folder - OneDrive 0x8004deb2
  5. Change the value of the EnableADAL entry from value 1 to 2.
  6. Restart the OneDrive app.

We hope that one of the solutions mentioned in this guide has helped you get rid of the OneDrive 0x8004deb2 error code.

If you would like to get into contact with us, or if you have any other suggestions, please use the comment section found under this article to do so.


FAQ: Learn more about OneDrive

  • How do I fix OneDrive error 0x8004deb2?

OneDrive error 0x8004deb2 is a login error, and it is not the only authentification error that users have been reporting. To fix it, simply follow this guide.

  • What should I use instead of OneDrive?

There are many cloud storage services that you can use, such as Dropbox or Google Drive.

  • What does the paid version of OneDrive bring?

Besides the greatly expanded storage space, you get a host of new tools and priority customer support.