Skip to content
sysarticle
  • Home
  • Blog
    • VMware
    • SCCM
    • Exchange
    • Active Directory
    • Microsoft 365
    • Powershell
    • News
  • About
  • Contact
Newsletter
General

How to Bypass the Microsoft Account Requirement in Windows 11 Setup

By Ahmet Tolga KAYA · August 25, 2026 · 6 min read
How to Bypass the Microsoft Account Requirement in Windows 11 Setup

Quick answer: To bypass the Microsoft account requirement during Windows 11 installation, open a command prompt with Shift+F10 at the network or account screen and use one of the local-account methods in this guide. Newer builds removed some old tricks, so I list what still works and what to do if the local account option does not appear.

Are you trying to set up a new Windows 11 machine without linking a Microsoft account, or perhaps you find yourself without an active internet connection during the setup process? Unfortunately, Microsoft has made it increasingly difficult by removing the straightforward “offline account” or “local account” option directly from the standard Windows 11 installation screens.

However, there is no need to worry. A simple hidden command exists that can quickly redirect you to the traditional local user creation screen. In this comprehensive guide, you will learn exactly how to bypass the mandatory Microsoft Account requirement during your Windows 11 installation seamlessly and securely.

Table of Contents

Toggle
    • Step-by-Step Guide to Bypassing the Microsoft Account Enforcement
  • Does the ms-cxh:localonly Command Still Work?
  • Alternative Methods to Bypass the Microsoft Account Requirement
  • Windows 11 Pro and Prebuilt Installation Media
  • Local Account vs Microsoft Account: What You Give Up
  • Troubleshooting: When the Windows 11 Local Account Option Does Not Appear
  • FAQ
    • Can I still bypass the Microsoft account in Windows 11 in 2026?
    • Why does start ms-cxh:localonly not work on my installation?
    • Does this work on Windows 11 Home and Pro?
    • Is it safe to use a local account on Windows 11?
    • Can I add a Microsoft account later?
  • References

Step-by-Step Guide to Bypassing the Microsoft Account Enforcement

If you prefer to maintain your privacy or simply want to use a local account instead of connecting to a Microsoft account during the Windows 11 setup phase, just carefully follow these simple step-by-step instructions:

Boot from the Installation Media: Start by booting up your computer using your Windows 11 installation ISO, a bootable USB drive, or your installation CD.

Access the Command Prompt: Proceed through the initial setup screens until you reach the ‘Region selection’ screen. Once you are on this screen, press the Shift + F10 keys simultaneously on your keyboard. This handy shortcut will instantly open the Command Prompt window over the setup interface.

microsoft account — image

Execute the Bypass Command: Inside the Command Prompt window, carefully type the following exact command:

start ms-cxh:localonlyCode language: CSS (css)

After typing it, press the Enter key to execute the command

microsoft account — image

Create Your Local Account: Immediately after running the command, the traditional local user account creation window will appear on your screen. Here, you can safely fill in your desired username, a secure password, and security questions for your offline profile. Once you have entered all the necessary information, simply click on the Next button to proceed to the next step.

microsoft account — image

Finalize the Installation: After successfully creating your local account, Windows 11 will automatically resume and finalize the installation process using your newly created offline profile, completely skipping the annoying online Microsoft account enforcement screen.

windows11-bypass4

That is all there is to it! You have successfully bypassed the internet and Microsoft Account restriction. You can now start using and enjoying your Windows 11 operating system with a standard local account.

Does the ms-cxh:localonly Command Still Work?

Sometimes, and that is exactly the problem. Microsoft has been closing these shortcuts one by one. Reports covering the Insider channels say the start ms-cxh:localonly command stopped working in builds 26220.6772 (Dev) and 26120.6772 (Beta), and that the older OOBE\BYPASSNRO command was removed starting with builds 26120.3653 and 26200.5516. Other testers still report the local account command working on some 25H2 builds, so the honest answer depends on the exact installation media you are using.

Before you start, check which build your ISO contains. If the command opens nothing or the setup returns to the account screen, do not keep retrying it. Move to one of the alternatives below.

Bypass Microsoft account requirement Windows 11: methods to try in order

Alternative Methods to Bypass the Microsoft Account Requirement

Each of these is run from the Command Prompt you open with Shift + F10 on the region selection screen. On many laptops you need to press Fn + Shift + F10 instead.

Method 1: BypassNRO registry value. This sets the same flag the removed command used, then restarts setup:

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
shutdown /r /t 0

After the restart, press Shift + F10 again and run ipconfig /release, or simply unplug the network cable and disconnect Wi-Fi. Continue through setup, choose I don’t have internet, then Continue with limited setup, and create the local account.

Method 2: HideOnlineAccountScreens. This hides the online account pages so setup falls through to local account creation:

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\OOBE /v HideOnlineAccountScreens /t REG_DWORD /d 1 /f

Close the Command Prompt and continue the setup normally.

Method 3: Developer console. On the account screen press Ctrl + Shift + J, and run the following in the console that opens. Press Escape or click the screen a few times if the console stays open afterwards:

WinJS.Application.restart("ms-cxh://LOCALONLY")Code language: JavaScript (javascript)

Windows 11 Pro and Prebuilt Installation Media

Windows 11 Pro has one more built-in route: choose Set up for work or school, then Domain join instead. This lets you create a local user without a Microsoft account. It is not available on Home.

If none of the commands work on your build, create the installation USB with Rufus or Ventoy. Rufus can build media that already skips the online account requirement, which also saves you from typing commands on every new machine.

Local Account vs Microsoft Account: What You Give Up

A local account is a perfectly valid way to run Windows 11, but you trade away a few conveniences. Settings and passwords will not sync between devices, and some Microsoft services ask you to sign in later. If BitLocker or device encryption is turned on, remember that the recovery key will not be saved to a Microsoft account for you, so back it up yourself.

For managed environments, the better answer is usually not a bypass at all. Join the device to Active Directory or Microsoft Entra ID and let the organization handle sign-in.

Troubleshooting: When the Windows 11 Local Account Option Does Not Appear

  • Shift + F10 does nothing: make sure you are on the region or language screen, and try Fn + Shift + F10 on laptops.
  • The command opens no window: your build likely removed it, so switch to the registry methods.
  • Setup keeps asking for a network: disconnect Ethernet and Wi-Fi, or run ipconfig /release before continuing.
  • Setup returns to the sign-in screen: restart the installation and apply the registry method before reaching the account page.

Read more: https://sysarticle.com/sccm-filter-collection-by-ou/

Read more: How To Windows Server 2016 Metadata Cleanup Best Way

Read more: Upgrade Microsoft Entra Connect Best Way

FAQ

Can I still bypass the Microsoft account in Windows 11 in 2026?

Often yes, but it depends on the build. The start ms-cxh:localonly command was blocked on newer Insider builds, while registry methods such as BypassNRO and HideOnlineAccountScreens were still reported working. Always test on your own installation media.

Why does start ms-cxh:localonly not work on my installation?

Microsoft removed the command in newer builds, so your media probably includes the change. Use the registry methods or build the USB with Rufus or Ventoy.

Does this work on Windows 11 Home and Pro?

The registry and command methods are run from the setup Command Prompt and are not tied to an edition in the sources I checked. The Domain join instead option is available only on Windows 11 Pro.

Is it safe to use a local account on Windows 11?

Yes. A local account works normally, but settings will not sync across devices and you must back up any BitLocker recovery key yourself.

Can I add a Microsoft account later?

Yes. You can sign in with a Microsoft account from Settings after setup if you change your mind.

References

Pureinfotech: Windows 11 without Microsoft account

Tom’s Hardware: Microsoft eliminates workaround that circumvents Microsoft account requirement

Ahmet Tolga KAYA

Systems Engineer and Technical Writer focused on Windows, Microsoft technologies, infrastructure, cybersecurity, automation, and platform reliability.

Next to read Powershell 01/11/2026 Trust Relationship Failed Between Workstation and Domain: How to Fix It Next to read Active Directory 12/10/2026 How to Migrate DHCP Server to a New Windows Server Next to read Microsoft 365 15/09/2026 How to Connect to Microsoft Graph With PowerShell Next to read Microsoft 365 04/11/2026 Intune Enrollment Error 80180014? Fix It on Autopilot Fast Next to read News 27/08/2026 ChatGPT’s Scheduled Tasks Are Now Available for Free Users!

Take a look

Trust Relationship Failed Between Workstation and Domain: How to Fix It01/11/2026 How to Migrate DHCP Server to a New Windows Server12/10/2026 How to Connect to Microsoft Graph With PowerShell15/09/2026 Intune Enrollment Error 80180014? Fix It on Autopilot Fast04/11/2026

Follow us

♥
LinkedInFollow us on LinkedIn ↗
  • Get-WmiObject Is Not Recognized in PowerShell 7? Why and How I Fixed It01/12/2026
  • SCCM Client Stuck in Provisioning Mode: How to Get It Out30/11/2026
  • OneDrive Error 0x8004de40: Why You Can’t Sign In and How to Fix It29/11/2026
  • NTLM Authentication Failures After the November 2026 Updates28/11/2026
  • Unable to Connect to the MKS: Fixing the VMRC Console27/11/2026
  • How to Update Windows 11 25H2 to 26H2 Safely01/10/2026
  • Install Error 0x800f0993 on KB5132061? How to Fix It12/11/2026
  • Windows 11 25H2 and 26H2: What Is Actually Changing?08/09/2026
  • How to Restore the Classic Right-Click Menu in Windows 1105/10/2026
  • Tiny11 Is Being Rebuilt From the Ground Up: What That Means for Windows 11 26H212/10/2026

NEWSLETTER

Join the movement and receive our weekly Tech related newsletter. It's Free.

Popular Articles

  • Get-WmiObject Is Not Recognized in PowerShell 7? Why and How I Fixed It
  • Greyed Out “Migrate” Button Issue in VMware vCenter and Its Solution
  • An Incomprehensible M365 Case: “The Mailbox Has 50 GB of Free Space, But the User Gets a ‘Mailbox Full’ Error!”

Follow Us

Follow us on social media and keep up with our latest Technology news.

© 2026 - All Rights Reserved

  • Privacy Policy
  • Terms and Disclosure
  • Contact
Your privacy choices

Allow optional analytics? You can change this choice in Cookie settings at any time.

Cookie settings

Choose which optional categories we may enable. Essential cookies remain on to store this preference and keep the site secure.

Essential

Required for security, consent storage, and core navigation. Always active.

Analytics

Helps us understand readership and improve technical content quality.