Sign-in & Login Problems

How to Remove Cached Microsoft 365 Credentials from Shared Windows PCs

Rana GarciaRana Garcia Oct 21, 2026 868 views

Question details

Users need to completely remove cached Microsoft 365 and Office sign-in credentials from shared Windows computers to prevent unauthorized account access.

How to Remove Cached Microsoft 365 Credentials from Shared Windows PCs
Product
Microsoft 365
Device & OS
Windows 10
Scenario
Managing shared conference-room or public computers where multiple users log into Office applications.
Observed behavior
Sign-in credentials automatically reappear or remain stored even after manually clearing the Windows Credential Manager and Edge autofill data.
Before you start

Ensure you have administrator privileges on the shared Windows computer and that all active Office applications are completely closed before attempting to clear cached identity keys.

Solution 1

Disconnect Work or School Accounts in Windows Settings

Windows often stores Microsoft 365 identities at the system level. Disconnecting them here prevents automatic sign-ins in Office apps.

On Windows 10, logging into Microsoft 365 can automatically register the device with Azure AD or store the account system-wide. Removing it from the Settings app is the first essential step.

1
Open Windows Settings

Click the Start Menu and select the gear icon to open Settings, then navigate to the 'Accounts' section.

2
Access Work or School Accounts

In the left-hand pane, click on 'Access work or school' to view all connected enterprise and educational identities.

3
Disconnect the Account

Select the Microsoft 365 account you wish to remove and click the 'Disconnect' button. Confirm any prompts to remove the credentials.

Free Microsoft Office alternative

Avoid Complex Account Issues with WPS Office

Tired of managing persistent sign-ins and identity caches on shared computers? WPS Office offers a lightweight, highly compatible alternative to Microsoft Office that works seamlessly offline without forcing persistent cloud credentials on shared Windows PCs.

  1. 1. Download WPS Office: Visit the official WPS website and click the free download button for Windows.
  2. 2. Install the Software: Run the lightweight installer and follow the on-screen prompts to complete the setup.
  3. 3. Edit Files Locally: Open and edit your documents safely on shared PCs without worrying about lingering cloud account credentials.
Excellent compatibility with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Does not force persistent cloud account syncing on local shared computers.Free, lightweight, and fast to install on any Windows PC.Familiar tabbed user interface reduces the learning curve for new users.
microsoft office alternative - wps office

Frequently Asked Questions

Why do Microsoft 365 credentials keep coming back after deleting them?

Windows 10 integrates Microsoft 365 accounts deeply into the OS via the 'Access work or school' feature and the Office Identity registry key. If the account isn't disconnected at the system settings level, background sync services will force the credentials to regenerate.

Can I automate the removal of credentials on shared PCs?

Yes. IT administrators can create PowerShell scripts or utilize Group Policy Objects (GPO) to clear credential manager caches upon user logoff. You can also configure 'Shared PC Mode' in Windows, which automatically deletes user profiles upon sign-out.

Does clearing browser autofill remove Office app credentials?

No. Clearing Microsoft Edge or Chrome password and autofill data only affects web-based browser sessions. Desktop Office applications utilize the Windows Credential Manager and local registry keys, which must be cleared separately.

How do I prevent users from staying signed in on a public computer?

You can configure Windows 10/11 with a dedicated Guest account that resets upon logout, or use Intune to apply a Shared PC provisioning package. This ensures all local data, including Office cached identities, is wiped automatically between sessions.