Fix Onedrive error code 0x8004de34 with these steps

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
Loading Comments
Download PDF
Affiliate Disclosure

Onedrive error code 0x8004de34

Microsoft OneDrive client for PC can throw some errors every now and then. One such error is the Onedrive error code 0x8004de34. It occurs when OneDrive fails to recognize the Microsoft account used to set up the client.

Several users have reported a similar error in the Microsoft Community forum:

I have a pop up which keeps demanding I sign into one drive on my pc butg the e-mail it asks for is one I deleted and there is no account under that e-mail so when I type in  the current e-mail account for Microsoft it just circularly directs me back to sign in with the ole defunct e-mail account it gives an error message;error code 0x8004de34.

If you are also troubled by this, here are a couple of troubleshooting tips to help you resolve the OneDirve sign in error.

How can I fix OneDrive error code 0x8004de34 in Windows 10?

1. Unlink and relink the OneDrive account

Onedrive error code 0x8004de34

  1. Launch Microsoft OneDrive if not already running.
  2. Click the small arrow icon on the Taskbar to show the hidden icons.
  3. Right-click on Microsoft OneDrive icon.
  4. Select Settings from the options.
  5. On the Microsoft OneDrive setting window, open the Account tab.
  6. Click on Unlink this PC link.
  7. When a pop-up dialogue box appears, click on Unlink Account.
  8. Next, you will see the setup OneDrive screen.
  9. Enter your email address associated with the OneDrive account and click on Sign in.
  10. Enter your password when prompted.
  11. Complete the setup process and check if the error is resolved.

2. Reset the OneDrive client

Onedrive error code 0x8004de34

  1. Click on Start and select Settings.
  2. Go to Apps > Apps and Features.
  3. Search the OneDrive app using the search bar.
  4. Click on the OneDrive app from the list.
  5. Click on Advanced Options.
  6. Scroll down and click on the Terminate button. This will kill any OneDrive process that is still running.
  7. Scroll down and click on Reset. When asked to confirm click on Reset again.
  8. Restart your computer and check for any improvements.

If you’re having trouble opening the Setting app, take a look at this article to solve the issue.


You can also reset the OneDrive app using the following command.

Onedrive error code 0x8004de34

  1. Press Windows Key + R to open Run.
  2. In the Run dialogue box type the following command and click OK to execute it:
    %localappdata%MicrosoftOneDriveonedrive.exe /reset.
  3. Press Windows Key + R again and type the following command:
    %localappdata%MicrosoftOneDriveonedrive.exe /reset.
  4. Click OK to run it.

Resetting the OneDrive client has helped several users resolve connectivity issues related to Microsoft OneDrive.


3. Uninstall and reinstall OneDrive

Onedrive error code 0x8004de34

  1. Click on Start and select Settings.
  2. Go to Apps > Apps and Features.
  3. Search for OneDrive using the search box.
  4. Click on the OneDrive app.
  5. Click on the Uninstall button.
  6. Click on Uninstall when asked to confirm.

Reinstall OneDrive

You can either install OneDrive directly using a OneDrive installer copy saved in the Windows folder or you can download it from the Microsoft Store. Here is how to do it.

Install from the Windows folder

Onedrive error code 0x8004de34

  1. Open the File Explorer and navigate to the following location:
    C:WINDOWS
  2. Next, search for OneDrivesetup.
  3. Double-click on OneDriveSetup installer from the search result and proceed with the installation.
  4. You can also install the latest version of the Microsoft OneDrive client from the Microsoft Store.

Not being able to sync the OneDrive client can be counterproductive for many people. By following the steps in this article, you can resolve the Onedrive error code 0x8004de34 in no time. Let us know which solution helped you resolve the error in the comments.

RELATED STORIES YOU MAY LIKE: