logo
search
Sign-in & Login Problems

How to Clear OneDrive Token and Authentication Cache

Bushra ParveenBushra Parveen Oct 9, 2026 874 views

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.

How to Clear the OneDrive Token and Authentication Cache
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 you start

Before proceeding, ensure that all Microsoft Office applications and the OneDrive sync client are fully closed to prevent file conflicts.

Solution 1Recommended

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.

1
Open the Run dialog

Press the Windows key + R on your keyboard simultaneously to open the Run command window.

2
Execute the reset command

Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the text box and press Enter.

3
Restart OneDrive

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.

Reset the OneDrive Application
Data Safety: Resetting OneDrive only clears the application's configuration and cache data. It does not delete or modify any of your actual files stored in the cloud or on your local drive.
Free Microsoft Office alternative

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. 1. Download and Install: Visit the official WPS website to download the free installer and follow the simple on-screen instructions.
  2. 2. Sign In Easily: Launch WPS Office and sign in using a Google, Email, or dedicated WPS account without complex credential conflicts.
  3. 3. Open Existing Files: Drag and drop your existing Word, Excel, or PowerPoint files directly into WPS Office to continue your work seamlessly.
Seamlessly open, edit, and save files in standard Microsoft Office formats (.docx, .xlsx, .pptx).Built-in robust cloud storage solutions that avoid complex token cache errors.Lightweight installation with a highly intuitive, tabbed user interface.Completely free to use for everyday document, spreadsheet, and presentation tasks.
microsoft office alternative - wps office

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.