- Microsoft is removing every known way to bypass signing in with a Microsoft Account when setting up Windows 11.
- Starting with builds 26220.6772 and 26120.6772, commands like
bypassnroandms-cxh:localonlyno longer works, forcing users to connect to the internet and sign in during setup. - Local account creation is still possible, but it requires the use of other methods, such as a more complex installation using an unattended file.
Microsoft is tightening its grip on the Windows 11 setup process, making it almost impossible to bypass the Microsoft Account and internet connection requirements to complete the setup of a new installation or computer. In the latest preview builds available in the Dev and Beta Channels, the company has confirmed that it’s removing known workarounds that allowed users to bypass the online account and connection requirements during the Out-of-Box Experience (OOBE).
According to the official announcement, Microsoft is “removing known mechanisms for creating a local account in the Windows Setup experience.” The company says these unofficial methods not only bypassed the Microsoft Account requirement but also skipped critical setup screens, leaving devices improperly configured.
“Users will need to complete OOBE with internet and a Microsoft Account to ensure the device is set up correctly,” the software giant explains.
Microsoft disables online account bypass commands
Until now, advanced users could easily skip the Microsoft Account requirement by using special commands, such as OOBE\BYPASSNRO or start ms-cxh:localonly, during the setup process. When these commands were used, the system launched the local account creation options and temporarily disabled online sign-in enforcement.

However, Microsoft first removed BYPASSNRO earlier this year, and now the company has confirmed that start ms-cxh:localonly no longer works either. Attempting to run the command in the latest preview builds now simply resets the setup process and fails to display the option for a local account.
This effectively closes off the last simple method for creating a local account without modifying the installation image.
Creating a local account is still possible
After creating a custom ISO file of Windows 11 build 26220.6772, I have tested various methods and can confirm that several workarounds still allow you to bypass the Microsoft account and internet connection requirements during the Out-of-box Experience.
For instance, if you manually add a Registry entry to enable BYPASSNRO. You can still bypass the Microsoft Account and internet requirements during the initial setup.
The workaround using the Developer Console with the WinJS.Application.restart("ms-cxh://LOCALONLY") command still works.
Also, the command to add a Registry entry to configure the HideOnlineAccountScreens feature will still allow you to bypass the requirements and continue creating a local account.
Furthermore, if you’re installing Windows 11 Pro, you can choose the “Set up for work or school” option and create a local account using the “Domain join instead” option.
Alternatively, creating an unattended setup file to include the local user details still works in this release. This approach is significantly more complex and is intended for network administrators or advanced users who are comfortable with automation scripts.
You can also use third-party tools like Rufus and Ventoy to create a custom USB bootable media that bypasses the Microsoft Account and internet requirements.
Microsoft’s decision is part of its broader effort to unify the experience and ensure all users are connected to the cloud for security, backup, and device sync.
Why Microsoft is enforcing Microsoft Accounts
The company has repeatedly emphasized that a Microsoft Account is essential to “ensure devices are set up correctly” and provide seamless access to features such as OneDrive backup, cross-device syncing, and Microsoft online services. However, many users have resisted the requirement, citing privacy concerns and the desire to control how their data is linked to Microsoft’s ecosystem.
For now, Windows 11 Home and Pro editions in upcoming builds will require both an internet connection and a Microsoft Account during setup, with all major bypasses now disabled.
What’s next for the local account setup
It’s possible that new bypasses will surface over time, but as of the latest Windows 11 preview builds, all major known workarounds have been patched. These changes are expected to roll out to production versions of Windows 11 in the coming weeks as part of a cumulative update.
Interestingly, Microsoft is also testing a new option that allows users to rename their default user folder during setup, addressing one of the main reasons people opt for local account setups, controlling the automatically generated user folder name based on their Microsoft Account email. Currently, the feature is hidden behind a command, but it could become a built-in option in future releases.
