A complete guide to bypassing the Microsoft account requirement during Windows 11 installation and creating a local account without internet — 3 tested methods that work on the latest build.
You've hit that screen — the one that insists you connect to the internet or sign into a Microsoft account, and you want neither. In my experience working through dozens of Windows installations, this is one of the most common frustrations during a clean install — and the fix is simpler than most people expect. In this guide you'll find 3 tested methods to bypass the Microsoft account requirement in Windows 11, all confirmed to work on the latest build, explained step by step with no unnecessary complexity.
I'm Mostafa Amaan, and I've spent years breaking down technical concepts for readers at Valley4Techs. I've noticed that many users give up at the "connect to internet" screen assuming it's mandatory — it's not. By the end of this guide, you'll be able to create a fully privileged local account without entering your email address and without needing an internet connection.
Do These Methods Still Work in 2026?
A completely fair question. Microsoft closes certain workarounds with every update, and the 24H2 release — which rolled out in the second half of 2024 — introduced significant changes to the OOBE (Out-Of-Box Experience) setup screen. The good news is that I personally tested all three methods covered in this article on real hardware in early 2026. Here's a quick summary of where each method stands:
| Method | Works on 24H2? | Difficulty | Notes |
|---|---|---|---|
| ms-cxh:localonly command | ✅ Yes | Easy | Fastest and most reliable in 2026 |
| No@thankyou.com | ✅ Yes | Very Easy | Easiest — no Command Prompt needed at all |
| OOBE\BYPASSNRO | ⚠️ Partially blocked | Medium | Removed in most 24H2 builds |
| Rufus + Local Account | ✅ Yes | Advanced | Best for unsupported hardware or pro setups |
Method 1: Bypass Microsoft Account Using the ms-cxh:localonly Command
This is the method I always recommend for a clean install. It works by opening Command Prompt during the setup screen and running a single command that takes you directly to the local account creation interface — skipping the Microsoft sign-in screen entirely. I've tested this on multiple machines running 24H2 and it works flawlessly every time.
- During the Windows 11 installation, when you reach the country or region selection screen, press
Shift + F10simultaneously on your keyboard. - A black Command Prompt window will appear on screen.
- Type the following command exactly as shown, then press Enter:
start ms-cxh:localonly
Typing the ms-cxh:localonly command in Command Prompt during the Windows 11 setup screen.
- A local account creation dialog will open immediately — enter the username you want.
- Add a password (optional, but strongly recommended for security), then click Next.
- Complete the remaining setup steps as normal — you'll finish with a fully privileged local account.
The local account creation screen in Windows 11 after running the command.
Shift + Fn + F10 instead — many laptops assign function keys differently by default.
Method 2: Skip Sign-In Using a Fake Email (No@thankyou.com)
This is hands down the simplest method and requires zero technical knowledge. It works by entering invalid credentials that cause Windows authentication to fail, which automatically redirects you to local account creation. In my experience, this is the ideal approach for beginners — no Command Prompt involved, and it holds up reliably on the latest build.
- On the Microsoft account sign-in screen (sometimes labeled "Let's set it up for your organization" or similar), enter the following address in the email field:
No@thankyou.com
- In the password field, type any wrong password (for example: 1234 or wrongpass), then click Sign in.
- Windows will attempt to verify the credentials. Since they're invalid, an error message will appear indicating the information is incorrect.
- Click the "Next" or "Skip" button that appears below the error message.
- Windows will automatically redirect you to the local account creation screen — enter your username and password, then complete setup normally.
No@thankyou.com is simply a well-known trick in the tech community that makes Windows treat the credentials as invalid and surface the local account option. There is no external connection made and no security risk involved.
Method 3: The Windows 11 Bypass Command (and Its Modern Replacement)
If you've searched for how to skip the Microsoft account in Windows 11, you've almost certainly come across the command OOBE\BYPASSNRO. But here's what most articles don't tell you: this command no longer works on most 24H2 builds. Let me give you the full picture.
The Old Command (Mostly Broken on 24H2)
On earlier versions of Windows 11 — 23H2 and before — you could open Command Prompt during setup and type:
OOBE\BYPASSNRO
The command would automatically reboot the system and return you to the setup screen with a "Set up without internet" option visible. Microsoft deliberately removed this path in 24H2 updates — if you've tried it on a current system and found it doesn't work, that's why. Use Method 1 or Method 2 instead.
The Better Alternative: Rufus with the Local Account Option
If you want a professional clean install that simultaneously bypasses TPM and Secure Boot requirements, Rufus is the best tool for the job. I've noticed it's the most consistent of all the methods, because it configures the bootable USB itself to bypass restrictions before setup even begins.
- Download Rufus from its official website (rufus.ie) — it's completely free.
- Download the Windows 11 ISO file from Microsoft's official website.
- Open Rufus, select your USB drive, then select the ISO file you downloaded.
- When you click Start, an options dialog will appear — enable the following two options:
- Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0
- Remove requirement for an online Microsoft account — and enter your preferred username in the field provided.
- Click OK and wait for the bootable USB creation to finish.
- When installing from this USB, the account screen will be skipped automatically and your local account will be ready to go.
After Installation: Important Steps for Your Local Account
Once setup is complete with a local account, there are a few things worth addressing right away to ensure a smooth and secure experience.
Secure Your Local Account with a Strong Password
If you skipped the password field during setup, I strongly recommend adding one now. Go to Settings → Accounts → Sign-in options and set a password. I'd also advise adding security questions — they're your only account recovery option if you forget your password, since there's no recovery email the way there is with a Microsoft account. You can also enable Windows 11 sign-in options like a PIN for faster, more convenient access.
Does Windows Update Still Work with a Local Account?
Yes, fully. Windows Update has no dependency on a Microsoft account whatsoever — you'll receive all security patches and feature updates normally. For more on the latest Windows 11 release, check out our comprehensive guide on what's new in Windows networking features for 2026.
Can I Switch to a Microsoft Account Later?
Yes, at any time. Go to Settings → Accounts → Your info, then click "Sign in with a Microsoft account instead." All your files and settings will be preserved. The decision is completely reversible in either direction — you can always switch back to a local account through the same menu.
Local Account vs. Microsoft Account — What You Gain and What You Give Up
Before making your final decision, it's worth understanding the real differences between the two options. The good news: Windows runs at full capability in either case for everyday use.
| Feature | Local Account | Microsoft Account |
|---|---|---|
| Privacy | ✅ Better | ⚠️ Data shared with Microsoft |
| Settings sync across devices | ❌ Not available | ✅ Full sync |
| Microsoft Store | ⚠️ Limited | ✅ Full access |
| Windows Update | ✅ Works fully | ✅ Works fully |
| Offline usage | ✅ Always | ⚠️ Occasional online checks |
| Password recovery | ⚠️ Security questions only | ✅ Via email / phone |
| OneDrive auto-backup | ❌ Not enabled | ✅ Enabled automatically |
| Everyday productivity | ✅ Full | ✅ Full |
Why Does Windows 11 Force a Microsoft Account in the First Place?
It's worth understanding Microsoft's reasoning. Starting with Windows 11 22H2, linking a Microsoft account became mandatory during Home edition setup. The stated goals are better user experience and enhanced security through automatic sync and backup. But the unstated motivation — as many tech analysts point out — is collecting usage data that feeds AI services like Copilot and improves ad targeting within Microsoft's ecosystem. This doesn't make Microsoft inherently malicious, but it does explain why so many users push back and insist on their right to privacy through a local account. If you're considering whether to stay on Windows 10 rather than upgrading, you can check on the status of Windows security features and network protection in 2026.
Frequently Asked Questions About Bypassing the Microsoft Account in Windows 11
Conclusion
Bypassing the Microsoft account requirement during Windows 11 installation isn't complicated — it's simply a matter of knowing the right method for your situation. From personal experience, I recommend Method 1 (the ms-cxh:localonly command) for anyone doing a clean install, Method 2 (No@thankyou.com) for beginners who want the simplest possible approach with no Command Prompt, and Method 3 (Rufus) when your hardware doesn't meet Windows 11's official requirements.
A local account gives you full control over your machine and stronger privacy, while keeping every core Windows feature intact. And the decision isn't permanent — you can always switch to a Microsoft account later, or back, whenever your needs change.
We'd love to hear your thoughts! Leave a comment below
and share your experience or questions.