Setting up Windows 11 without a Microsoft account is still possible in November 2026, but the old tricks are dying one by one: oobe\bypassnro was removed in March 2025 and start ms-cxh:localonly in October 2025. What still works depends on your edition and build — Rufus and an answer file work on Home and Pro, domain join works on Pro, and a registry value covers 24H2/25H2 builds. Check your build number first, then pick a method from the table below.
Windows 11 Home has required an internet connection and a Microsoft account during setup since its release, and Pro followed with version 22H2. Microsoft’s own specifications say so plainly, and the company has spent 2025 closing the workarounds: first the bypassnro.cmd script, then the local-only commands, then the fake-email trick. None of that removes the local account itself — Windows still supports it. What Microsoft closed are the easy paths to it during setup. This guide is rewritten for November 2026: every method below is labeled with the builds it was reported on, and the dead ones are listed too, so you don’t waste an evening on a command that no longer exists.
Check your Windows version first
Before trying anything, find out what you are installing. Press Win + R, type winver, and press Enter. You need two things: the version (23H2, 24H2, 25H2, or 26H2) and the edition (Home or Pro). The build number tells you which tricks are already gone:
- 23H2 (build 22631): the old commands mostly still work.
- 24H2 (build 26100): oobe\bypassnro is gone from newer media; the registry value still works.
- 25H2 (build 26200): bypassnro and ms-cxh:localonly are both removed; Rufus, answer files, and domain join still work.
- 26H2 (build 26300): reports conflict on the registry value — test it on your own media before relying on it.
Method status at a glance
| Method | Editions | Status (verified November 27, 2026) |
|---|---|---|
| Rufus installer option | Home, Pro | Works — reported July 2026 (Rufus 4.15) |
| Answer file (autounattend.xml) | Home, Pro | Works — reported July 2026 |
| Domain join instead | Pro, Enterprise, Education | Works — built into Setup |
| BypassNRO registry value | Home, Pro | Reported working on builds 26120 and 26220; unclear on 26H2 |
| oobe\bypassnro command | Home, Pro | Removed March 2025 (Dev build 26200.5516) |
| start ms-cxh:localonly | Home, Pro | Removed October 2025 (Dev build 26220.6772) |
| Fake email ([email protected]) | Home, Pro | Blocked on new builds since October 2025 |
Microsoft rolls these removals out gradually rather than by build number alone, so a higher build number on your PC does not by itself prove a removal applies to your media. The only reliable check is your own installation USB.
Method 1: Domain join instead (Windows 11 Pro)
This is the only method on this list that is a built-in, Microsoft-supported path — and it is also the simplest, if you have Pro. No tools, no commands, no prepared USB. It works because Setup lets you join a work domain instead of signing in, and a domain join that never names a domain just creates a local account.

- On the “How would you like to set up this device?” screen, select Set up for work or school instead of “Set up for personal use.”
- On the Microsoft sign-in screen, click Sign-in options.
- Select Domain join instead.
- Enter a username and a password (or leave the password blank) and continue. Setup creates a local account and never asks for a Microsoft account.


Two limits: this option only appears on Pro, Enterprise, and Education. On Home it is not there at all, so Home users should skip to Method 2 or 3. And if you are setting up several machines, this is the fastest repeatable route — nothing to prepare in advance.
Method 2: Rufus USB installer (recommended for most people)
If you are building the installer yourself, this is the most reliable route in late 2026, and it works on both Home and Pro. Rufus prepares the USB drive so that Setup never asks for a Microsoft account in the first place — it writes the same kind of answer file and registry value described below into the installer itself. Reported working as of July 2026 with Rufus 4.15 and Windows 11 25H2 media.
- Download the Windows 11 ISO from Microsoft and the latest Rufus from rufus.ie.
- Insert a USB drive (8 GB or more — everything on it will be erased), select the drive and the ISO in Rufus, and click Start.
- In the Windows User Experience dialog, tick Remove requirement for an online Microsoft account. Optionally also tick Create a local account with username and type the name — note that ticking only the first box has been reported to fail on some builds, so tick both if you want the account pre-made.
- Boot the PC from the USB drive and install. Stay offline during setup: unplug Ethernet and do not connect to Wi-Fi. If Setup detects a working internet connection, it can still default back to Microsoft account sign-in.
- When the account screen appears, create your local username and password.
Rufus is free and open source, and the option does not bypass activation or licensing — only the online-account requirement. If you would rather not use a third-party tool, Method 3 does the same thing by hand.
Method 3: Answer file (autounattend.xml)
An answer file is Microsoft’s own official mechanism for automated installs: a small XML file on the USB drive that tells Setup which settings to use, including a local account. It works on every edition, Home included, and it is the method Rufus uses under the hood. The easiest way to build one is the free unattend generator by Christoph Schneegans: choose the option to let Setup create local accounts, enter a username and password, download the file, keep the name autounattend.xml, and copy it to the root of your Windows 11 USB drive, next to setup.exe.
If you prefer to write it yourself, this minimal file is enough — change YourName and YourPassword:
<unattend xmlns="urn:schemas-microsoft-com:unattend"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>YourName</Name>
<Group>Administrators</Group>
<Password>
<Value>YourPassword</Value>
<PlainText>true</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>
Two warnings. First, the password in this file is stored in plain text on the USB drive — delete the file from the drive after setup, and change the password if the drive leaves your hands. Second, if you already automate installs, see our guide to customizing Windows installs with answer files for the full set of options this file supports.
Method 4: BypassNRO registry value
This is the fallback for when you are already in Setup with a stock Microsoft USB and the old command does nothing. The script is gone, but the registry value it used to set is still there on 24H2 and 25H2 builds — Pureinfotech reported it working on builds 26120 and 26220. Treat it as a fallback, not a first choice: on 26H2, reports conflict, so test it on your own media before relying on it.

- On the “Let’s connect you to a network” screen, press Shift + F10 to open Command Prompt. On many laptops you need Shift + Fn + F10.
- Type this command and press Enter:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
- Reboot with
shutdown /r /t 0. When you return to the network screen, an “I don’t have internet” option appears. Click it, then “Continue with limited setup.” - Create your local username and password.

Stay offline until the account is created — Ethernet unplugged, Wi-Fi not connected. If Setup sees the internet, it will push you back toward Microsoft account sign-in.
Methods that no longer work (don’t waste your time)
The old version of this article listed three methods. Two of them are now dead, and the third only survives in the registry form above. If you are following an older tutorial, check it against this list first:
- oobe\bypassnro — the script was removed in Dev Channel build 26200.5516 in March 2025. On newer media the command returns “not recognized.” Use the registry value in Method 4 instead.
- start ms-cxh:localonly — the replacement that opened a local-account dialog directly was removed in Dev Channel build 26220.6772 in October 2025.
- Fake email ([email protected], test, [email protected]) — entering a deliberately wrong address used to trigger an error that opened the local-account path. Microsoft blocked these known fake addresses on new builds in October 2025.
Microsoft has said these shortcuts skip setup screens it considers critical, and it intends to keep closing them. That is why Methods 2 and 3 are the safer bets now: they prepare the installer before setup starts, so a later OOBE change cannot break them halfway through.
Already installed? Switch to a local account
If Windows is already set up with a Microsoft account, you do not need to reinstall. Go to Settings > Accounts > Your info and select Sign in with a local account instead. Follow the prompts, and your files, apps, and settings stay where they are. You can also add a second local administrator without removing the first account: Settings > Accounts > Other users > Add account, then “I don’t have this person’s sign-in information” and “Add a user without a Microsoft account.” Switching to a local account stops OneDrive and settings sync and means your BitLocker recovery key is no longer stored in your Microsoft account — save it somewhere safe first if BitLocker is on.
Troubleshooting
- Shift + F10 does nothing. On many laptops the F-keys default to media functions — try Shift + Fn + F10. If the prompt still does not open, your keyboard may not be active yet at that screen; wait for the network screen and try again.
- “oobe\bypassnro is not recognized.” The script is gone from your media. Use the registry command in Method 4, or rebuild the USB with Rufus (Method 2).
- Setup still asks for a Microsoft account after Rufus. The PC was online during setup. Reinstall with Ethernet unplugged and Wi-Fi untouched, and make sure both Rufus boxes were ticked — ticking only “Remove requirement for an online Microsoft account” has been reported to fail on some builds.
- OOBE restarts or fails after skipping the account step. Microsoft has warned that skipping setup screens on the newest builds can fail and force OOBE to restart. Do not experiment on a machine you need working — test new media on a spare PC or VM first.
- The local account has no administrator rights. Check the account’s group: in an answer file it must be Administrators, and in Settings a new account defaults to Standard — change it under Settings > Accounts > Other users.
Frequently Asked Questions
Can I use domain join on Windows 11 Home?
No. The “Domain join instead” option only exists on Pro, Enterprise, and Education. On Home, use the Rufus installer (Method 2) or an answer file (Method 3) — both work on every edition.
Why does oobe\bypassnro say “not recognized”?
Microsoft removed the bypassnro.cmd script in Dev Channel build 26200.5516 in March 2025, and the removal has reached newer installation media since. Use the BypassNRO registry value in Method 4, or rebuild the USB with Rufus — both are reported working on 24H2 and 25H2 builds.
Which method is most reliable in late 2026?
Rufus or an answer file. Both prepare the installer before setup starts, so later OOBE changes cannot break them halfway through, and both were reported working in July 2026 on Home and Pro. The registry value is a good fallback but its status on 26H2 is still unclear.
Can I switch back to a Microsoft account later?
Yes. Go to Settings > Accounts > Your info and sign in with a Microsoft account. Nothing is lost by starting local — you can link the account later if you want OneDrive sync, Find My Device, or automatic BitLocker key backup.
Resources
- Rufus on GitHub — free, open-source USB installer (the original link from this article)
- Rufus official site — download the latest release
- Windows Unattend Generator — free online tool that builds an autounattend.xml for you
- Windows 11 specifications (Microsoft) — the official internet and Microsoft account requirement during setup
Related on this site: installing Windows 11 IoT LTSC on ESXi, bypassing TPM and forced logins, customizing Windows installs with answer files, and installing Windows 11/10 over the network with Serva (PXE boot).
Method status verified November 27, 2026. Microsoft is actively removing these workarounds, so check your own installation media before relying on any single method — what works on one build may fail on the next.