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.
Affects: Windows 11 (and Windows 10) with Microsoft Account sign-in.
Fix time: ~10 minutes.
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.
- Open Settings → Accounts → Your info.
- Click Sign in with a local account instead.
- Confirm at the prompt: Are you sure you want to switch to a local account?
- Enter your current MSA password to verify. Click Next.
- Set local account details:
- Username: short name (becomes folder name
C:\Users\usernamefor new accounts; existing folder remains as-is). - Password: pick a strong one if needed for security.
- Password hint: helpful reminder.
- Username: short name (becomes folder name
- Click Next → Sign out and finish. Windows signs out.
- At the sign-in screen, sign in with the new local username and password. You land in your existing user profile.
- Verify: Settings → Accounts → Your info now shows local account, no email.
This is the canonical path. Takes ~10 minutes including reboot.
Method 2: Disconnect OneDrive and Microsoft Store after unlinking
For a complete cleanup after Method 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.
- 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.)
- Open Outlook (if installed). File → Account Settings. Remove any MSA-linked Outlook accounts. Re-add as IMAP/POP if you still need that email.
- Open Edge. Settings → Profiles → Sign out. Browser is now signed out of MSA — bookmarks remain locally but don’t sync.
- 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.
- 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.
- Press
Win + R, typenetplwiz, press Enter. - The User Accounts dialog shows all accounts on the PC.
- Select your current account. Click Properties → Group Membership tab. Verify it’s in the Administrators group.
- For account name change: click Properties → General tab → edit User name and Full name. Affects the display name but not the user profile folder.
- 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.
- For removing the MSA from the “Other users” section if a second MSA was added: Settings → Accounts → Other users → pick MSA → Remove.
- 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.