Install Windows 11 26H2 with a Local Account
In this article
To install Windows 11 26H2 with a local account, you must bypass the mandatory Microsoft Account (MSA) sign-in screen during the Out-of-Box Experience (OOBE) by using the "BypassNRO" command in the command prompt. This allows you to create a traditional offline username and password without needing an internet connection or a cloud-linked profile. This process is useful for users who prefer privacy, those without a stable internet connection during setup, or those who want to manage their own local user permissions from the start.
What You'll Need
- A Windows 11 26H2 installation medium (USB flash drive created via the official Media Creation Tool).
- A PC that meets the minimum hardware requirements for Windows 11 (TPM 2.0, Secure Boot, and a compatible 64-bit processor).
- A keyboard and mouse connected to the device.
- A backup of any existing data on the target drive, as a clean installation will wipe the disk.
Step-by-Step
- Insert your Windows 11 26H2 bootable USB drive into the PC and restart the computer.
- Enter your PC's Boot Menu (usually by pressing F12, F11, F10, or Esc during the initial splash screen) and select the USB drive as the primary boot device.
- When the Windows Setup screen appears, select your language, time and currency format, and keyboard method. Click Next, then click Install Now.
- If you have a product key, enter it now. If you are reinstalling or don't have one handy, click "I don't have a product key" to proceed; Windows will usually activate automatically once you sign in later or via digital license.
- Choose the installation type. Select "Custom: Install Windows only (advanced)" for a clean installation.
- Manage your disk partitions. Delete existing partitions on your primary drive until you have "Unallocated Space," then select that space and click Next to begin the installation process.
- Wait for the system to copy files, install features, and restart. The PC will reboot several times. Do not remove the USB drive until you reach the region selection screen.
- Once the Out-of-Box Experience (OOBE) begins, select your country or region and click Yes. Then, select your keyboard layout and click Yes.
- When you reach the "Let's connect you to a network" screen, do not connect to Wi-Fi or plug in an Ethernet cable. If you have already connected, you may need to unplug the cable or disable the Wi-Fi router temporarily.
- On this network screen, press Shift + F10 on your keyboard. This will open a Command Prompt window. (On some laptops, you may need to press Shift + Fn + F10).
- In the Command Prompt window, type the following command exactly as shown:
OOBE\BYPASSNROand press Enter. - The system will automatically restart. This is normal behavior as the command modifies the setup registry to allow offline accounts.
- After the reboot, you will return to the region and keyboard selection screens. Repeat those steps as you did before.
- When you reach the "Let's connect you to a network" screen again, you will notice a new option: "I don't have internet." Click this link.
- On the next screen, click "Continue with limited setup." This confirms you want to proceed without a Microsoft account.
- You will now be prompted to "Who is going to use this device?" Enter your desired local username and click Next.
- Enter a password for the account. If you prefer no password, leave the field blank and click Next.
- Follow the remaining prompts to configure your privacy settings (such as location, diagnostic data, and find my device). Toggle these to your preference and click Accept.
- Wait for Windows to finalize the setup and create your desktop profile. You will then be logged into your local account.
Common Mistakes
One of the most frequent errors is connecting to the internet too early. If the PC automatically connects to a known Wi-Fi network or an Ethernet cable is plugged in, Windows 11 will force the Microsoft Account login screen, and the "I don't have internet" option will not appear, even after running the bypass command. Always ensure the device is completely offline before starting the OOBE process.
Another common mistake is a typo in the Command Prompt. The command is OOBE\BYPASSNRO. Users often mistake the backslash for a forward slash or misspell "BYPASSNRO" as "BYPASSNO". The command is case-insensitive, but the syntax must be exact for the registry change to trigger.
Some users forget that the Shift + F10 shortcut requires the Fn key on many modern laptops. If the Command Prompt does not appear, try holding the Function (Fn) key while pressing Shift and F10. Without this, the system simply ignores the input, leaving the user stuck on the network screen.
Tips
To ensure a smoother experience, disable your router's Wi-Fi or unplug the Ethernet cable before you even turn on the PC for the first time. This prevents the hardware from automatically attempting to handshake with a network, which can sometimes trigger the MSA requirement before you can open the command prompt.
Once you have reached the desktop with your local account, you can then connect to the internet. If you later decide you want the benefits of a Microsoft account (like OneDrive sync or Microsoft Store apps), you can convert your local account to an MSA by going to Settings > Accounts > Your info and selecting "Sign in with a Microsoft account instead."
If you are installing Windows 11 on a machine that doesn't officially support TPM 2.0 or Secure Boot, you will need to use a modified ISO or use Registry Editor (Shift + F10) during the partition screen to add the LabConfig keys. However, for standard 26H2 installations on supported hardware, the BYPASSNRO method is the most reliable path to a local account.
Troubleshooting
If the OOBE\BYPASSNRO command does not cause a reboot, try typing it again and ensuring there are no spaces before or after the command. If the system reboots but still asks for an internet connection without the "I don't have internet" option, restart the PC and try the command again, ensuring the Ethernet cable is physically unplugged.
If you are stuck in a boot loop after the restart, it is likely not caused by the bypass command but by a faulty installation medium. Re-create your bootable USB using the official Microsoft Media Creation Tool to ensure the ISO is not corrupted.
If you cannot find the Shift + F10 shortcut and your keyboard lacks a function key, you can try using an external USB keyboard. Some integrated laptop keyboards have non-standard mappings that make accessing the command prompt difficult during the OOBE phase.
If the installation fails at the "Getting ready" screen after you create the local account, wait at least 15 minutes. Creating a local profile involves several background registry entries and folder creations that can take time on slower HDD drives or heavily loaded systems.
Frequently Asked Questions
Will using a local account disable Windows Update?
No. Windows Update functions independently of the account type. You can still download security patches and driver updates using a local account as long as you have an internet connection.
Can I still use the Microsoft Store with a local account?
Yes. You can open the Microsoft Store and sign into just the Store app with a Microsoft account while keeping your primary Windows user profile as a local account.
Does this method work for all versions of Windows 11?
The BYPASSNRO method is designed for Home and Pro editions of Windows 11. While it is highly effective for 26H2, Microsoft occasionally updates the OOBE process, so always ensure you are using the latest installation media.
Is a local account less secure than a Microsoft account?
Local accounts do not offer cloud-based password recovery. If you forget your local password and haven't created a password reset disk, regaining access to your files is much more difficult than with an MSA.
Why does Microsoft make it so hard to create a local account?
Microsoft encourages MSA usage to integrate users into their ecosystem, enabling features like seamless synchronization across devices, cloud backups via OneDrive, and easier license management.
Do I need to run the command every time I update Windows?
No. Once the local account is created during the initial installation, it remains a local account through future feature updates (like moving from 23H2 to 26H2) unless you manually choose to switch to a Microsoft account.