Skip to main content
    Tech & Gadgets

    How Do You Bypass the Microsoft Account Setup on a New Windows 11 Laptop?

    Mark Debson

    Mark Debson

    Author

    How Do You Bypass the Microsoft Account Setup on a New Windows 11 Laptop?Save

    Quick Answer

    On any new Windows 11 laptop in 2026, press Shift plus F10 at the network screen, type start ms-cxh:localonly, and press Enter. The OOBE jumps straight to a local Create a user for this PC prompt, no Microsoft account required.

    The older OOBEBYPASSNRO command has been patched out of recent builds. The new ms-cxh:localonly command is the current working method and ships with the OS.

    If your laptop already connected to Wi Fi or you are partway through OOBE, you may need to restart setup from the beginning for the bypass to take effect.

    Why Microsoft made the bypass harder

    Through 2023 and 2024, Microsoft removed the I don't have internet button from Home and Pro editions of Windows 11. The old workaround, OOBEBYPASSNRO, was patched out in build 26200 and later. The intent is to push every user into a Microsoft account so OneDrive, Edge sync, and Copilot can all hook in from day one.

    For privacy minded users, sysadmins setting up shared devices, and anyone configuring a laptop without internet access, the requirement is a real blocker. The good news is Microsoft left the underlying ms-cxh:localonly URI handler in the OS, and that handler still launches the local account flow.

    Before you start

    Two prep steps matter.

    • Do not connect to Wi Fi during the early OOBE screens. If you already did, force a restart by holding the power button for 10 seconds.
    • Unplug any Ethernet cable. If the OS detects a live wired connection it will skip the network screen and you lose the cleanest entry point for the bypass.

    If you accidentally completed too much of the OOBE, the cleanest fix is to factory reset from Settings, System, Recovery, Reset this PC, and start fresh once Windows reboots into OOBE.

    The ms-cxh:localonly bypass, step by step

    1. Boot the laptop and pick your country, keyboard layout, and language.
    2. Stop at the Let's connect you to a network screen.
    3. Press and hold Shift, then tap F10. On most HP, Dell, and Lenovo laptops you also need to hold the Fn key, so the combo is Shift plus Fn plus F10. A black Command Prompt window appears.
    4. Type the following command exactly and press Enter:
      start ms-cxh:localonly
    5. The OOBE screen behind the terminal refreshes and shows a Create a user for this PC prompt.
    6. Type your preferred local username and password and continue.

    Windows finishes the setup, drops you on the desktop, and never asks for a Microsoft account.

    If the laptop still demands a network

    Some laptops, especially Surface and a few Dell XPS models, aggressively try to reconnect to a saved network during OOBE. If the ms-cxh:localonly command opens for a second and then disappears, the network manager has re grabbed control. The fix is to kill the network stack temporarily.

    1. Open the terminal again with Shift plus F10.
    2. Run ipconfig /release to drop any DHCP lease.
    3. Run taskkill /F /IM oobenetworkconnectionflow.exe to terminate the connection flow process.
    4. Run start ms-cxh:localonly again.

    That sequence works on every shipping Windows 11 build through mid 2026.

    What happens after the bypass

    You land on the desktop with a clean local profile. A few things to know.

    • OneDrive will not auto sync because there is no Microsoft account behind it. You can add OneDrive later from Settings if you ever want it.
    • Microsoft Store works, but downloading paid apps still requires signing in to a Microsoft account for the Store specifically. Free apps work without signing in.
    • Windows Update, Defender, and every system feature work exactly the same as on a Microsoft account install.
    • You can convert the local account into a Microsoft account at any time from Settings, Accounts, Your info, Sign in with a Microsoft account instead.

    The privacy and admin upside

    A local account ships with telemetry set to Required only by default, no automatic cloud sync of files, and no automatic Outlook or Edge sign in. For business and education devices, a local account also gives the IT admin a clean baseline before the device is joined to a domain or Intune tenant later.

    For consumer users, the practical effect is fewer notifications nudging you to enable OneDrive, fewer pop ups asking you to back up to the cloud, and a faster initial desktop with no Microsoft service preloading data in the background.

    Things that can go wrong and how to recover

    A few edge cases trip up users running the bypass for the first time.

    • Shift plus F10 does nothing. Some laptops need Shift plus Fn plus F10 because the top row defaults to media keys. Try both combinations.
    • The terminal opens but every command returns an error. Check the keyboard layout the OOBE chose. A QWERTZ or AZERTY layout shifts the colon and the slash, breaking the command. Switch the layout to US English temporarily, run the bypass, then change it back later.
    • The local account screen flickers and reverts to the Microsoft account prompt. The network flow process restarted. Run the taskkill command and re launch ms-cxh:localonly.
    • The laptop hard reboots into OOBE every time. Pull the network cable, hold power for 10 seconds, and restart cold. Some firmware needs a clean cold boot to honor the local account choice.

    Once you have seen these four behaviors once, you will recognize them instantly the next time you set up a fresh laptop.

    The takeaway

    OOBEBYPASSNRO is gone but the local account install is not. start ms-cxh:localonly is the current 2026 working method, ships with Windows 11, and takes one terminal command to unlock. Once you know the trick, every new laptop in your house or office can ship clean on a local account in under five minutes.

    Frequently Asked Questions

    Does OOBEBYPASSNRO still work?

    No, not on any Windows 11 build released in 2025 or 2026. Use start ms-cxh:localonly instead.

    Is bypassing the Microsoft account against the EULA?

    No. Microsoft ships the ms-cxh:localonly URI handler inside the OS. It is an officially supported, if undocumented, path to a local account.

    Can I add a Microsoft account later?

    Yes. Settings, Accounts, Your info, Sign in with a Microsoft account instead converts the local profile.

    Will Windows Update still work on a local account?

    Yes. Updates, Defender, and all system services are independent of the account type.

    My laptop-desk picks

    Tap any card to check today's price.

    Mark Debson

    Written by

    Mark Debson

    I'm Mark Debson, the writer behind dmbio. I spend my days digging into the science behind everyday products, brands and habits, then translating what I find into clear answers you can read in about five minutes.

    Drafted with AI assistance, fully reviewed and edited before publishing. See our editorial & AI policy.

    Related reads