How to Avoid the “Mandatory” Email in Windows 11 — Step-by-Step
In recent years, Microsoft has been encouraging (and in some editions enforcing) the use of a Microsoft account during the initial setup (OOBE) of Windows 11. This means that in some installations you’ll be asked to sign in with a Microsoft email before you can use the system — something many users want to avoid for privacy reasons or simply because they prefer local accounts. Keep in mind that Microsoft is gradually closing some of the bypass “loopholes,” so certain methods may stop working in the future.
Below you’ll find clear, tested methods (from the simplest to the more advanced), step by step, along with warnings and what you lose/gain if you choose a local account.
Warnings Before You Begin
-
Create a backup of your data before performing any clean installation.
-
Local accounts do not have automatic OneDrive sync, Microsoft password recovery, or some Store/Family features.
-
Any “bypass” that alters OOBE behavior may stop working in future updates.
Method 1 — Simple: Disconnect the Internet During Setup
-
During the initial setup (OOBE), when the system asks for Wi-Fi/Internet connection, disconnect it:
-
If using Ethernet: unplug the network cable.
-
If using Wi-Fi: turn off your router or disconnect from the network.
-
-
You should then see an option like “I don’t have internet” or “Set up for offline use,” allowing you to create a local account.
NOTE: In some newer builds, this option is hidden or removed — if it doesn’t appear, see Method 2.
Method 2 — Use Command Prompt (Shift + F10) — OOBE\BYPASSNRO / start ms-cxh:localonly
This method works in many editions and has been widely used:
A. Steps (classic OOBE\BYPASSNRO method):
-
In OOBE, when you reach the sign-in page, press Shift + F10 → this opens Command Prompt (CMD).
-
Type the following (exactly as shown) and press Enter:
OOBE\BYPASSNRO
-
The system will restart the setup process, and you should then see an option like “I don’t have internet” or similar, allowing you to create a local account.
-
If needed, you can also run:
ipconfig /release
to drop any IP address and simulate being offline.
B. Alternative (newer/faster): start ms-cxh:localonly
-
If the above doesn’t work in newer builds, try this command in CMD:
start ms-cxh:localonly
-
This has been reported in community forums as a more modern and reliable way to trigger the local account option. Note that it’s community-based and may change.
Pros: No third-party tools needed.
Cons: Some editions may block these bypasses.
Method 3 — Create a USB Installer with Rufus (More “Controlled” Solution)
If you’re doing a clean install on multiple PCs or want reusability:
-
Download the Windows 11 ISO from Microsoft’s official website.
-
Download and run Rufus (bootable USB creation tool).
-
In Rufus, after loading the ISO, select Extended Windows 11 installation (or similar) which includes options to disable MSA/TPM/Secure Boot requirements — Rufus allows you to strip out OOBE restrictions.
-
Create the USB, boot from it, and install — setup will usually allow you to create a local account.
Note: Using “modified” installation media may affect support/updates and comes with risks — intended for advanced users.
Method 4 — If You Already Have a Microsoft Account: Switch to Local After Installation
If you ended up creating/using a Microsoft account, you can switch later:
-
Open Settings → Accounts → Your info.
-
Select Sign in with a local account instead and follow the steps to create a username and password.
Alternatively, you can create a new local admin account (Settings → Accounts → Family & other users → Add account → Add a user without a Microsoft account). After gaining access, remove or convert the previous account.
Advanced (For Experts Only): Create Local Admin via CMD During OOBE
-
Press Shift + F10 to open CMD.
-
Run:
net user localuser StrongPassword123 /add
net localgroup administrators localuser /add
-
Close the window and continue setup — you can now sign in with the
localuseraccount.
Use this only if you know what you’re doing — it instantly creates an admin user. Prefer official or simpler methods first.
What You Lose Without a Microsoft Account
-
Automatic sync of settings, passwords, and OneDrive.
-
Centralized password recovery via Microsoft.
-
Certain Microsoft Store and Family Safety features.
On the other hand, you gain more control over your personal data and fewer dependencies on cloud services.
FAQ
-
Will I lose Windows activation? No — activation is independent of using MSA or a local account.
-
Can I switch back later? Yes — you can link a Microsoft account anytime in Settings → Accounts.
-
Will these bypasses always work? No — Microsoft has already patched or limited some of them and may continue doing so.
Conclusion
There are multiple ways to avoid (or later remove) the mandatory Microsoft email/account in Windows 11 — from simply disconnecting the Internet, to Shift+F10 with OOBE\BYPASSNRO or start ms-cxh:localonly, and using Rufus for custom installs. Each method has pros and risks: always back up your data, research before applying, and remember Microsoft frequently changes these rules.



