In this article I will show you how to fix the error code 0x8004de34 when signing in to Microsoft Onedrive

What causes the error code 0x8004de34? The error code 0x8004de34 appears because there is an issue with your newly added onedrive account and it is conflicting with your original account. If this is the first login you are adding to onedrive then there is an issue with one of the one drive settings.
How To Fix Error Code 0x8004de34 In Microsoft Onedrive
To Fix Error Code 0x8004de34 In Microsoft Onedrive, follow these steps
Step 1 : Unlink Onedrive Account
The first thing we are going to do to fix this error is unlink your onedrive account. This will reset your login details. To do this follow these steps
- Open Microsoft Onedrive
- Click on … More at the bottom of the application
- Click on settings in the popup menu

- Click on the Account Tab at the top
- Click on unlink this PC

- On the Unlink account on this PC window click on Unlink account

- Onedrive will now automatically close
- Open up microsoft onedrive again and sign in
- If you still get the error code 0x8004de34 continue to the next step
Step 2 : Reinstall Onedrive Application
If the previous step did not resolve the error we will now try to uninstall and reinstall the onedrive application. To do this follow these steps
- Click on start > Settings (Cog looking Icon)

- Click on the apps icon
- Scroll down until you see the Microsoft OneDrive application
- Left click on Microsoft OneDrive and click on uninstall, then uninstall a second time

- If you get prompted by a UAC prompt click on YES
- Once the uninstall has finished reboot your machine
- Download the latest version of microsoft one drive from here
- Install the application
- Open Microsoft OneDrive and sign in.
Step 3 : Remove OneDrive Cached Credentials
Another issue that could be triggering the Error Code 0x8004de34 In Microsoft Onedrive is that your machine has cached credentials for Microsoft OneDrive.
To remove these cached credentials do the following
- Close down Microsoft OneDrive
- Click start and type in control panel, then left click on the control panel app

- In the control panel click on user accounts
- Next click on Manage your credentials

- Click on Windows credentials
- Then one by one click on all MicrosoftOffice15* + MicrosoftOffice16* entrys and select Remove

- When they have all been delete restart your machine
- Open Microsoft OneDrive again and try to sign in
Step 4 : Manual Reinstall
In step 2 we reinstalled microsoft onedrive but some times the applications leave files and folders behind. This time we will uninstall the application then manually remove the files and folders it leaves behind. To do this follow these steps
- Click on start > Settings (Cog looking Icon)

- Click on the apps icon
- Scroll down until you see the Microsoft OneDrive application
- Left click on Microsoft OneDrive and click on uninstall, then uninstall a second time

- If you get prompted by a UAC prompt click on YES
- Once the uninstall has finished reboot your machine
- Now click on the start menu and type in %appdata% then left click on the folder that appears

- If there are any folders named OneDrive or Microsoft OneDrive delete them

- Next go in to the Microsoft folder
- If there are any folders named OneDrive or Microsoft OneDrive delete them
- Now click on the start menu and type in %localappdata% then left click on the folder that appears
- If there are any folders named OneDrive or Microsoft OneDrive delete them
- Next go in to the Microsoft folder
- If there are any folders named OneDrive or Microsoft OneDrive delete them
- Download the latest version of microsoft one drive from here
- Install the application
- Open Microsoft OneDrive and sign in.
Conclusion
As mentioned before the error code 0x8004de34 is triggered when trying to sign in to microsoft onedrive and is caused by some sort of account issue.
By following the steps in this article I have shown how to completely remove microsoft one drive from your system and install the latest version.
If you are still having issues and the error code 0x8004de34 is still showing at log on please post a comment below what fixes you have tried and another other relevant information and I will try to help you out.
There is a nice guide here that shows you error codes in microsoft onedrive which might be useful.