logo
search
Microsoft Account Errors

How to Remove a Microsoft Account from a Shared Windows Computer

Maira MehtabMaira Mehtab Sep 27, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Open Windows Settings

Click the Start menu and select Settings (the gear icon), then navigate to the Accounts section.

2
Access your info

Click on 'Your info' from the left sidebar to view the current account details.

3
Sign in with a local account

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.

Locating Missing Files: Files missing from the new desktop are likely still stored in the original user profile. You can sign back into the original profile or navigate to C:\Users\[OldUsername] to access and transfer them.
Free Microsoft Office alternative

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. 1. Download the installer: Visit the official WPS Office website and download the free installation file.
  2. 2. Install on the shared PC: Run the installer. Once installed, it will be available to all local users on the Windows computer.
  3. 3. Open existing Office files: Double-click any previously saved Microsoft Office documents to open and edit them seamlessly in WPS Office.
Highly compatible with all Microsoft Office formats, including Word, Excel, and PowerPoint files.Lightweight design ensures fast performance, even on older shared family computers.Familiar user interface makes it incredibly easy for any family member to use without learning new software.Provides robust office tools entirely for free, eliminating the need to log into Microsoft accounts for basic editing.
microsoft office alternative - 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.