How to Clear OneDrive Token and Authentication Cache
Question details
The user needs to clear outdated authentication data that OneDrive and other Microsoft applications continue to use even after the browser cache is cleared.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to sign in or sync files with a new or updated Microsoft account, but the system keeps reverting to old authentication tokens.
- Observed behavior
- The application fails to prompt for new credentials or continuously experiences login conflicts because it relies on stale authentication cache data.
Before proceeding, ensure that all Microsoft Office applications and the OneDrive sync client are fully closed to prevent file conflicts.
Reset the OneDrive Application
Resetting OneDrive clears its local cache files and forces the application to rebuild its authentication state.
This method is highly effective for resolving deep-rooted cache issues that standard browser clearing cannot reach.
Press the Windows key + R on your keyboard simultaneously to open the Run command window.
Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the text box and press Enter.
Wait for the OneDrive cloud icon to disappear and reappear in your system tray. If it does not reappear after a few minutes, open the Start menu, search for OneDrive, and launch it manually.

Unlink and Relink Your Account
Unlinking your PC removes the current connection token, allowing you to establish a fresh authentication session.
Clear Windows Credential Manager
Removing stored credentials directly from Windows prevents Microsoft apps from fetching old passwords.
Experience Hassle-Free Document Management with WPS Office
If you are tired of dealing with complex authentication caches and frequent login loops in Microsoft applications, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for all your document needs without the sync headaches.
- 1. Download and Install: Visit the official WPS website to download the free installer and follow the simple on-screen instructions.
- 2. Sign In Easily: Launch WPS Office and sign in using a Google, Email, or dedicated WPS account without complex credential conflicts.
- 3. Open Existing Files: Drag and drop your existing Word, Excel, or PowerPoint files directly into WPS Office to continue your work seamlessly.

Frequently Asked Questions
Will unlinking my OneDrive account delete my local or cloud files?
No. Unlinking your PC only stops the background synchronization process and clears the local authentication connection token. All your files remain completely safe in the cloud and in your local OneDrive folder.
Why does OneDrive still use old credentials after clearing my browser cache?
OneDrive uses dedicated system-level authentication tokens stored in the Windows Credential Manager and local application data folders. These are entirely separate from web browser caches like Edge or Chrome.
What should I do if resetting OneDrive doesn't fix the login loop?
If resetting OneDrive doesn't work, you should open the Windows Credential Manager, navigate to Windows Credentials, and manually delete any generic credentials associated with Microsoft Office or OneDrive.




