How to Fix Microsoft 365 Student Account Sign-in Issues on a Shared Computer
Question details
The user is unable to log into their Microsoft 365 Student account because the computer is incorrectly linking to a friend's Microsoft account credentials.

- Product
- Microsoft 365
- Device & OS
- Windows 10 / 11
- Scenario
- Attempting to access a Microsoft 365 Student subscription on a computer that was previously used by a friend.
- Observed behavior
- Microsoft Office apps prioritize the friend's saved account credentials, blocking the user from signing in and activating their own student subscription.
Ensure you have your correct Microsoft 365 Student email address and password ready, and verify through your school portal that your student subscription is currently active.
Sign Out and Remove the Friend's Microsoft Account
Windows and Office often prioritize existing logged-in accounts. Removing the old account forces the system to prompt you for your student credentials.
By default, Windows saves Microsoft account credentials system-wide. Removing the conflicting account from Windows settings is usually required before Office will accept a new student login.
Open any Microsoft Office application like Word or Excel. Click on the profile icon or name at the top right corner, and select 'Sign out'.
Click the Windows Start menu, select the gear icon to open Settings, and navigate to the 'Accounts' section.
Click on 'Email & accounts' in the left sidebar or main menu. Locate your friend's account in the list, click on it, and select 'Remove'.
Restart your computer, open a Microsoft Office application, and sign in using your Microsoft 365 Student email and password.

Use the Microsoft Support and Recovery Assistant
If manually removing the account doesn't work, Microsoft's official diagnostic tool can automatically clear stubborn credentials and fix sign-in glitches.
Reinstall Office from the Microsoft 365 Education Page
When local licensing files are corrupted or persistently linked to the wrong account, a clean installation resolves the problem.
Tired of Microsoft 365 Account Login Issues? Try WPS Office
If Microsoft 365 sign-in errors and subscription conflicts are slowing down your studies, switch to WPS Office. It's a completely free, lightweight alternative that lets you view, edit, and create documents without complex account requirements or subscription fees.
- 1. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installer and follow the simple on-screen instructions.
- 3. Open your files instantly: Launch WPS Office and immediately open your existing Microsoft Office files without worrying about subscription sign-in barriers.

Frequently Asked Questions
Why is Microsoft Office logging into the wrong account automatically?
Windows often saves Microsoft account credentials in its system-wide 'Email & accounts' settings. If a friend previously logged into their account on your PC, Office may automatically detect and default to those saved credentials.
Will I lose my files if I sign out of my friend's Microsoft account?
No, files saved locally on your computer's hard drive will remain safe. However, you will lose access to any files stored specifically on your friend's OneDrive cloud storage until they share them with your student account.
What if I don't see the 'Remove' button for the account in Windows Settings?
If the account is set as the primary administrator or is a connected organization profile, you may need to go to Settings > Accounts > Access work or school to disconnect it, rather than the standard Email & accounts page.
Can I use both Microsoft accounts on the same computer?
Yes, you can add multiple accounts in Windows. However, to avoid licensing conflicts in Microsoft 365 apps, it's highly recommended to sign into the Office applications using only the account that holds the active student subscription.




