logo
search
OneDrive Error Codes

How to Fix OneDrive Error 0x8004de25 Keeps Asking for Password

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Run dialog

Press the Windows key + R on your keyboard simultaneously to open the Run dialog box.

2
Execute the reset command

Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' into the text field and press Enter or click OK.

3
Wait for OneDrive to restart

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.

4
Sign in and verify account type

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.

Account Verification: If the issue persists after resetting, take a complete screenshot of the error message and contact your IT administrator if you are using a work or school account, as there may be organizational policy restrictions.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Includes reliable built-in WPS Cloud storage to prevent complex sync errors.Free, lightweight design that consumes minimal system resources.Familiar tabbed interface allows you to manage all document types in one window.
microsoft office alternative - wps office

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.