Sign-in & Login Problems

How to Completely Sign Out of Microsoft 365 on a Shared PC

Rana GarciaRana Garcia Nov 2, 2026 869 views

Question details

The user needs to fully log out of a Microsoft 365 account on a shared computer so that subsequent users do not automatically gain access to their profile and documents.

How to Completely Sign Out of Microsoft 365 on a Shared PC
Product
Microsoft 365
Device & OS
Windows
Scenario
Using Microsoft 365 desktop applications on a shared or public computer where multiple users log in.
Observed behavior
Shared computers automatically sign in the next user with the previous Microsoft 365 account because login credentials remain stored on the system.
Before you start

Ensure all your current documents are saved and synced to your cloud storage, as removing credentials will immediately disconnect your account from the local Microsoft 365 applications.

Solution 1Recommended

Switch Accounts and Clear Windows Credential Manager

Manually switch your Office account and remove saved login details from the Windows Credential Manager to ensure your session is completely terminated.

By default, Windows stores Microsoft 365 authentication tokens to provide a seamless login experience. To completely sign out on a shared PC, you must manually remove these stored tokens so the next user is forced to authenticate from scratch.

1
Switch Office Account

Open any Microsoft Office application, such as Word or Excel. Navigate to 'File' > 'Account' (or 'Office Account'), select 'Switch account', and then close all open Office applications completely.

2
Open Credential Manager

Click the Windows Start menu, type 'Control Panel' in the search bar, and press Enter. Go to 'User Accounts' and click on 'Credential Manager'.

3
Remove Stored Credentials

Look through both the 'Web Credentials' and 'Windows Credentials' tabs. Find any items related to Microsoft 365, Office, or Outlook. Click on each relevant entry to expand it, and select 'Remove'. The next time Office is launched, it will require a fresh sign-in.

Switch Accounts and Clear Windows Credential Manager
System Restart: Restarting the shared PC after clearing your credentials is an extra safety measure to ensure all cached session tokens are wiped from the active memory.
Free Microsoft Office alternative

Try WPS Office for Easy Account Management on Shared PCs

Managing profiles on shared computers can be tedious with Microsoft 365's persistent login tokens. WPS Office offers a highly compatible, free alternative with straightforward account management, ensuring your privacy remains intact when you step away.

  1. 1. Download and Install: Visit the official WPS Office website to download the free installation package tailored for your operating system.
  2. 2. Open and Edit: Launch WPS Office and immediately start viewing or editing your documents without being forced to sign in if you only need local access.
  3. 3. Sign Out Easily: If you choose to sign in for cloud features, simply click your profile icon in the top right corner and select 'Sign Out' when you are finished.
Free and lightweight Office suite for everyday tasksFully compatible with Microsoft Word, Excel, and PowerPoint formatsStraightforward account sign-in and sign-out processFamiliar user interface with no steep learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft 365 keep me signed in on a shared PC?

Microsoft 365 works closely with Windows to save your login tokens in the Credential Manager. This feature is designed for convenience on personal devices to provide single sign-on, but it requires manual clearing on shared computers to prevent unauthorized access.

Does signing out of one Office app sign me out of all of them?

Yes, typically signing out or switching accounts in one Microsoft 365 application, like Word, applies the account change to the entire Office suite on that computer. However, clearing the Credential Manager is the only way to ensure the auto-login tokens are completely removed.

Can I use private browsing to avoid saving Microsoft 365 credentials?

Using private or incognito browsing is a great solution if you are using the web versions of Microsoft 365. However, if you are using the installed desktop applications, private browsing does not apply, and your credentials will still be saved to the local Windows user profile.