Windows 11 — Install with Local Account
Microsoft requires an online account during OOBE by default. These methods bypass that requirement and let you create a local account instead.
Quick Reference
| Method | Builds | Requires |
|---|---|---|
ms-cxh:localonly |
All current (24H2, 25H2+) | Keyboard access during setup |
OOBE\BYPASSNRO |
Up to 24H2 only | Keyboard access during setup |
| Rufus | Any (clean install) | Prep before installation |
Patched methods
The fake email trick and Task Manager process-kill are both patched. Skip them.
Pre-requisites
- Windows 11 installation media (USB or running installer)
- Physical keyboard access during the OOBE setup wizard
Method 1: ms-cxh:localonly (Recommended)
Works on all current builds including 25H2 and later. Uses a legitimate internal Windows path — the most stable option.
- Proceed through installation until the "Let's connect you to a network" screen
- Press Shift+F10 — a Command Prompt opens
- Run:
- A local account setup dialog appears directly — enter username and password
Method 2: OOBE\BYPASSNRO
Works on Windows 11 up to 24H2. Patched in 25H2 and later builds.
- At the network connection screen, press Shift+F10
- Run:
- The system restarts automatically
- After reboot, select "I don't have internet" → "Continue with limited setup"
- Create a local account as prompted
Method 3: Rufus
Patches the Windows installer before booting — no commands needed during setup. The right choice if you are building many machines or want the cleanest approach.
Pre-requisites: Rufus (free), Windows 11 ISO
- Open Rufus, select your USB drive and the Windows 11 ISO
- Click START — a customisation dialog appears
- Check "Remove requirement for an online Microsoft account"
- Write the USB and boot from it — setup will skip the account requirement automatically
Method 4: Disconnect from Network
Simplest fallback — no commands, works on most builds.
- At the network screen, press Shift+F10
- Run:
- Close the prompt — setup now shows "I don't have internet"
- Select it and create a local account
Note
Reconnect after setup completes if you need internet for drivers or updates.