Since its release, Windows 11 has pushed users harder and harder toward signing in with a Microsoft account during setup. On Windows 11 Home in particular, the out-of-box experience (OOBE) is designed to make a local account nearly invisible as an option — you’re required to connect to Wi-Fi and log in with an email address before you can even reach the desktop.
The good news: it’s still possible to set up Windows 11 with a traditional local account instead, and you don’t need any special hacking skills to do it. This guide walks through every method that still works in 2026, from the simplest command-line trick to more advanced options for IT admins setting up multiple machines.
Why Use a Local Account Instead of a Microsoft Account?
Before jumping into the steps, it helps to know why people go out of their way to avoid the Microsoft account requirement:
Also Read: Gaymetu E: What This Emerging Internet Term Really Means
- Privacy – A local account doesn’t sync your activity, settings, or files to Microsoft’s cloud by default.
- Simplicity – No email verification, no two-factor prompts, no forced OneDrive backup nags.
- Offline-first setup – Local accounts don’t require an internet connection to create or use.
- Shared or kiosk PCs – Some environments (labs, shared family computers, offline workstations) simply don’t need a cloud-linked identity.
- Enterprise environments – Many businesses use domain accounts or Azure AD/Entra ID join instead of consumer Microsoft accounts, making the personal-account prompt irrelevant to them.
Method 1: The OOBE\BYPASSNRO Command (Easiest)
This is the most common and reliable method, and it uses a mechanism Microsoft itself built into Windows — it’s just not exposed in the normal setup flow.
- Boot into the Windows 11 setup screen as usual.
- When you reach the “Let’s connect you to a network” screen, press Shift + F10 to open Command Prompt.
- Type the following and press Enter:
OOBE\BYPASSNRO
- The PC will restart automatically and return you to the network screen.
- This time, you’ll see a new option: “I don’t have internet.” Click it.
- Select “Continue with limited setup”.
- You’ll now be prompted to create a local account with a username and password instead of a Microsoft email.
Behind the scenes, this command sets a registry value (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE\BypassNRO) that tells setup it’s allowed to skip the network requirement. It isn’t a security exploit — it’s a legitimate, if hidden, Microsoft-built switch.
Note: Microsoft has disabled or altered this shortcut in some preview builds before, and it may eventually be removed from release builds too, so treat it as “works today” rather than a permanent guarantee.
Method 2: The ms-cxh:localonly Shortcut
An alternative to BYPASSNRO that some users find more consistent:
- On the account sign-in screen, press Shift + F10 for Command Prompt.
- Type:
start ms-cxh:localonly
- Press Enter. This should immediately drop you into the local account creation screen, skipping the Microsoft sign-in requirement.
If Microsoft patches one of these two commands, the other often still works, so it’s worth trying both.
Method 3: Disconnect From the Internet During Setup
If you’re doing a clean install and haven’t connected to Wi-Fi or Ethernet yet, Windows 11 setup will detect there’s no network and offer a local account option automatically — no commands needed. Simply:
- Unplug the Ethernet cable, or skip connecting to Wi-Fi when prompted.
- If setup insists on a network, use one of the command-line methods above to force the offline path.
- Continue with the “limited setup” flow and create your local account.
This works well for clean installs from USB but obviously won’t help if you’re setting up a PC that only has Wi-Fi and setup won’t let you skip the connection screen.
Method 4: Use Rufus to Build a Custom Installer
If you’re creating your own Windows 11 installation USB, the free tool Rufus can strip out the Microsoft account requirement (along with other restrictions like the TPM/Secure Boot checks) automatically when it builds the drive.
- Download the official Windows 11 ISO from Microsoft.
- Download and open Rufus.
- Select your USB drive and the Windows 11 ISO.
- When prompted with Windows User Experience options, check the box to remove the requirement for an online Microsoft account.
- Create the bootable USB and install as normal — you’ll land directly on the local account screen with no workaround needed.
This is especially useful if you’re setting up several PCs and don’t want to repeat the command-line steps every time.
Method 5: Windows 11 Pro’s “Domain Join” Trick
If you’re running Windows 11 Pro, Enterprise, or Education, there’s an official path that doesn’t require any workaround at all:
- On the account creation screen, choose “Set up for work or school” instead of the personal option.
- Click Sign-in options, then select “Domain join instead.”
- Enter any username and password you like — this creates a genuine local account, no Microsoft sign-in required.
This option isn’t available on Windows 11 Home, which is why most guides focus on the command-line tricks above.
Method 6: Unattended Installation With autounattend.xml
For IT admins or power users deploying Windows 11 to many machines, an autounattend.xml answer file can automate the entire setup — including creating a local account — with zero manual input. This is more advanced and typically used with tools like the Microsoft Deployment Toolkit or custom PowerShell scripts, but it’s the most reliable long-term method since it doesn’t rely on hidden OOBE commands that Microsoft could patch out.
What If You Already Set Up Windows 11 With a Microsoft Account?
You’re not stuck. You can convert to a local account after the fact:
- Go to Settings > Accounts > Your info.
- Click “Sign in with a local account instead.”
- Enter your current Microsoft account password to confirm.
- Set up a username and password for your new local account.
- Sign out and back in to complete the switch.
Keep in mind that some features tied to your Microsoft account — like OneDrive sync, Microsoft Store purchases under that account, and cross-device settings sync — will stop working until you sign back in with that account somewhere.
Things to Keep in Mind
- Microsoft actively discourages this. Expect the setup flow to keep nudging you toward a Microsoft account with fewer visible options over time.
- Some workarounds are build-dependent. A method that works on one Windows 11 version or Insider build may not work on another. If one command fails, try the alternative.
- A local account limits some conveniences, such as automatic settings sync across devices, Find My Device, and certain Microsoft Store features — but it doesn’t block installing most apps or using core Windows features.
- You can always add a Microsoft account later by going to Settings > Accounts if you change your mind — nothing here is permanent.
Conclusion
Despite Microsoft’s efforts to make a Microsoft account feel mandatory, setting up Windows 11 with a local account is still very much possible in 2026 — whether through the OOBE\BYPASSNRO command, the ms-cxh:localonly shortcut, a Rufus-built installer, or the official domain-join path on Windows 11 Pro. Since Microsoft periodically tweaks or removes these routes, it’s worth bookmarking a couple of methods rather than relying on just one, and checking back if a particular trick stops working on a future update.



