How to Remove a Microsoft Account from a Shared Windows Computer
Question details
The user needs to remove a Microsoft account from a shared family computer, set up a replacement administrator, and locate missing files that are not showing in the newly created Windows profile.
- Product
- Windows
- Device & OS
- Windows
- Scenario
- Managing user accounts and migrating profiles on a shared family computer.
- Observed behavior
- The user cannot remove the primary Microsoft account, cannot create a replacement administrator, and observes that files are missing from the newly created Windows profile.
Ensure you have administrative privileges on the computer and locate the file directory of your original user profile before making structural changes to the accounts.
Switch the Primary Windows User to a Local Account
Use this method if the Microsoft account you want to remove is currently linked to the primary administrator profile on the Windows computer.
If a Microsoft account is tied to the main administrator profile, Windows will prevent its direct removal. You must first convert the connected account into a local account to decouple the Microsoft credentials from the PC.
Click the Start menu and select Settings (the gear icon), then navigate to the Accounts section.
Click on 'Your info' from the left sidebar to view the current account details.
Click the link that says 'Sign in with a local account instead'. Follow the on-screen prompts to verify your current password and create a new local username and password.
Contact Microsoft Support for Unresolved Account Errors
If you are unable to switch the account or receive specific error codes during the process, reaching out to Microsoft Support is the safest next step.
Switch to WPS Office for Seamless Document Management Across Accounts
When setting up new local accounts on a shared family computer, you don't need to purchase multiple Microsoft 365 subscriptions. WPS Office is a free, lightweight, and easy-to-use alternative that works perfectly for every user on the PC.
- 1. Download the installer: Visit the official WPS Office website and download the free installation file.
- 2. Install on the shared PC: Run the installer. Once installed, it will be available to all local users on the Windows computer.
- 3. Open existing Office files: Double-click any previously saved Microsoft Office documents to open and edit them seamlessly in WPS Office.

Frequently Asked Questions
Why can't I remove my Microsoft account from my Windows computer?
If the Microsoft account is linked to the primary administrator profile on the computer, Windows prevents its direct removal. You must first switch the active user profile to a local account via Settings > Accounts > Your info before you can successfully delete the Microsoft account from the system.
Where did my files go after I created a new Windows profile?
Files associated with the previous Microsoft account are still stored securely within the original user profile folder (typically located in C:\Users\[YourOldUsername]). You can log back into the old profile to access them or use File Explorer to navigate to that folder and copy them to your new desktop.
How do I create a replacement administrator on a shared computer?
Go to Settings > Accounts > Family & other users, and click 'Add someone else to this PC' to set up the new account. Once it is created, click on the new account's name, select 'Change account type', and switch it from a Standard User to an Administrator.




