How to Completely Remove Microsoft 365 and Saved Sign-In Credentials
Question details
The user needs to completely wipe Microsoft 365 and all saved sign-in data to resolve persistent login or multifactor authentication (MFA) loops without reinstalling Windows.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Fixing persistent Microsoft 365 sign-in and MFA failures that survive a standard reinstallation.
- Observed behavior
- Microsoft 365 repeatedly reports an account or device problem, and sign-in fails continuously even after reinstalling the Office suite.
Ensure you back up all important documents and consider backing up your Windows Registry before proceeding. While uninstallation does not delete personal files, taking precautions prevents accidental data loss during system changes.
Clear Credential Manager and Uninstall Microsoft 365
This is the safest and most effective method to remove lingering account tokens causing sign-in loops before performing a fresh installation.
Windows stores your Office login tokens in the Credential Manager. When these tokens become corrupted, they cause MFA and sign-in loops that a standard Office uninstallation cannot fix. Removing these credentials manually resolves the issue.
Click the Start menu, type 'Credential Manager', and press Enter. Select 'Windows Credentials', scroll down to the 'Generic Credentials' section, and remove every entry that contains 'MicrosoftAccount', 'MicrosoftOffice', or 'OneDrive'.
Open Windows Settings, navigate to 'Apps' > 'Installed apps' (or 'Apps & features'), find Microsoft 365, and click 'Uninstall'. Alternatively, use the official Microsoft Support and Recovery Assistant (SaRA) tool for a deeper wipe.
Right-click the OneDrive cloud icon in your system tray, click the Settings gear icon, navigate to the 'Account' tab, and select 'Unlink this PC'. You may also choose to uninstall OneDrive entirely from the Apps menu.
Reboot your computer to ensure all cached data is cleared and the old credentials are fully flushed from the system.

Reset Office Settings via Windows Registry
For highly persistent issues, renaming the Office registry key forces Windows to create a fresh Office profile the next time it runs.
Switch to WPS Office for a Hassle-Free Experience
Tired of dealing with persistent sign-in loops, MFA errors, and complicated Microsoft 365 installations? WPS Office offers a free, lightweight, and highly compatible alternative. You can open, edit, and save Word, Excel, and PowerPoint files seamlessly on your local device without relying on mandatory cloud-based credentials.

Frequently Asked Questions
Will completely removing Microsoft 365 delete my personal files?
No, uninstalling the software and clearing credentials only removes the application files and account tokens. Your local Word documents, Excel spreadsheets, and other personal files remain completely untouched.
How do I fix the Microsoft 365 sign-in loop if removing credentials doesn't work?
If clearing the Credential Manager fails, you may need to switch Windows to a local account, or create a brand-new local Windows user profile (Settings > Accounts > Other users) to bypass corruption in your current Windows profile.
Can I reinstall Microsoft 365 after clearing the registry and credentials?
Yes. Once you have completely removed the lingering account data and restarted your PC, you can perform a clean, fresh installation of Office by downloading it directly from your Microsoft account dashboard.




