Microsoft continues to push users toward creating an online Microsoft account when setting up Windows 11. While this offers features like OneDrive integration, some users prefer a local account for privacy, security, or administrative control. The good news is that you can still create a local account on a new Windows 11 device, even if Microsoft tries to hide the option.
This guide explains step-by-step how to bypass the Microsoft account requirement and set up a secure local account on Windows 11.

Why Use a Local Account Instead of a Microsoft Account?
A local account stores login details directly on the device instead of syncing them to Microsoft’s cloud. This offers several benefits:
- Increased privacy. Your activity is not linked to your Microsoft ID.
- Reduced attack surface. Cloud accounts are often targeted in phishing or credential-stuffing attacks.
- Full control. Local credentials allow you to manage users and passwords without relying on Microsoft services.
Cybersecurity professionals often recommend minimizing unnecessary cloud connections to reduce exposure. For example, if a Microsoft account is compromised, attackers gain access not only to the PC but also to Outlook, OneDrive, and linked devices. A local account reduces this risk.
For more background on local versus cloud authentication models, see Microsoft’s official Windows sign-in options documentation.
Steps to Create a Local Account During Setup
When setting up a new Windows 11 laptop, you’ll be prompted to connect to Wi-Fi and sign in with a Microsoft account. To bypass this, follow these steps:
- Start the setup process and select your language, region, and keyboard layout. Skip adding a second keyboard if not required.
- When asked to connect to Wi-Fi, do not select a network. Instead, bring focus to the Wi-Fi selection window.
- Press Shift + F10 (or Fn + Shift + F10 on some laptops). This opens a Command Prompt with administrative privileges.
- Type the following command and press Enter:
OOBE\BYPASSNROThis forces Windows to restart the Out-of-Box Experience (OOBE) with the option to create a local account. - After the restart, Windows will let you set up a username and password without requiring internet access.
At this point, you can complete security questions and finish the installation.
Securing Your Local Account
Do not use weak passwords such as “test” or “1234.” Use a strong password that includes at least 12 characters with a mix of uppercase, lowercase, numbers, and special characters. For example, a password like D4t@Center!2025 is far stronger than simple dictionary words.
You can also enable additional security settings once Windows is installed:
- Disable unnecessary telemetry in the setup wizard. Decline options for diagnostic data, advertising IDs, and location tracking.
- Review account permissions under Settings → Accounts → Your Info to confirm you are listed as a “Local Administrator.”
- Consider using BitLocker (built into Windows Pro editions) for full-disk encryption.
For best practices on password security, refer to the National Institute of Standards and Technology (NIST) guidelines.
A recent case study from Cloudflare’s security blog highlighted how attackers exploit weak credentials in Microsoft accounts to gain access to corporate resources. In enterprise settings, many IT teams disable Microsoft account logins entirely and enforce local domain accounts with Active Directory (AD) or Azure Active Directory (AAD). This demonstrates the practical importance of controlling authentication methods at setup.
For individual users, a local account ensures that even if Microsoft experiences an outage like the global login issues in March 2024, you can still sign in to your device without disruption.
Final Thoughts
While Microsoft promotes online accounts for integration and convenience, security professionals often prefer the simplicity and reduced exposure of local accounts. By using the hidden OOBE command during setup, you can bypass the Microsoft account requirement and retain full control over your device.
At the time of writing (September 2025), this method still works. Future Windows updates may change the process, so always verify with the latest Microsoft documentation.
“Learn more about Windows security best practices.”


