How to Fix OneDrive Error 0x8004de25 Keeps Asking for Password
Question details
The user needs to resolve an issue where the OneDrive application continuously prompts for a password and fails to synchronize files.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to synchronize local files with the cloud via the desktop app, while the web version and network connection are working normally.
- Observed behavior
- The OneDrive desktop app repeatedly requests a password and displays error code 0x8004de25, completely halting file synchronization.
Ensure you have your Microsoft account credentials (email and password) on hand, as you will need to sign back into the application after performing a reset.
Reset the OneDrive Desktop Application
Resetting the OneDrive app clears its cache and resolves corrupted authentication tokens without deleting any of your personal files.
When the OneDrive app repeatedly asks for a password despite a stable internet connection, the local authentication token is likely corrupted. A quick reset forces the app to refresh its connection to the Microsoft servers.
Press the Windows key + R on your keyboard simultaneously to open the Run dialog box.
Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' into the text field and press Enter or click OK.
The OneDrive cloud icon in your system tray will disappear and then reappear after a minute or two. If it does not reappear, open the Start menu, search for OneDrive, and launch it manually.
Enter your login credentials when prompted. Make sure to accurately select whether your account is a 'Personal' account or a 'Work or School' account to prevent error 0x8004de25 from returning.
Experience Seamless File Management with WPS Office
If you are frustrated with persistent Microsoft OneDrive sync issues and Office login errors, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with built-in cloud capabilities that streamline your document workflow.

Frequently Asked Questions
Will resetting OneDrive delete my local files?
No, resetting the OneDrive desktop app only clears its configuration settings and sync cache. Your files remain safely stored on your hard drive and in your cloud storage.
Why does OneDrive work on the web but show error 0x8004de25 on the desktop?
The web version of OneDrive bypasses your computer's local application cache. If the local desktop token becomes corrupted or outdated, the app will repeatedly ask for a password and fail to sync, while the web version continues to function flawlessly.
Does it matter if I choose Personal or Work/School during sign-in?
Yes, it is crucial. Personal accounts use different authentication servers than organizationally managed Work or School accounts. Selecting the wrong account type during sign-in is a common trigger for error code 0x8004de25.




