install Windows 11 without a Microsoft account

How to install Windows 11 without a Microsoft account in 2025?

Windows 11 strongly encourages the use of a Microsoft account, supposedly offering a more integrated experience with its cloud services and applications. However, some users prefer a local account for reasons of privacy, security or simply to avoid dependency on an online service. Although this option is not highlighted, it is entirely possible to install Windows 11 without a Microsoft account. This approach allows you to maintain a more independent, uncluttered environment.

How do I install Windows 11 without a Microsoft account?

By default, Windows 11 requires the use of a Microsoft account during installation, making it impossible to configure a local account. However, it is possible to bypass this restriction via the command prompt. Here’s a guide to installing Windows 11 without a Microsoft account.

Boot your PC with the Windows 11 USB installation key.

Follow the first steps by choosing your language, keyboard layout and time zone.

Follow the usual instructions to the screen requesting an Internet connection.

On the screen requesting a Microsoft account, simultaneously press Shift + F10 (+FN on your keyboard) to open the command prompt.

Type the following command and confirm with Enter :

OOBE\BYPASSNRO
BYPASSNRO
OOBEBYPASSNRO when configuring Windows 11 24H2 EN on Hyper-V.

The PC will restart automatically and you’ll be taken back to the setup screen to continue configuration without a Microsoft account.

This method still works wheninstalling Windows 11 24H2, the most recent version of Windows 11 available since October 1, 2024.

Is it possible to add a Microsoft account after installing Windows 11 with a local account?

It’s perfectly possible to add a Microsoft account after installing Windows 11 with a local account. Once logged in, Windows will enable synchronization of settings and access to Microsoft services (OneDrive, Microsoft Store, etc.).

Why does Microsoft no longer allow the creation of a local account when installing Windows 11?

Microsoft has phased out the option of creating a local account when installing Windows 11 for several strategic and technical reasons:

Strengthening the Microsoft ecosystem

By requiring users to log in with a Microsoft account, the company encourages the integration of its cloud services (OneDrive, Microsoft 365, Microsoft Store, etc.). This promotes user retention within its ecosystem and encourages adoption of its paid solutions.

Data synchronization and backup

A Microsoft account enables automatic synchronization of settings, files and applications across multiple devices. This feature is designed to improve the user experience by facilitating the recovery of data and preferences in the event of a system change or reinstallation.

Security and identity management

Using a Microsoft account enables you to activate advanced security features such as :

  • Windows Hello (biometric authentication).
  • BitLocker (data encryption to protect against theft).
  • Find My Device (locates your computer in the event of loss or theft).
  • 2FA authentication (via telephone or e-mail).

Microsoft justifies this constraint by strengthening cybersecurity and better protecting user accounts.

Transition to a Cloud-First model

Microsoft is gradually orienting its model towards cloud-based solutions(Windows 365, Azure AD, etc.). The elimination of local accounts is part of this strategy, pushing users towards more centralized, remotely manageable infrastructures.

The gradual abandonment of local accounts is part of Microsoft’s drive to generalize connected accounts for commercial, security and data management reasons. However, advanced users still have ways of getting around this constraint.

About the author

Adrien Piron

I’m Adrien, passionate about technology and specialized in technical support for individuals. My goal is to make technology accessible to everyone.

Discover the top articles on the same topic

Quick Machine Recovery: your Windows PC can repair itself

Quick Machine Recovery: your Windows PC can repair itself

Discover Quick Machine Recovery, the new Windows 11 feature that detects failures at startup and repairs your PC automatically.

Windows 11 KB5063878: what’s new in the August 2025 update?

Windows 11 KB5063878: what’s new in the August 2025 update?

Discover all the new features of cumulative update KB5063878 for Windows 11 24H2: redesigned interface, enhanced AI, security fixes and system optimizations.

Uninstalling preinstalled applications on Windows 11/10 – Bloatware

Uninstalling preinstalled applications on Windows 11/10 – Bloatware

Fed up with useless applications on Windows 11? Follow our guide to easily uninstalling preinstalled bloatware.

Massgrave Activate Office 365 and 2024 for Free for Life with PowerShell

Massgrave Activate Office 365 and 2024 for Free for Life with PowerShell

Find out how to activate Microsoft Office for free for life with Microsoft Activation Script (MAS) to unlock all features.