Stop OneDrive Sign-In Prompts When Opening Local Excel Files
Question details
The user wants to prevent Excel from repeatedly prompting for a OneDrive sign-in when opening workbooks stored on a local hard drive.

- Product
- Microsoft Excel 2019
- Device & OS
- Windows
- Scenario
- Opening locally stored Excel files that are located within a OneDrive-synchronized folder.
- Observed behavior
- Excel repeatedly displays a OneDrive sign-in prompt, interrupting the user even though the file is being accessed locally.
Ensure you know your Microsoft account login credentials before clearing any saved passwords, and consider temporarily pausing your OneDrive sync to avoid file conflicts during the troubleshooting process.
Clear Outdated Credentials in Windows Credential Manager
Removing old or corrupted Office and OneDrive credentials forces the system to authenticate cleanly, which usually stops looping sign-in prompts.
Sometimes, Microsoft Office retains expired login tokens that conflict with the current state of your OneDrive account. Clearing these tokens allows Office to generate a fresh connection.
Press the Windows key, type 'Credential Manager' into the search bar, and hit Enter to open the utility.
Click on the 'Windows Credentials' tab to view all saved network and application passwords.
Scroll through the list and look for any entries containing 'MicrosoftOffice' or 'OneDrive'. Click the dropdown arrow next to each relevant entry and select 'Remove'.
Restart your computer. Open Excel and sign in once if prompted; the repeated prompts should now be resolved.

Set Excel to Save to Computer by Default
Changing the default save location to your local drive prevents Excel from automatically attempting to connect to OneDrive cloud services.
Temporarily Close or Pause OneDrive
If the prompts are caused by active syncing glitches on a local folder, shutting down OneDrive temporarily can allow you to work without interruptions.
Enjoy Seamless Local File Editing with WPS Office
If persistent cloud sign-in prompts in Microsoft Office are disrupting your workflow, consider switching to WPS Office. It is a lightweight, highly compatible alternative that respects your local storage preferences, allowing you to edit files without forced cloud integrations.
- 1. Download and Install: Visit the official WPS website, download the free installer, and complete the lightweight installation.
- 2. Open WPS Spreadsheets: Launch the WPS Office application and select 'Spreadsheets' from the main dashboard.
- 3. Open Local Files: Click 'Open' and navigate to your locally stored Excel files. They will open instantly without requiring a cloud sign-in.
- 4. Save Locally by Default: Edit your documents and hit Save. WPS Office defaults to saving to your hard drive, completely bypassing cloud sync interruptions.

Frequently Asked Questions
Why does Excel prompt me to sign into OneDrive for local files?
This usually happens because the local folder containing the file is configured to sync with OneDrive. Microsoft Office detects the sync path and attempts to connect to cloud services like AutoSave, triggering a sign-in prompt if your login token has expired.
Will clearing Windows Credentials delete my saved Excel files?
No. Windows Credential Manager only stores your saved passwords and login tokens. Deleting these entries will safely force Office to ask for your password again, but it will never touch or delete your documents.
Can I completely disable AutoSave to stop OneDrive prompts?
Yes. AutoSave is directly tied to OneDrive and SharePoint. By turning off AutoSave via the toggle in the top-left corner of Excel, or by setting your default save location to your local computer in Excel Options, you can significantly reduce unwanted cloud sign-in requests.




