If you want to stop using a Microsoft account on Windows 10—either to switch to a local account or to prevent others from signing in with one—there are several built-in methods that work without third-party tools. This guide explains how to remove your own Microsoft account, block new Microsoft account creation on the device, and what to do if you’re managing a shared or family PC.
Why Windows 10 Pushes Microsoft Accounts
Windows 10 is designed to encourage Microsoft account sign-in because it syncs settings, files, and app data across devices and integrates with OneDrive, Office, and the Microsoft Store. However, a Microsoft account is not required for basic use. You can create a local account during setup by disconnecting from the internet or by choosing the “Domain join instead” option (which appears after a few clicks). Once you’re already signed in with a Microsoft account, you can switch to a local account through the Settings app—no data loss, though some features like syncing and OneDrive will stop working.
Switch Your Own Account to a Local Account
The most common request is to stop using a Microsoft account on your own PC. Here’s how to do it:
- Open Settings (Win + I) and go to Accounts > Your info.
- Click Sign in with a local account instead.
- Enter your current Microsoft account password to verify you’re the owner.
- Choose a new username, password, and password hint for the local account.
- Click Sign out and finish. You’ll be signed out, and after signing back in, you’ll be using a local account.
This does not delete your Microsoft account online; it only disconnects it from this PC. You can sign in with a Microsoft account again later if you change your mind.
Block Microsoft Account Creation for Other Users
If you don’t want other people who use your PC to create or sign in with Microsoft accounts, you can enforce local-only accounts via Group Policy (Windows 10 Pro/Enterprise) or the registry (all editions). This is useful for families or small offices.
Group Policy method (Pro/Enterprise):
- Press Win + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration > Administrative Templates > Windows Components > File Explorer.
- Find “Turn off Windows welcome experience” and enable it. This prevents the “Sign in with Microsoft account” prompt during setup.
- Also go to Computer Configuration > Administrative Templates > System > Logon and enable “Do not display the last signed-in user” if you want to hide the previous account.
For a more direct block, use the registry:
- Open Regedit as administrator.
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System. - Create a new DWORD (32-bit) value named
NoConnectedUserand set its value to3(which blocks both Microsoft account sign-in and creation). - Restart the PC.
With NoConnectedUser set to 3, any attempt to sign in with a Microsoft account will be blocked, and new users will only be able to create local accounts.
Remove a Microsoft Account from a Shared PC
If someone else’s Microsoft account is on your PC and you want to remove it entirely:
- Go to Settings > Accounts > Family & other users.
- Select the account you want to remove and click Remove.
- Confirm by clicking Delete account and data.
This deletes the local profile and data associated with that account on this PC. It does not affect the Microsoft account online. Note that you cannot remove an account that is currently signed in; you must sign out of it first.
Block Microsoft Account Sign-in at the Lock Screen
If you want to prevent anyone from entering a Microsoft account email at the login screen, you can use the same NoConnectedUser registry value. Setting it to 3 will hide the Microsoft account sign-in options entirely, forcing local accounts only. This is a strong block that also disables the “Create a Microsoft account” link during user setup.
For a less strict approach, you can set NoConnectedUser to 1 (blocks Microsoft account sign-in but allows local accounts) or 2 (blocks local accounts but allows Microsoft accounts). Value 3 blocks both.
Common Problems and Misconceptions
“I disabled the Microsoft account but my apps still ask for it.” Some built-in apps (Mail, Calendar, Store) may still prompt for a Microsoft account because they rely on it for cloud features. You can often use them with a local account, but you’ll lose syncing and cloud storage.
“I can’t switch to a local account because my password is wrong.” If you forgot your Microsoft password, you must reset it online first. You cannot switch to a local account without verifying your current Microsoft credentials.
“Does blocking Microsoft accounts affect Windows Update?” No. Windows Update works with local accounts. However, some Store apps and OneDrive might not function fully without a Microsoft account.
“Will I lose my files?” Switching from a Microsoft account to a local account does not delete your files. Your user profile folder remains intact, and your files stay on the PC. However, if you had files only in OneDrive and not synced locally, they may become inaccessible until you sign in again.
Frequently Asked Questions
Can I disable Microsoft account entirely in Windows 10 Home? Yes, you can use the registry method even on Home edition. The Group Policy editor is not available in Home, but the NoConnectedUser registry value works the same.
What is the difference between a Microsoft account and a local account? A Microsoft account uses an email address and password that syncs across devices; a local account is only on that PC. Local accounts don’t require internet and don’t sync settings.
Will I lose my apps if I switch to a local account? No, apps installed on the PC remain. However, apps that require a Microsoft account (like the Store) may ask you to sign in again when you use them.
How do I stop Windows 10 from asking me to sign in with a Microsoft account during setup? During setup, disconnect from the internet (unplug Ethernet or turn off Wi-Fi) and choose “Create a local account” when prompted. Alternatively, use the NoConnectedUser registry tweak after setup.
Is it safe to edit the registry to block Microsoft accounts? Yes, if you follow the steps carefully. Always back up the registry before making changes, and ensure you have administrator rights. Incorrect registry edits can cause system issues, so only change the specified key.
Alternatives to Full Blocking
If you don’t want to completely block Microsoft accounts but want to limit their use, consider these options:
- Use a local account for daily use and keep a Microsoft account only for the Store or OneDrive.
- Disable online account creation via
NoConnectedUserset to1(blocks Microsoft sign-in but allows local accounts). - Set up a child account with Family Safety to control what they can do, rather than blocking accounts entirely.
- Use a PIN or biometric sign-in to speed up login while still using a Microsoft account.
Blocking Microsoft accounts in Windows 10 is straightforward with the built-in settings and a simple registry tweak. The method you choose depends on whether you want to stop using your own account, prevent others from creating one, or enforce local-only sign-in on a shared PC. Always back up important data before making system changes, and remember that you can reverse these steps at any time.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Desktop Search Widget on Windows 11
- How to Build a Computer Stand (Saturday Workshop)
- Customize Touch Keyboard Themes in Windows 11
- Excel Pivot Table: Change Multiple Field Settings
- WhatsApp: How to Block Unknown Numbers
- How to Exit Vi in Linux: A Simple Guide