What happens when you delete a Microsoft account from your laptop

Deleting a Microsoft account from your laptop removes that account's access to the device, but the process works differently depending on whether you're removing someone else's account or your own. If you're removing another person's account, you simply delete their user profile from Settings. If you're removing your own account and it's the only administrator on the machine, Windows will ask you to create a local account first so you don't lock yourself out.

The account deletion itself doesn't affect your Microsoft account online — your email, OneDrive files, and other Microsoft services remain active. You're only removing the connection between that account and this specific laptop. Any files stored locally on that user profile will be deleted unless you back them up first.

Key Takeaways

  • You can remove a Microsoft account from Settings under Accounts, and Windows will warn you if it's your only administrator account.
  • Files stored in that user's Documents, Desktop, and Downloads folders will be deleted when you remove the account, so back them up first if you need them.
  • Removing the account from your laptop does not delete your Microsoft account itself or affect OneDrive, Outlook, or other online services.
  • If you're the only administrator and want to delete your own account, create a local account with admin rights before you proceed.

How to remove another person's Microsoft account

Open Settings by pressing Windows key + I, then go to Accounts in the left sidebar. Click Other people to see all user accounts on the laptop. Find the account you want to remove and click it, then click Remove. Windows will ask you to confirm — click Delete account and data.

Windows will then delete the user profile, which includes all files in that person's Documents, Desktop, Downloads, and other personal folders. This action cannot be undone, so if there are files you need to keep, copy them to another account or external drive before you delete the profile.

How to remove your own Microsoft account when you're the only admin

If you're the only administrator on the laptop and you want to delete your own Microsoft account, you must create a new local administrator account first. Open Settings, go to Accounts, then click Other people. Click Add account and choose I don't have this person's sign-in information. Select Add a user without a Microsoft account.

Create a username and password for this local account, then finish the setup. Go back to Settings, click your Microsoft account, and select Remove. Windows will delete your profile and all its files. You can then sign in with the new local account you created.

Backing up files before you delete an account

Before you remove any account, copy important files to a safe location. The easiest way is to plug in an external drive or USB stick, then open File Explorer and navigate to the user profile you're about to delete. Go to C:\Users\[username] and copy the Documents, Desktop, Downloads, and Pictures folders to your external drive.

If the account uses OneDrive, check whether files are synced to the cloud first. Open OneDrive on that account and look for a folder icon in the system tray at the bottom right of the screen. Click it and check the Account tab to see which folders are syncing. Files stored only in OneDrive will not be deleted when you remove the account — they stay in your Microsoft account online.

The difference between removing an account and signing out

Signing out of a Microsoft account is temporary and reversible — the account and all its files stay on the laptop. Removing an account is permanent on that device and deletes the user profile and all local files. If you just want to prevent someone from using the laptop without deleting their files, sign them out instead: click the Start menu, click the account icon in the top left, and select Sign out.

You can also temporarily disable an account without deleting it. In Settings under Accounts > Other people, click the account and select Disable. The profile stays on the laptop but cannot be used to sign in. You can re-enable it later from the same menu.

What to do if you can't remove an account

If you see a message that you cannot remove the account, it's usually because that account is the only administrator on the laptop. Create a new local administrator account first using the steps above, then try removing the original account again.

If the account is protected by a PIN or password you don't know, you'll need that password to remove it. If you've forgotten the password, you can reset it from the sign-in screen by clicking I forgot my password and following the recovery steps. Microsoft will send a code to the email or phone number associated with the account.

Frequently Asked Questions

Will deleting the account from my laptop delete my Microsoft account online?

No. Removing an account from your laptop only removes it from that device. Your Microsoft account, email, OneDrive, and all online services remain active and can be accessed from any other device or browser.

Can I recover files after I delete a user account?

Once you delete a user profile, the files are gone from the laptop. If you have a backup or the files were synced to OneDrive, you can recover them from there. Otherwise, recovery is not possible through Windows.

What if I delete my own account by mistake?

If you deleted your account and can still sign in with another administrator account, you cannot undo the deletion. However, if you synced files to OneDrive, they're still in your Microsoft account online. You can sign back in to OneDrive from any device to access them.

Do I need to uninstall Microsoft programs before I delete the account?

No. Programs installed on the laptop remain installed and usable by other accounts. Deleting a user account only removes that person's personal files and settings, not software.