The allure of a fresh Windows 11 installation is undeniable. A clean slate, optimized performance, and the latest features can breathe new life into your computing experience. However, the mandatory Microsoft account requirement during the setup process has been a point of contention for many users who prefer local accounts for privacy, security, or simply operational preference. Fortunately, with a few strategic maneuvers, it’s entirely possible to bypass this requirement and enjoy a Windows 11 installation that doesn’t tether your system to a Microsoft cloud identity. This guide will walk you through the established methods, ensuring you can reclaim control over your Windows setup.

Understanding the Microsoft Account Mandate
Microsoft’s push towards a unified cloud ecosystem has made the Microsoft account the default and, in many initial setups, the only presented option for Windows 11. This integration aims to offer seamless synchronization of settings, files via OneDrive, and access to the Microsoft Store with a single login. For users who are already deeply embedded in the Microsoft services suite, this can be a convenient feature.
However, for those who prioritize local control, operate in environments where internet access is intermittent or restricted, or simply prefer to keep their operating system separate from cloud-based accounts, this mandate can be a significant hurdle. It raises concerns about data privacy, potential tracking, and the dependency on an external service for core system functionality. Fortunately, Microsoft hasn’t entirely eliminated the option for local accounts, but the pathway to selecting it is often obscured during the initial installation.
Method 1: The “Offline Account” Command Prompt Trick
This is arguably the most straightforward and widely adopted method for achieving a Windows 11 installation without a Microsoft account. It leverages a simple command executed during the Out-of-Box Experience (OOBE) phase when the system prompts you to connect to a network and sign in with your Microsoft account.
Preparing for Installation
Before you even begin the installation, ensure you have your Windows 11 installation media ready. This is typically a USB drive or a DVD created using the Media Creation Tool from Microsoft’s official website. It’s also prudent to have your product key handy if you have one.
Initiating the Installation
-
Boot from Installation Media: Insert your Windows 11 installation USB or DVD into your computer and reboot. You may need to adjust your BIOS/UEFI settings to boot from the USB/DVD drive.
-
Follow Initial Setup Prompts: Proceed through the initial language, time, and keyboard input selections.
-
Network Connection Prompt: This is the critical juncture. When you reach the screen that asks you to connect to a network (Wi-Fi or Ethernet), do not connect. Instead, look for an option that allows you to skip this step or proceed without a network connection. If no such option is immediately visible, this is where the command prompt trick comes into play.
-
Opening the Command Prompt: Press Shift + F10 simultaneously. This will open a command prompt window directly within the Windows setup environment.
-
Executing the Command: In the command prompt window, type the following command and press Enter:
OOBEBYPASSNRO -
Rebooting the System: After successfully executing the command, your computer will automatically reboot.
-
Resuming Setup: Once the system restarts, you will be presented with the OOBE screens again. This time, when you reach the network connection prompt, you will see a new option: “I don’t have internet”. Select this option.
-
Continuing with a Local Account: After choosing “I don’t have internet,” you will be directed to a screen that prompts you to create a Microsoft account. Look for the option that says “Continue with limited setup” or something similar. This will allow you to proceed with creating a local user account. You will then be prompted to enter a username and password for your local account.
This method effectively bypasses the network requirement that forces the Microsoft account sign-in, thereby unlocking the “Continue with limited setup” option and enabling the creation of a local account.
Method 2: Utilizing the winodc Command (Less Common, but Effective)
Another method that achieves a similar outcome to the OOBEBYPASSNRO command involves directly invoking a specific command. While OOBEBYPASSNRO is more widely documented and generally preferred, this alternative can also be successful in certain scenarios or if the primary command encounters issues.
The Command Prompt Intervention
This method also requires access to the command prompt during the OOBE.

-
Boot and Proceed to Network Prompt: As with Method 1, boot from your Windows 11 installation media and progress through the initial setup until you reach the network connection screen.
-
Open Command Prompt: Press Shift + F10 to open the command prompt.
-
Execute the
winodcCommand: Type the following command into the command prompt and press Enter:OOBEwinodc /InstallNote: Some variations suggest using
taskmgrand then findingOOBENetworkConnectionFlow.exeand ending the task, butOOBEBYPASSNROis generally more direct. -
System Reboot and Local Account Option: Similar to the previous method, this command should trigger a system reboot. Upon restarting, the setup process will continue, and you should now have the option to proceed with a limited setup and create a local account, bypassing the forced Microsoft account login.
While OOBEBYPASSNRO is the officially recognized and most consistent command for this purpose, winodc has been observed to work in certain builds or configurations. If the primary method fails, this can serve as a viable alternative.
Method 3: Leveraging Unattended Installation (Advanced Users)
For users comfortable with more advanced configuration and scripting, an unattended installation offers a way to automate the entire Windows setup process, including bypassing the Microsoft account requirement, by pre-configuring settings through an answer file (unattend.xml).
Understanding Unattended Installation
An unattended installation uses an answer file (unattend.xml) to automate various aspects of the Windows setup. This file contains instructions for the setup process, such as accepting the EULA, setting regional options, creating user accounts, and skipping prompts that would otherwise require manual input.
Creating an Answer File
- Install Windows ADK: The Windows Assessment and Deployment Kit (ADK) is essential for creating and managing answer files. Install the ADK and the Windows PE add-on.
- Use Windows System Image Manager (WSIM): The WSIM tool, included in the ADK, is used to create and edit
unattend.xmlfiles. - Configure User Accounts: Within the
unattend.xmlfile, you will configure theMicrosoft-Windows-Shell-Setupcomponent. Specifically, you’ll set theOOBECopyProfilesetting tofalseand provide theUserAccountscomponent with information for your local user, including the username and password. Crucially, you will also configure the OOBE settings to skip the Microsoft account requirement. This typically involves setting parameters that instruct Windows to create a local account by default or to bypass network connectivity checks. - Integrate with Installation Media: Once the
unattend.xmlfile is created and validated, you need to integrate it with your Windows 11 installation media. This usually involves placing theunattend.xmlfile in the root directory of your bootable USB drive or within thesourcesfolder.
Performing the Unattended Installation
- Boot from Modified Media: Boot your computer from the Windows 11 installation media that now contains your
unattend.xmlfile. - Automated Setup: The setup process will automatically detect and apply the configurations in the
unattend.xmlfile. This will include setting up your local account without any prompts for a Microsoft account.
This method requires a deeper understanding of Windows deployment tools and XML configuration. However, for IT professionals or advanced users who frequently deploy Windows, it offers the most control and efficiency.

Post-Installation Considerations
Once you have successfully installed Windows 11 with a local account, there are a few points to keep in mind:
- Microsoft Store Access: You will still be able to access the Microsoft Store, but you will need to sign in with a Microsoft account for specific features like app purchases or syncing app data. However, browsing and downloading free apps usually does not require a sign-in.
- Syncing Settings: Without a Microsoft account, Windows 11’s ability to sync your settings, themes, and preferences across multiple devices will be limited. You will need to manually configure these on each machine.
- OneDrive Integration: If you wish to use OneDrive for cloud storage, you will need to sign in to the OneDrive application separately with your Microsoft account.
- Security Updates: Windows Update will continue to function normally, delivering crucial security patches and feature updates.
- User Account Control (UAC): Your local administrator account will still be subject to User Account Control prompts for system-critical actions.
By utilizing these methods, you can confidently install Windows 11 and maintain a local account, offering greater privacy and control over your computing environment. The choice between these methods often depends on your technical comfort level and the frequency with which you perform Windows installations.
