Remove a Microsoft Account From Windows 10 Without Losing Files

Last updated on November 17th, 2026 at 03:14 pm

Usually the real goal is to stop signing in with a Microsoft account on this PC without losing a file. Windows 10 has no Remove button for your own sign-in, so you switch instead. Open Settings > Accounts > Your info, select Sign in with a local account instead, and follow the prompts. Your files, apps and desktop stay put.

Applies to: Windows 10 Home and Pro. Labels can vary slightly between Windows 10 versions.

Where a Microsoft account lives on Windows 10

A Microsoft account can be attached to a PC in several separate places. Removing it from one leaves the others alone, which is why people often think the job didn’t work.

Where it’s attachedWhere to change itWhat removing it doesWhat survives
Your Windows sign-inAccounts > Your infoTurns your profile into a local accountAll your files, apps and settings on the PC
Mail, Calendar, Store and other appsAccounts > Email & accountsApps stop using that accountThe account itself and your profile
A work or school connectionAccounts > Access work or schoolDisconnects the organization’s sign-inThe work or school account online
Another person’s profileAccounts > Family & other usersDeletes that profile and its files from this PCTheir Microsoft account online
The online device listaccount.microsoft.com/devicesUnlinks the PC from your accountEverything on the PC

Nothing in this list closes the Microsoft account itself. Your email, OneDrive storage and purchases stay online unless you separately choose to close the account on Microsoft’s website.

Save the recovery key and OneDrive files first

Spend five minutes on these before you change anything. They’re the two things people most often regret skipping.

  • The encryption recovery key. If your PC uses BitLocker or device encryption, the recovery key is often backed up to your Microsoft account. Microsoft’s Finding your BitLocker recovery key page explains where it can be stored and warns that Microsoft support can’t recreate a lost key. Sign in at account.microsoft.com/devices/recoverykey, and write down or print any key listed for this PC.
  • OneDrive files that live only online. Files marked as online-only aren’t on the drive. After the switch you’ll need to sign in to OneDrive again to open them, so download anything you need offline first.
  • Your current password or PIN. Windows asks you to confirm who you are before it lets you switch.

Switch the sign-in to a local account

Microsoft’s Change from a local account to a Microsoft account page covers this direction too, in its section on changing from a Microsoft account to a local account, and lists Windows 10.

  1. Select Start > Settings > Accounts > Your info.
  2. Select Sign in with a local account instead. This link only appears when you’re signed in with a Microsoft account.
Windows 10 Settings, Accounts, Your info with Sign in with a local account instead highlighted
Select Sign in with a local account instead (1) on the Your info page.
  1. Select Next, then enter your current PIN or password to confirm.
  2. Type a user name, a password and a password hint for the local account, then select Next. The user name can’t match another account on the PC.
  3. Select Sign out and finish, then sign back in with the local account.

Pick a password you’ll remember. A local account has no online reset, so a forgotten password is much harder to recover than with a Microsoft account. The password hint is worth filling in for that reason, and Microsoft recommends creating a password reset disk for the new local account.

If you’re about to reinstall anyway, there’s a cleaner route: set up Windows 10 with a local account from the start, so there’s no Microsoft account to remove later.

The local account link isn’t there

If you don’t see Sign in with a local account instead, check the name on the Your info page. A link offering to sign in with a Microsoft account means you’re already on a local account. If the PC belongs to your employer or school, the option may be blocked by the organization; ask the IT team rather than forcing a change.

Clear the account out of Mail, Store and other apps

Signing in locally doesn’t stop apps from using the Microsoft account. Microsoft’s Manage user accounts in Windows page describes this list as the accounts used by email, calendar and contacts.

  1. Go to Settings > Accounts > Email & accounts.
  2. Select the Microsoft account in the list. On some Windows 10 versions it sits under Accounts used by other apps instead.
  3. Select Remove and confirm with Yes.

No Remove button usually means the account is still your Windows sign-in, so finish the switch above first. Outlook, Teams and the Microsoft Store may also keep their own sign-in; sign out inside each app if it still shows the account.

Disconnect a work or school sign-in

If the account came from your employer or school, it’s handled on a different page. Open Settings > Accounts > Access work or school, select the account, choose Disconnect and confirm with Yes. Microsoft notes this removes the account’s sign-in information and data from the device but doesn’t delete the account. On a PC the organization owns, disconnecting can remove your access to its apps and files, so check with IT first.

Remove someone else’s profile from this PC

Here’s a common case: Jordan bought a used laptop, and the previous owner’s Microsoft account still shows on the sign-in screen. Jordan needs to sign in with an administrator account (not the one being removed), then:

  1. Go to Settings > Accounts > Family & other users (some versions show Other users).
  2. Select the account, then select Remove.
  3. Read the warning and confirm the option that deletes the account and its data.

That deletes the person’s files on this PC, so copy anything they need first. Their Microsoft account online isn’t affected. There are more routes, including Control Panel, in these steps to remove a user from Windows 10. If the person is a child in a family group, removing the profile doesn’t end Family Safety; the organizer has to remove them from the family group online.

Windows won’t remove the only administrator on a PC. If the account you want gone is the only admin, give another account administrator rights first.

Hand over or sell the PC

Switching accounts isn’t enough before a PC changes hands, because your files and settings stay on it. Microsoft’s checklist for removing a device sets out this order:

  1. Back up your files to an external drive or cloud storage.
  2. Go to Settings > Update & Security > Recovery. Under Reset this PC, select Get started and choose the option to remove everything.
  3. Sign in at account.microsoft.com/devices and remove the PC from your account.

On the devices page, select Remove device for the PC, tick the confirmation box and select Remove. Microsoft’s Remove a device from your Microsoft account page also explains that this frees a slot if you’ve hit the limit of devices that can download Store apps.

Check nothing is left

A quick pass afterward confirms each piece is done:

  • Your info shows Local account under your name, with no email address.
  • Email & accounts no longer lists the Microsoft account (unless you chose to keep it for apps).
  • The sign-in screen shows only the accounts you expect.
  • account.microsoft.com/devices no longer lists the PC, if you removed it.
  • OneDrive and the Microsoft Store ask you to sign in when you open them. That’s expected with a local account.

Related guides

Questions about going local

Will a local account still get Windows updates?

Yes. Windows Update doesn’t depend on the type of account you sign in with, so updates keep arriving as before.

Can I keep the Microsoft account in apps but not for signing in?

Yes. Switch the sign-in to local and leave the account listed in Email & accounts. Apps such as Mail and the Store can keep using it while Windows itself signs in locally.

What if I want to use a different Microsoft account instead?

Then you don’t need a local account at all. Switch to the new account by following these steps to change the Microsoft account on Windows 10.

Do these steps work on Windows 11?

The idea is the same but the pages moved. Use these instructions for removing an account in Windows 11 instead.

If you change your mind later, the same Your info page offers to sign in with a Microsoft account, and your local profile is kept when you switch back.