How to Unlink a Microsoft Account From a Local Profile on Windows 11
🔍 WiseChecker

How to Unlink a Microsoft Account From a Local Profile on Windows 11

Quick fix: Open Settings → Accounts → Your info. Click Sign in with a local account instead. Enter your current Microsoft Account password to confirm, then set a local username and password. The user profile folder stays; apps and documents remain. Microsoft Account binding is removed.

You want to disconnect your Microsoft Account from this Windows install but keep all files and apps. Common reasons: privacy concerns about telemetry tied to MSA, want to use the PC offline, switching to a child account managed elsewhere, or simply preferring a local-only setup. The unlink is a supported one-button operation.

Symptom: Want to convert Microsoft Account sign-in to local account without losing user profile, files, or installed apps.
Affects: Windows 11 (and Windows 10) with Microsoft Account sign-in.
Fix time: ~10 minutes.

ADVERTISEMENT

What causes this

The Microsoft Account binding is metadata that links the Windows user profile (a local folder at C:\Users\<name>) to an Online MSA. Unlinking removes the binding without deleting the profile. Documents stay. Apps stay. Browser bookmarks/passwords stay if they’re stored locally; if they’re synced to MSA, you lose access to the cloud sync but the local data remains.

What changes after unlink: Microsoft Store sign-out, OneDrive disconnect, Office apps re-prompt for sign-in next launch, and Windows Hello (PIN/face) may need re-setup since it’s tied to MSA.

Method 1: Convert to local account via Settings

The standard route.

  1. Open Settings → Accounts → Your info.
  2. Click Sign in with a local account instead.
  3. Confirm at the prompt: Are you sure you want to switch to a local account?
  4. Enter your current MSA password to verify. Click Next.
  5. Set local account details:
    • Username: short name (becomes folder name C:\Users\username for new accounts; existing folder remains as-is).
    • Password: pick a strong one if needed for security.
    • Password hint: helpful reminder.
  6. Click Next → Sign out and finish. Windows signs out.
  7. At the sign-in screen, sign in with the new local username and password. You land in your existing user profile.
  8. Verify: Settings → Accounts → Your info now shows local account, no email.

This is the canonical path. Takes ~10 minutes including reboot.

ADVERTISEMENT

Method 2: Disconnect OneDrive and Microsoft Store after unlinking

For a complete cleanup after Method 1.

  1. After signing in as local: open OneDrive client (cloud icon in system tray). Right-click → Settings → Account → Unlink this PC. Confirm. OneDrive disconnects. Files in OneDrive folder remain locally.
  2. Open Microsoft Store. Click profile icon (top right). It shows the previously-linked MSA. Click Sign out. (You can sign in to Store later with a different MSA without affecting Windows account.)
  3. Open Outlook (if installed). File → Account Settings. Remove any MSA-linked Outlook accounts. Re-add as IMAP/POP if you still need that email.
  4. Open Edge. Settings → Profiles → Sign out. Browser is now signed out of MSA — bookmarks remain locally but don’t sync.
  5. For Windows Hello: Settings → Accounts → Sign-in options → PIN. The PIN may still work; if not, set up a new one. Face/fingerprint may need re-enrollment since they were linked to MSA.
  6. For Xbox app, Photos, Microsoft 365 apps: each prompts for sign-in on next launch. Sign in to a different MSA if needed.

This cleans up the secondary MSA connections.

Method 3: Use netplwiz for legacy account management

For advanced control over user accounts.

  1. Press Win + R, type netplwiz, press Enter.
  2. The User Accounts dialog shows all accounts on the PC.
  3. Select your current account. Click PropertiesGroup Membership tab. Verify it’s in the Administrators group.
  4. For account name change: click PropertiesGeneral tab → edit User name and Full name. Affects the display name but not the user profile folder.
  5. For deeper local-only setup: untick Users must enter a user name and password to use this computer. (Auto-login on boot.) Useful for single-user home PCs.
  6. For removing the MSA from the “Other users” section if a second MSA was added: Settings → Accounts → Other users → pick MSA → Remove.
  7. For multiple MSAs sharing one PC: each gets a separate user profile. To consolidate, sign in as the main, copy needed files from the other’s profile, then delete the other account.

netplwiz is the legacy tool; use for fine control over local accounts.

How to verify the fix worked

  • Settings → Accounts → Your info shows local account, no email displayed.
  • Sign out and sign back in. The sign-in screen shows your local username, not an MSA email.
  • Files in C:\Users\<username> are intact.
  • Installed apps still launch (some may prompt for sign-in but that’s app-level, not Windows).

If none of these work

If the “Sign in with a local account instead” option is greyed out or missing, the cause is usually one of: Domain-joined PC (work or school): Settings → Accounts → Access work or school shows the domain account. You can’t convert a domain-joined PC to a local account without leaving the domain first. Azure AD-joined PC: same as domain — remove the AAD join first via Settings → Accounts → Access work or school → Disconnect. Family Safety / Child account: child accounts can’t be unlinked from their parent’s MSA without removing from the Family group via account.microsoft.com/family. For BitLocker-encrypted PCs: ensure you have the BitLocker recovery key saved before unlinking — if PIN/password recovery fails post-unlink, you’ll need the recovery key to unlock. Get from account.microsoft.com/devices/recoverykey before unlinking. Last resort if you’re locked out: reset MSA password at account.microsoft.com. Sign in. Then try the unlink again.

Bottom line: Settings → Accounts → Your info → Sign in with a local account instead. Confirms with MSA password, sets local username. User profile preserved.

ADVERTISEMENT