Encountering the error code 0x8004de45
when trying to sign in to OneDrive can be frustrating. This error usually indicates a problem with your account credentials or cached data, preventing you from accessing your files in the cloud. Fortunately, there are several methods you can try to resolve this issue and get OneDrive working smoothly again.
Clear OneDrive Credentials in Windows
Outdated or corrupted credentials can prevent OneDrive from authenticating properly. Clearing these credentials may resolve the error.
- Press
Windows + R
on your keyboard to open the Run dialog box.
- Type
control keymgr.dll
and pressEnter
to open the Credential Manager.
- In the Credential Manager window, select Windows Credentials.
- Scroll through the list and locate any entries related to OneDrive, MicrosoftAccount, or your work or school account email address.
- Click on each relevant entry and select Remove.
- Close the Credential Manager and restart OneDrive.
- Sign in to OneDrive again with your Microsoft account credentials.
Rename the IdentityCache Folder
The IdentityCache folder stores cached credentials for your Microsoft accounts. Renaming this folder forces OneDrive to create a new cache, which can resolve sign-in issues.
- Close OneDrive by clicking on the OneDrive icon in the system tray, selecting Help & Settings, and choosing Quit OneDrive.
- Press
Windows + R
to open the Run dialog box.
- Type
%localappdata%\Microsoft
and pressEnter
.
- Locate the IdentityCache folder.
- Right-click on the IdentityCache folder and select Rename.
- Change the folder name to IdentityCache.old.
- Restart OneDrive and try signing in again.
Reset OneDrive
Resetting OneDrive can restore it to its default settings without affecting your files. This often resolves issues related to cached data or settings.
- Press
Windows + R
to open the Run dialog box.
- Copy and paste the following command, then press
Enter
:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
- Wait a few moments for OneDrive to reset. The OneDrive icon may disappear and reappear in the system tray.
- If OneDrive does not restart automatically, open the Run dialog box again, type
%localappdata%\Microsoft\OneDrive\onedrive.exe
, and pressEnter
to restart it manually.
- Sign in to OneDrive and check if the error persists.
Update OneDrive and Windows
Ensuring that you have the latest updates for OneDrive and Windows can fix compatibility issues and bugs that may cause the error.
- Open OneDrive and click on the OneDrive icon in the system tray.
- Select Help & Settings and then choose Settings.
- In the Settings window, go to the About tab.
- Ensure that the option Automatically update OneDrive and Microsoft Office is checked.
- Click OK to save any changes.
- Update Windows by pressing
Windows + I
to open Settings.
- Navigate to Windows Update and click on Check for updates.
- Install any available updates and restart your computer.
- After restarting, try signing in to OneDrive again.
Check Your Internet Connection and Firewall Settings
Network issues or firewall settings can prevent OneDrive from connecting to the servers. Ensuring a stable connection and proper firewall configuration can help.
- Ensure that your internet connection is stable by opening a web browser and navigating to a website.
- If the connection is unstable, try restarting your router or contacting your internet service provider.
- Disable any VPN or proxy settings that might interfere with OneDrive's connection.
- Temporarily disable your antivirus or firewall program to see if it is blocking OneDrive.
- If OneDrive works after disabling the firewall, add OneDrive to the firewall's list of allowed applications.
Reinstall OneDrive
If none of the above methods work, reinstalling OneDrive may resolve the issue by repairing corrupted installation files.
- Press
Windows + I
to open Settings.
- Go to Apps and find Microsoft OneDrive in the list.
- Click on the three dots on the right of Microsoft OneDrive and select Uninstall.
- Follow the prompts to complete the uninstallation.
- Download the latest version of OneDrive from the official website.
- Run the installer and follow the on-screen instructions to install OneDrive.
- Sign in to OneDrive with your Microsoft account credentials.
After trying these methods, you should be able to resolve the 0x8004de45
error in OneDrive and regain access to your files.
Member discussion