Removing a Microsoft account from your Windows PC is straightforward once you know where to look. You go to Settings > Accounts > Email & accounts, select the Microsoft account you want to remove, and click Remove. That’s the short version. But there’s more to it depending on your situation.
People do this for different reasons. Maybe you sold a PC and want to wipe your credentials off it. Maybe you switched to a local account because you’re tired of syncing everything to the cloud. Or maybe someone else’s Microsoft account got added to your machine by mistake.
Whatever the reason, Windows makes this slightly confusing because there are two different types of Microsoft accounts on a PC:
- The primary sign-in account (the one you use to log into Windows itself)
- Secondary accounts added to apps like Mail, Outlook, or the Microsoft Store
Removing both works differently, so I’ll cover each one.
Before You Start: Things to Know
A few things worth checking before you remove any account:
- If the Microsoft account is your only Windows login, you’ll need to switch to a local account first before removing it
- Removing an account deletes locally synced data like email, contacts, and calendar entries tied to that account on this device (your actual cloud data stays safe)
- You need admin rights to remove accounts from a PC
- On Windows 11, the steps look slightly different from Windows 10, but the logic is the same
How to Remove a Secondary Microsoft Account from Windows
This is the easier of the two situations. If the Microsoft account was added just for apps like Mail or OneDrive, here’s how to remove it.

On Windows 11
- Open Settings (Win + I)
- Go to Accounts
- Click Email & accounts
- Find the Microsoft account you want to remove
- Click on it, then select Remove
- Confirm by clicking Yes
Done. The account is gone from the system.
On Windows 10
- Open Settings (Win + I)
- Go to Accounts
- Click Email & accounts on the left sidebar
- Under “Accounts used by other apps,” find your Microsoft account
- Click it, then hit Remove
- Confirm removal
If the Remove button is greyed out, it usually means the account is still connected to an app. Disconnect it from the app first (like Outlook or Mail), then try removing it again.
How to Remove Your Primary Microsoft Account (Switch to Local Account)
This is what most people actually need. If you signed into Windows with your Microsoft account, you can’t just delete it directly. You have to convert it to a local account first.
Step 1: Create or Switch to a Local Account
On Windows 11:
- Open Settings > Accounts > Your info
- Scroll down and click Sign in with a local account instead
- Windows will ask you to verify your identity (enter your Microsoft account password or use Windows Hello)
- Enter a new local account username and password
- Click Next, then Sign out and finish
Your PC restarts and logs you into the local account. Your Microsoft account is no longer the active login.
On Windows 10:
- Open Settings > Accounts > Your info
- Click Sign in with a local account instead
- Verify your current password
- Set up a username and password for the local account
- Click Sign out and finish
Step 2: Remove the Microsoft Account from the PC
After switching to a local account, you can remove the Microsoft account completely:
- Sign back in with your new local account
- Go to Settings > Accounts > Email & accounts
- Find your old Microsoft account under “Accounts used by other apps”
- Click it and select Remove
That’s it. Your Microsoft account is now disconnected from the machine entirely.
Removing Another User’s Microsoft Account from Your PC
If someone else signed into Windows with their Microsoft account on your PC and you want to remove it, you’ll do it through the family and other users section.
- Open Settings > Accounts > Family & other users
- Under “Other users,” find the account you want to remove
- Click on the account name
- Select Remove
- Windows will warn you that this removes all data for that user on this device
- Click Delete account and data to confirm
This removes their login and all local files associated with their profile. Their actual Microsoft account and cloud data are not affected.
Removing a Microsoft Account from the Control Panel (Older Method)
Some people still prefer Control Panel, and it works too. This is useful if the Settings app isn’t cooperating.
- Press Win + R, type
control, and hit Enter - Go to User Accounts
- Click Manage another account
- Select the account you want to remove
- Click Delete the account
- Choose to keep or delete their files, then confirm
This method works on both Windows 10 and 11.
What Happens to Your Data After Removal
People worry about this, so here’s a clear breakdown:
| Data Type | What Happens After Removal |
|---|---|
| Microsoft account (cloud) | Stays intact, not affected |
| OneDrive files (cloud) | Still accessible from other devices |
| Locally synced files | Removed from this PC only |
| Emails in Mail app | Removed from this device |
| Purchased apps | Still tied to your Microsoft account |
| Windows settings sync | Stops syncing to this PC |
| Local files in user folder | Deleted if you choose to delete during removal |
Your Microsoft account itself is not deleted. You’re just disconnecting it from that particular PC.
Troubleshooting Common Problems
Remove Button is Greyed Out
This happens when the account is your current active sign-in. Switch to a local account first (as covered above), then try removing it.
Can’t Switch to Local Account
On Windows 11 Home in some regions, Microsoft has made it harder to use local accounts. If you’re setting up fresh, you can bypass this during setup by disconnecting your internet. On an existing setup, the option should still be in Settings > Accounts > Your info.
Account Keeps Reappearing
Some apps like Office or OneDrive re-add the account automatically when launched. Sign out of those apps individually before removing the account from Windows, and the problem stops.
Access Denied Error
You need administrator privileges to remove accounts. If your account is a standard user, you’ll need to either ask the admin or elevate your own account first through Settings > Accounts > Family & other users.
Removing a Microsoft Account via Registry (Advanced)
Only do this if the standard methods fail. This is for experienced users.
- Press Win + R, type
regedit, and hit Enter - Navigate to:
HKEY_USERS - Look for the Security Identifier (SID) associated with the account you want to remove
- Back up the registry before making changes (File > Export)
- Delete the corresponding SID key
This is a last resort. Microsoft’s own support documentation covers account management in detail at support.microsoft.com, where you can also find live chat support if something goes wrong.
Removing a Microsoft Account from the Microsoft Store Only
Maybe you just want to sign out of the Store without removing the account from the whole system.
- Open the Microsoft Store
- Click your profile icon at the top right
- Click Sign out
That removes your account from the Store only. Everything else stays connected.
Quick Reference: Which Method Do You Need?
| Your Situation | What to Do |
|---|---|
| Remove an account added to apps | Settings > Accounts > Email & accounts > Remove |
| Remove your own Windows login | Switch to local account first, then remove |
| Remove another user from your PC | Settings > Accounts > Family & other users > Remove |
| Remove account from Microsoft Store only | Sign out inside the Store app |
| Remove button is greyed out | Switch to local account first, then retry |
| Need to remove all traces | Registry method (advanced users only) |
Conclusion
Removing a Microsoft account from a PC comes down to one key distinction: is it your primary Windows login or just a secondary account? If it’s secondary, you can remove it in about 30 seconds through Settings. If it’s your main login, you need to switch to a local account first, then remove the Microsoft account from the app accounts list. Either way, your actual Microsoft account stays safe in the cloud. Nothing is deleted from Microsoft’s servers. You’re just unlinking the device.
FAQs
Does removing a Microsoft account from my PC delete my Microsoft account entirely?
No. Removing it from your PC only disconnects that device. Your Microsoft account, all your cloud data, OneDrive files, purchased apps, and subscriptions remain completely untouched. You can still log into the account on any other device or browser.
I removed my account but Windows is still asking me to sign into Microsoft. Why?
Apps like OneDrive, Office, or Microsoft Teams run in the background and maintain their own sign-in sessions. Removing the account from Windows Settings doesn’t automatically sign you out of those apps. Open each one individually and sign out from within the app.
Can I remove a Microsoft account from a work or school PC?
Usually not without IT administrator approval. Work and school devices are often managed through Intune or Active Directory, and account settings are locked down by policy. Contact your IT department if you need an account removed from a managed device.
After switching to a local account, can I add my Microsoft account back later?
Yes. Go to Settings > Accounts > Your info and click “Sign in with a Microsoft account instead” at any time. The switch is reversible and your data won’t be lost in either direction.
Will removing a Microsoft account affect my Windows 11 activation status?
It depends on how Windows was activated. If your license was tied to your Microsoft account (digital license), switching to a local account might show Windows as unlicensed. You can re-link the license by going to Settings > System > Activation and signing back in with your Microsoft account when needed.
- How to Sign Out of Microsoft Account in Windows 11 - May 9, 2026
- How to Unlock Taskbar in Windows 11 or 10 - May 9, 2026
- How to Remove Microsoft Account from PC Windows 10/11 in 2 Minutes - May 9, 2026
