📁 last tech Posts

Bypass Microsoft Account on Windows 11 Install (3 Methods, 2026)

How to bypass Microsoft account during Windows 11 installation and create a local account without internet

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
⚠️ Important note: If you're running Windows 11 Home, some options that appear in the Pro edition may not be visible. All methods in this guide work on both editions unless stated otherwise.

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.

  1. During the Windows 11 installation, when you reach the country or region selection screen, press Shift + F10 simultaneously on your keyboard.
  2. A black Command Prompt window will appear on screen.
  3. Type the following command exactly as shown, then press Enter:
start ms-cxh:localonly
Bypassing Microsoft account during Windows 11 installation using the ms-cxh command in Command Prompt

Typing the ms-cxh:localonly command in Command Prompt during the Windows 11 setup screen.

  1. A local account creation dialog will open immediately — enter the username you want.
  2. Add a password (optional, but strongly recommended for security), then click Next.
  3. Complete the remaining setup steps as normal — you'll finish with a fully privileged local account.
Creating a local account in Windows 11 without internet or a Microsoft account

The local account creation screen in Windows 11 after running the command.

💡 Tip: If your keyboard doesn't respond when pressing Shift + F10 on a modern laptop, try 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.

  1. 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
  1. In the password field, type any wrong password (for example: 1234 or wrongpass), then click Sign in.
  2. Windows will attempt to verify the credentials. Since they're invalid, an error message will appear indicating the information is incorrect.
  3. Click the "Next" or "Skip" button that appears below the error message.
  4. Windows will automatically redirect you to the local account creation screen — enter your username and password, then complete setup normally.
💡 Is this method safe? Yes, completely. The address 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.

  1. Download Rufus from its official website (rufus.ie) — it's completely free.
  2. Download the Windows 11 ISO file from Microsoft's official website.
  3. Open Rufus, select your USB drive, then select the ISO file you downloaded.
  4. 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.
  5. Click OK and wait for the bootable USB creation to finish.
  6. When installing from this USB, the account screen will be skipped automatically and your local account will be ready to go.
⚠️ When should you use Rufus? If your machine doesn't meet Windows 11's requirements (TPM 2.0 / Secure Boot), this is the only method that solves every problem at once. For more details on bypassing TPM and Secure Boot, see our guide on BIOS vs. UEFI: What's the Difference and Why It Matters.

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
💡 My personal recommendation: If you're using the machine for daily work or study without needing settings synced across multiple devices, a local account is an excellent choice — more private and just as capable. If you rely on OneDrive or Microsoft 365 daily, a Microsoft account makes more practical sense.

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

❓ How do I bypass the Microsoft account requirement during Windows 11 setup?

You have three main options: the first is to open Command Prompt (Shift + F10) and type start ms-cxh:localonly. The second is to enter the fake email No@thankyou.com with an incorrect password on the sign-in screen. The third is to use Rufus when creating your bootable USB with the local account option enabled. All three work on Windows 11 24H2.

❓ Does the OOBE\BYPASSNRO command still work on Windows 11?

Mostly no. The well-known command OOBE\BYPASSNRO worked reliably through Windows 11 23H2, but Microsoft removed it in most 24H2 builds. If you want a command that works right now, use start ms-cxh:localonly instead.

❓ Will bypassing the Microsoft account affect Windows Update?

Not at all. Windows Update works completely independently of your account type. You'll receive all security and feature updates normally on a local account, without any difference. What you lose is cross-device settings sync, automatic OneDrive backup, and some Copilot features tied to account login — but system security and updates are unaffected.

❓ Can I install Windows 11 without internet on a brand-new laptop?

Yes, though new laptops sometimes ship with updated OOBE builds that make it slightly trickier. Method 1 (the ms-cxh:localonly command) is the most reliable choice because it works regardless of whether internet is present — it runs directly after opening Command Prompt with Shift + F10. If you're looking to buy a new laptop, check out our 2026 laptop buying guide before you decide.

❓ Is the No@thankyou.com method safe to use?

Yes, completely safe. It's simply invalid credentials that cause Windows authentication to fail and redirect you to the local account setup screen. No data is transmitted to any external server, and no code runs on your machine as a result.

❓ How do I bypass Windows 11 requirements on unsupported hardware?

The best tool is Rufus — when creating your bootable USB, enable "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0" alongside the local account option. You'll get a clean install that bypasses all hardware restrictions at once. For more on public Wi-Fi and security considerations after your install, see our guide on common mistakes to avoid when using public Wi-Fi.

❓ Do these methods work on both Windows 11 Home and Pro?

Yes, all three methods work on both editions. Windows 11 Pro has an additional built-in option: during setup you can choose "Set up for work or school" and then "Domain join instead," which is a native path to local account creation. But even on Pro, Method 1 remains the quickest route.

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.

📌 Found this guide helpful? If so, share it with anyone who's run into the Microsoft account wall during setup. And don't forget to explore more practical tech guides, tutorials, and reviews at Valley4Techs — where we make technology accessible for everyone.

Add Valley4Techs as a Preferred Source

Follow us on Google News for the latest updates

Add Now
Mostafa Amaan
Mostafa Amaan
Technical educational content creator on my blog and YouTube channel. My goal with this content is to eradicate information technology literacy.
Comments