Microsoft pushes you to sign in with a Microsoft account during Windows 11 setup (OOBE) so it can sync settings, enable OneDrive integration, and connect services like Microsoft 365. But many people still prefer a local account for privacy, offline use, lab/VM installs, or simply keeping a clean, minimal setup.
The good news: it’s still possible on many Windows 11 builds—especially stable releases—but Microsoft has been closing popular bypasses in Insider/Dev builds and may roll those restrictions into future public releases.
Below are the latest methods that work today, ordered from easiest to most reliable.
Before You Start (Quick Checklist)
-
A Windows 11 bootable USB (8GB–16GB+ recommended)
-
A keyboard (some methods need Shift + F10)
-
If you’re installing Home, expect stricter prompts than Pro/Enterprise
-
If a method “doesn’t work,” it may be due to your Windows 11 version/build (Microsoft is actively patching common tricks).
Method 1 (Easiest): Use Rufus to Create a USB That Skips Microsoft Account Requirement
This is currently one of the simplest “set it once and forget it” approaches. Rufus can create a Windows 11 installer USB and offers an option to remove the online Microsoft account requirement during setup.
Steps
-
Download the official Windows 11 ISO from Microsoft.
-
Download and open Rufus.
-
Insert your USB drive.
-
In Rufus:
-
Device → select your USB
-
Boot selection → select your Windows 11 ISO
-
-
Click Start.
-
When you see the Windows User Experience options, enable:
-
✅ Remove requirement for an online Microsoft account
-
(Optional) ✅ Remove TPM/Secure Boot/RAM checks (only if needed)
-
-
Finish writing the USB, boot from it, and install normally.
Why this method is great: you don’t need to fight OOBE screens each time—Rufus handles it up front.
Method 2: OOBE Command “start ms-cxh:localonly” (Works on Many Builds, But Being Patched)
A popular newer trick is opening Command Prompt during setup and running:
This can bring up a local account creation flow during OOBE.
Steps
-
Boot into Windows 11 setup and proceed normally.
-
When you reach region/keyboard or network/account steps, press:
-
Shift + F10 (opens Command Prompt)
-
-
Type:
-
Press Enter.
-
Create your local username/password when the window appears.
-
Continue setup.
Important note (2025–2026 change)
Microsoft has disabled this in some Insider/Dev builds and it may crash/stop working there. If it fails on your build, use Rufus or Autounattend.xml (below).
Method 3: Classic “OOBE\BYPASSNRO” (Still Works on Many Installs, Not All)
This older method forces the setup to show an “I don’t have internet” path so you can create a local user. It has worked for many users through 23H2/24H2-era setups, but reports indicate Microsoft is removing/patching it in newer builds.
Steps
-
Start Windows 11 setup and continue until you see “Let’s connect you to a network”.
-
Press Shift + F10 to open Command Prompt.
-
Run:
-
The PC will reboot back into OOBE.
-
Go to the network screen again — you should now see:
-
I don’t have internet
-
-
Choose it → Continue with limited setup → create local account.
If you don’t see the offline option after reboot, your build likely blocks this—switch to Method 1 (Rufus) or Method 4 (Autounattend).
Method 4 (Most Reliable): Use an Autounattend.xml to Create a Local Account Automatically
If Microsoft blocks OOBE tricks, unattended setup remains one of the most dependable approaches because it configures setup behavior directly through an answer file.
What you’ll do
-
Create an
autounattend.xml -
Place it in the root of your Windows install USB
-
Setup reads it and can create a local account without needing Microsoft sign-in
Steps (Simple way)
-
Create an
autounattend.xmlusing a trusted generator (example: Schneegans). -
Configure it to:
-
Skip/streamline OOBE prompts
-
Create a local account
-
-
Copy
autounattend.xmlto the root of the Windows USB (same level assetup.exe). -
Boot from the USB and install Windows 11.
Why this method is “future-proof”
Even if Microsoft removes UI bypass commands, unattended installs are still commonly used for IT deployments and can keep working when OOBE shortcuts get patched.
Method 5 (Windows 11 Pro/Enterprise): “Domain Join Instead” Path
On some Pro installs, you can choose a work/school setup path and pick Domain join instead, which leads to local account creation. (This typically does not apply to Home.)
Steps (common flow)
-
In OOBE, choose Set up for work or school
-
Look for Sign-in options
-
Select Domain join instead
-
Create local username/password
-
Continue setup
If you don’t see these options, your build/edition may hide them—use Rufus or Autounattend.
If Nothing Works: Last-Resort Fallback (Not Ideal, But Practical)
If your specific build forces Microsoft account sign-in and every bypass is blocked, one workaround is:
-
Finish setup using a Microsoft account
-
Create a local account afterward
-
Sign out and remove the Microsoft account link
This doesn’t meet “no Microsoft account during install,” but it helps you end up with a local-only daily account. Microsoft community threads frequently suggest this as a fallback.
Troubleshooting Tips
Shift + F10 doesn’t open Command Prompt
-
Try Fn + Shift + F10 on some laptops
-
Try at an earlier OOBE screen (region/keyboard)
OOBE commands work in VMs but not on your PC
Different media/builds behave differently; Microsoft has specifically targeted these bypasses in newer builds.
“I don’t have internet” option is missing
That’s exactly what bypass methods try to restore. If it won’t appear, use:
-
Rufus USB method
-
Autounattend.xml
FAQ
Is it legal to install Windows 11 without a Microsoft account?
Yes—using a local account is not inherently illegal. Microsoft’s setup just increasingly pushes online accounts. (Activation/licensing rules still apply.)
Which edition is hardest to do this on?
Windows 11 Home is usually the strictest, often requiring internet + Microsoft account unless you use a workaround.
Will Microsoft block all bypasses permanently?
They are actively removing common OOBE bypasses in preview builds, and those changes may land in public releases. Unattended installs and customized install media are more likely to remain workable than simple “one-line” OOBE tricks.
Conclusion
If you want the fastest and easiest approach, use Rufus to build install media that removes the Microsoft account requirement.
If Microsoft has patched your OOBE bypass commands, the most reliable long-term method is using an Autounattend.xml to create a local account automatically.