Logo
BlogToast.
HomeAll PostsCategoriesRandom
Sign in
Logo
BlogToast.

Discover stories, insights, and perspectives from writers around the world.

Explore

  • All posts
  • Categories
  • Random

Dashboard

  • Sign in
  • Sign up
  • Forgot password

Legal

  • Contact
  • Privacy policy
  • Terms of service

© 2026 BlogToast. All rights reserved.

How to bypass signing in to microsoft account and use local account in setup of Windows 11
Tutorials5 min read

How to bypass signing in to microsoft account and use local account in setup of Windows 11

Learn how to bypass the Microsoft account requirement during Windows 11 setup using the hidden start ms-cxh:localonly command and create a local account.

N

N@rutO

June 1, 2026

Microsoft increasingly encourages users to sign in with a Microsoft account during Windows 11 installation. While a Microsoft account offers features such as OneDrive synchronization, Microsoft Store access, and settings backup, many users prefer using a traditional local account for privacy, simplicity, or offline use. If you are looking for bypassing internet connection while windows 11 setup then click here.

Fortunately, some versions of Windows 11 still allow creating a local account during setup through a hidden command. One commonly used method involves the command:

start ms-cxh:localonly

This guide explains how the command works and how to use it during the Windows 11 setup process.

Why Use a Local Account?

A local account stores your credentials only on the computer and does not require an internet connection or Microsoft account.

Benefits include:

  • Greater privacy

  • No Microsoft account required

  • Faster setup process

  • Reduced cloud synchronization

  • Ideal for testing or lab environments

What Is start ms-cxh:localonly?

The command launches a hidden Windows setup component that allows users to create a local account directly during the Out-of-Box Experience (OOBE), which is the initial setup screen shown after installing Windows.

The command can be executed from Command Prompt during setup and may open a local account creation wizard.

Important Notes

Before proceeding, keep in mind:

  • Microsoft may remove or disable this method in future Windows 11 updates.

  • Availability varies by Windows build and edition.

  • Some recent versions may require alternative methods.

  • This method creates a local account only and does not activate Windows.

How to Use the Command

Step 1: Reach the Microsoft Account Sign-In Screen

Install Windows 11 normally until you arrive at the screen requesting a Microsoft account sign-in.

Step 2: Open Command Prompt

Press:

Shift + F10

A Command Prompt window should appear.

On some laptops, you may need:

Shift + Fn + F10

Step 3: Execute the Command

Type:

start ms-cxh:localonly

and press Enter.

Step 4: Create a Local User

If supported by your Windows version, a new window will appear allowing you to:

  • Enter a username

  • Create a password

  • Configure security questions

Complete the process and continue the Windows setup.

What Happens Next?

After finishing setup:

  • Windows logs into the local account you created.

  • No Microsoft account is linked.

  • You can use the PC normally.

  • A Microsoft account can still be added later if desired.

If the Command Doesn't Work

Microsoft regularly updates Windows setup behavior. If the command fails, it may mean the current Windows build has disabled or removed the functionality.

Common reasons include:

  • Updated Windows 11 installation media

  • Enterprise deployment restrictions

  • New OOBE changes from Microsoft

In such cases, alternative local-account setup methods may be required.

Is This Safe?

Yes. The command does not modify system files, install third-party software, or bypass Windows security mechanisms. It simply launches an existing Windows component that may provide a local account creation workflow.

However, because Microsoft does not officially document this method for general users, its availability can change without notice.

Local Account vs Microsoft Account

Feature

Local Account

Microsoft Account

Offline Login

Yes

Limited

OneDrive Sync

No

Yes

Settings Sync

No

Yes

Microsoft Store Integration

Limited

Full

Privacy

Higher

More Cloud Connected

Internet Required During Setup

No

Usually Yes

Should You Use a Local Account?

A local account is a good choice if you:

  • Prefer privacy-focused computing

  • Use Windows offline frequently

  • Don't use Microsoft cloud services

  • Want minimal account integration

A Microsoft account may be better if you:

  • Use OneDrive regularly

  • Sync settings across devices

  • Purchase apps from Microsoft Store

  • Need password recovery through Microsoft

Conclusion

The start ms-cxh:localonly command provides a convenient way to create a local account during Windows 11 setup on supported versions. By opening Command Prompt with Shift + F10 and running the command, users may bypass the Microsoft account sign-in requirement and continue setup with a traditional local Windows account.

Because Microsoft frequently changes Windows 11 setup behavior, this method may not work on every build, but it remains a useful option when available for users who prefer local accounts over cloud-connected Microsoft accounts.

Tags

windows 11 local account bypass microsoft account windows 11 start ms-cxh:localonly windows 11 setup local account create local account windows 11 windows 11 oobe bypass
Advertisement
skip microsoft account windows 11
windows 11 offline account
local account during windows setup
windows 11 installation guide
windows 11 account setup
microsoft account requirement windows 11
shift f10 windows setup
windows 11 setup tricks
create offline account windows 11
windows 11 oobe local user
windows 11 hidden commands
bypass sign in windows 11
windows 11 privacy setup
local user account windows 11
windows 11 no microsoft account
windows 11 setup without internet
ms-cxh localonly command
windows 11 out of box experience
windows 11 setup tutorial
windows 11 account bypass
install windows 11 with local account
windows 11 offline installation
microsoft account alternative windows 11
windows 11 local login

Discussion (0)

Related Blogs

Explore similar articles

How to setup weak password in Ubuntu
Tutorials
2 min

How to setup weak password in Ubuntu

J

N@rutO

Sep 11

5 0
Fix files being tracked even after adding to gitignore
Tutorials
2 min

Fix files being tracked even after adding to gitignore

J

N@rutO

Sep 18

12 1