To remove a Microsoft account from your own sign-in, open Settings > Accounts > Your info and select Sign in with a local account instead; to remove someone else's account, delete it under Accounts > Other users.
This guide covers both routes plus accounts used only by apps, work or school accounts, OneDrive, the online devices list and the fixes for when Windows refuses to remove an account.
Switch from a Microsoft account to a local account
This is the way to take the Microsoft account off the profile you use every day without losing that profile. Microsoft documents the same steps for Windows 11 and Windows 10.
The link only appears while you are signed in with a Microsoft account, and the new local user name must differ from every other account on the PC.
- Open Settings and select Accounts > Your info. You can also press Win + R, type
ms-settings:yourinfoand press Enter. - Select Sign in with a local account instead.
- Enter a user name, a password and a password hint for the new local account.
- Select Next, then select Sign out and finish.
- Sign back in with the local user name and password you just created.
Your desktop, files and installed apps stay in the same profile; only the way you sign in changes. A local account has no online password reset, so create a password reset disk or write the password down somewhere safe.
Microsoft recommends signing in with a Microsoft account because it adds sync across devices and online recovery. A local account keeps settings, files and apps on this one PC and needs no internet connection to sign in.
Remove Microsoft account vs switch to local account
"Remove" means different things depending on where the account is attached. Match your situation to a row before you change anything.
| Your situation | Use this | What happens |
|---|---|---|
| You sign in to Windows with the Microsoft account and want to keep using the PC | Your info > Sign in with a local account instead | Same profile and files, local sign-in from now on |
| The Microsoft account is only used by email or other apps | Accounts > Email & accounts | Apps lose the account; your Windows sign-in does not change |
| Another person's Microsoft account user is on the PC | Accounts > Other users > Remove | Their sign-in and data are deleted from this PC; their Microsoft account still exists |
| A work or school account is connected | Accounts > Access work or school > Disconnect | Sign-in information and data from that organization leave the PC |
| OneDrive keeps syncing the account | OneDrive Settings > Account > Unlink this PC | Sync stops; files stay in OneDrive on the web |
| You no longer own the PC | account.microsoft.com/devices > Remove device | The PC leaves your Microsoft account's device list |
| You want the Microsoft account itself gone | Close the account online | The account is marked for closure everywhere, not just on this PC |
Removing an account from Windows never deletes the Microsoft account itself. To get rid of the account everywhere, close your Microsoft account after you have removed it from your devices.
Back up files and confirm administrator access
Deleting a user removes that user's data from the PC, and only an administrator can delete users or profiles. Settle both points first.
- Open Settings > Accounts > Your info and look under your name. Administrator means you can remove accounts; a standard account cannot.
- If you are not an administrator, sign in with an account that is, or ask its owner to change your account type.
- Copy the Desktop, Documents, Pictures and Downloads folders of the account you are about to delete to an external drive or another account.
- If the PC uses BitLocker or device encryption, note the recovery key stored in the Microsoft account at
aka.ms/myrecoverykeybefore you close or remove that account. - Make sure at least one other administrator account will remain on the PC after the removal.
An administrator changes another user's type from Accounts > Other users: expand the user, select Change account type next to Account options, pick Administrator and select OK.

Remove a Microsoft account from Email & accounts
Windows keeps a separate list of accounts that email, calendar, contacts and other apps sign in with. A Microsoft account can sit in that list even when you sign in to Windows with a different account.
- Open Settings and select Accounts > Email & accounts, or press Win + R, type
ms-settings:emailandaccountsand press Enter. - Find the Microsoft account under Accounts used by email, calendar, and contacts or in the list of accounts used by other apps.
- Select the account to expand its options.
- Choose the option to remove the account from this device, then confirm the prompt.
- Open the app that used the account and check that it no longer signs in with it.
If the account in this list is the same one you sign in to Windows with, switch the Windows sign-in to a local account first, then come back to this page.
Classic Outlook keeps its own account list, so remove the email account from Outlook as well if Outlook still shows the mailbox.

Delete a Microsoft account user profile from the PC
Use this for a family member's, previous owner's or old second account. You must be signed in as a different administrator, because the account you are using does not appear under Other users.
- Sign in with an administrator account other than the one you want to delete.
- Open Settings and select Accounts > Other users, or run
ms-settings:otherusersfrom Win + R. - Under Other users, select the account to expand its flyout.
- Next to Account and data, select Remove.
- Confirm the prompt to delete the account and its data.
Windows removes the person's sign-in information and data from the device, but the person's Microsoft account keeps working on the web and on other PCs.
Computer Management, Command Prompt and PowerShell can also delete user accounts on Windows 11 when Settings will not cooperate.
Remove work or school accounts from Windows
A work or school account added for email, Teams or company resources is listed separately from personal Microsoft accounts. Disconnecting it does not delete the account at the organization.
- Open Settings and select Accounts > Access work or school, or run
ms-settings:workplacefrom Win + R. - Select the dropdown next to the work or school account.
- Select Disconnect.
- Select Yes to confirm.
If the PC is gone or lost, sign in at myaccount.microsoft.com/device-list, expand the device and select Disable lost device.
Disconnecting from Windows does not remove a work mailbox from Outlook, which has its own account settings.
How to unlink OneDrive from this PC
OneDrive signs in separately and keeps syncing a Microsoft account even after you switch Windows to a local account. Unlinking stops that without deleting any files online.
- Select the OneDrive cloud icon in the notification area of the taskbar.
- Select the Help and Settings icon, then select Settings.
- Open the Account tab.
- Select Unlink this PC, then select Unlink account.
Files marked Available on this device stay in the PC's OneDrive folders. Files marked Available when online are then reachable only from OneDrive on the web.

Remove device from Microsoft account
Removing the account from Windows does not take the PC off your Microsoft account's device list. Do this when you sell, give away or retire the computer.
- On any device, sign in at
account.microsoft.com/deviceswith the Microsoft account. - Find the PC you want to remove and select Remove device.
- Tick the box to confirm the removal, then select Remove.
Microsoft Store apps and content can be downloaded to 10 devices per account. To free one of those slots while keeping the PC listed, select Unlink at account.microsoft.com/devices/content instead.
Before handing a PC to someone else, reset Windows from its recovery options as well, since removing the device online does not wipe the drive.

Where to remove Microsoft account in Windows 11 and Windows 10 settings
Microsoft documents one set of Settings pages for both Windows 11 and Windows 10. Each one handles a different kind of account attachment, and each has a shortcut you can paste into Win + R.
| Settings page | Shortcut | What you remove there |
|---|---|---|
| Accounts > Your info | ms-settings:yourinfo |
The Microsoft account you sign in to Windows with (by switching to local) |
| Accounts > Other users | ms-settings:otherusers |
Other people's user accounts and their data |
| Accounts > Email & accounts | ms-settings:emailandaccounts |
Accounts used only by email, calendar, contacts and other apps |
| Accounts > Access work or school | ms-settings:workplace |
Work or school accounts and their sign-in data |
| System > Activation | Settings search: Activation | Nothing; shows whether the digital license is linked to a Microsoft account |
Check what type of Microsoft account is connected
Run this before you start, to pick the right method, and again afterwards, to prove the Microsoft account is gone.
- Open Settings > Accounts > Your info.
- Look above the word Administrator under your name: an email address means a Microsoft account, no email address means a local account.
- Open Accounts > Access work or school and check whether a work or school account is still listed.
- Open Accounts > Email & accounts and check that the Microsoft account no longer appears for apps.
- Open Accounts > Other users and check that a deleted user is no longer listed.
After a successful switch, Your info shows Sign in with a Microsoft account instead where the local-account link used to be.
How to switch back to a Microsoft account on Windows
Switching to a local account is reversible at any time, and the same profile is reconnected to the Microsoft account.
- Open Settings > Accounts > Your info.
- Select Sign in with a Microsoft account instead.
- Follow the prompts to sign in with the Microsoft account, then select Next.
- Select Sign out and finish, then sign back in with the Microsoft account.
Keep the Microsoft account password and its security info at hand when you switch back to a Microsoft account, because Windows asks you to sign in to it.
What to do if Windows won’t let you remove the account
Most refusals come from being signed in with the wrong account, missing administrator rights or an organization managing the PC.
"Sign in with a local account instead" is missing
The link appears only while you are signed in with a personal Microsoft account; local and work accounts do not show it.
- Open Settings > Accounts > Your info and check for an email address above your account type.
- If no email address appears, you already use a local account; remove the Microsoft account from Email & accounts instead.
- If the account is a work or school account, disconnect it from Access work or school or ask the organization's IT support.
The Remove option is missing under Other users
You are signed in to the account you want to remove, or your account is not an administrator.
- Open Accounts > Other users and select Add account.
- Select I don't have this person's sign-in information, then Add a user without a Microsoft account, and create a local user.
- Expand the new user, select Change account type, choose Administrator and select OK.
- Sign out, sign in with the new administrator account and remove the Microsoft account user from Other users.
Disconnect is unavailable for a work or school account
A device enrolled in the organization's management lets its administrators enforce security policies on the PC.
- Open Accounts > Access work or school and note the organization name shown with the account.
- Ask that organization's IT support to retire or unenroll the device.
- Disconnect the account once the organization has released the PC.
The user profile will not delete
The profile still exists in System Properties after the account was removed, or the account doing the deletion is not an administrator.
- Sign in with an administrator account and restart the PC so no other user session is open.
- Open Control Panel, set View by to Large icons and select System.
- Select Advanced system settings.
- Under User Profiles, select Settings.
- Select the profile you want to remove and select Delete.
Does removing Microsoft account affect Windows activation and BitLocker?
Two features lean on the Microsoft account in ways that only show up later, after a hardware change or a recovery prompt.
| Feature | Link to the Microsoft account | What to do first |
|---|---|---|
| Windows activation | Settings > System > Activation shows "Windows is activated with a digital license linked to your Microsoft account" when linked | Keep the link if you may replace the motherboard; the Activation troubleshooter reactivates through the linked account |
| BitLocker and device encryption | The 48-digit recovery key may be backed up to the Microsoft account | Note the key from aka.ms/myrecoverykey before you close the account; Microsoft Support cannot recreate a lost key |
| OneDrive files | OneDrive signs in with the Microsoft account | Unlink this PC; files stay online |
| Store apps and Xbox games | Purchases belong to the Microsoft account that bought them | Sign the Store and Xbox app in with that account again if games stop launching |

Remove Microsoft account from computer FAQ
Will removing a Microsoft account delete my files from the PC?
Switching your own sign-in to a local account keeps the same profile, so files and apps stay. Removing a user under Accounts > Other users is different: Windows deletes that user's sign-in information and data from the device, so back up their folders first.
Can I remove my Microsoft account without losing access to Windows?
Yes. Select Sign in with a local account instead on Accounts > Your info, set a local user name and password, then select Sign out and finish. You sign back in with the local password, and nothing on the PC is lost.
What is the difference between switching to a local account and deleting the Microsoft account user?
Switching changes how you sign in to the same profile, keeping files and apps. Deleting the user under Other users removes the profile and its data from the PC. Neither one closes the Microsoft account online.
How do I remove a Microsoft account that only appears under apps or email?
Open Settings > Accounts > Email & accounts, select the account in the list used by email, calendar and contacts or by other apps, and remove it from the device. Your Windows sign-in is not affected.
What should I do if the Remove button is missing or grayed out?
Sign in with a different administrator account. Windows does not list the account you are currently using under Other users, and standard accounts cannot remove users. Create a local administrator first if no other one exists.
Does removing a Microsoft account from my PC delete the account?
No. Removing or disconnecting an account only clears its sign-in information and data from that device. The Microsoft account still works on the web and other devices until you close it at account.microsoft.com.
How do I remove my old computer from my Microsoft account?
Sign in at account.microsoft.com/devices, find the PC, select Remove device, tick the confirmation box and select Remove. This works from any device, even when you no longer have the old computer.
Will I lose my OneDrive files if I remove the Microsoft account?
No. Unlinking OneDrive or removing the account leaves every file in OneDrive on the web. Files marked Available on this device also stay on the PC, while online-only files are reachable from the web only.
Should you remove Microsoft account from Windows 11?
Switch to a local account when you only want the Microsoft account off your own sign-in, and delete the user under Other users only for accounts nobody will use again. The switch keeps your profile, files and apps intact and can be reversed in four steps, while deleting a user wipes that user's data from the PC. Note the BitLocker recovery key and the activation link before you close any account.





