Windows 11 Without a Microsoft Account: Local Account Setup (2026) – LicenceHouse guide

You can still run Windows 11 without a Microsoft account, but the old setup shortcuts no longer work reliably. Microsoft has removed the OOBE\BYPASSNRO script and the start ms-cxh:localonly trick, so the dependable routes in 2026 are the Pro-only Domain join instead option, an answer file or Rufus-prepared USB, or finishing setup with a Microsoft account and then switching to a local account.

Method Editions Difficulty Status in 2026
Switch to a local account after setup Home and Pro Easy Fully supported by Microsoft
Add a second, local account after setup Home and Pro Easy Fully supported by Microsoft
Domain join instead (during setup) Pro, Enterprise, Education Easy Available on current Pro builds
Rufus USB with local-account options Home and Pro Moderate Works with official Microsoft ISOs
Unattended answer file (autounattend.xml) Home and Pro Advanced Deployment feature used by IT teams
OOBE\BYPASSNRO, ms-cxh:localonly, fake email All n/a Removed or unreliable, not recommended

Can you still install Windows 11 without a Microsoft account?

Yes, but not through the shortcuts most older guides describe. Microsoft has said it is removing known mechanisms for creating a local account during the out-of-box experience (OOBE), and expects setup to finish online with a Microsoft account. Local accounts themselves are still fully supported once Windows is installed, and a few setup routes remain.

The OOBE is the blue setup sequence that asks for your region, keyboard, network and account. In October 2025, Microsoft's Insider release notes for build 26220.6772 stated that these workarounds "inadvertently skip critical setup screens". Expect current installation media for 25H2 and 26H2 (see our Windows 11 version and update guide) to reject them, even if an older ISO still accepts one.

What we commonly see: people follow a 2023 tutorial, type oobe\bypassnro at the Shift + F10 prompt and either get "not recognised" or watch setup restart. That is expected behaviour on current media, not a fault with the PC or the installation USB.

What is the easiest way to get a local account on Windows 11?

The easiest supported route is to complete setup with any Microsoft account, then go to Settings > Accounts > Your info and choose Sign in with a local account instead. Windows converts your profile to a local account, keeps your files and apps, and stops signing in to Microsoft at the lock screen.

  1. Finish setup using a Microsoft account. A new, throwaway account is fine if you do not want to use your main one.
  2. Open Settings > Accounts > Your info.
  3. Under Account settings, select Sign in with a local account instead.
  4. Confirm your identity with your PIN or password.
  5. Enter a user name, password and password hint. The name must differ from any other account on the PC.
  6. Select Next, then Sign out and finish, and sign back in with the new local credentials.

Microsoft documents this switch on its change between a local account and a Microsoft account support page. It also warns that a forgotten local password cannot be reset online, so set up security questions or a password reset disk.

Advanced nuance: your user folder keeps the name it was given during setup, which is often the first five letters of the email address. If a tidy C:\Users name matters to you, create a brand-new local account instead (next section) and make that your main administrator.

How to add a separate local account

  1. Go to Settings > Accounts > Other users and select Add account.
  2. Choose I don't have this person's sign-in information.
  3. Select Add a user without a Microsoft account.
  4. Enter a user name, a password and three security questions, then select Next.
  5. Back in Other users, select the new account, choose Change account type and set it to Administrator if it will be your main login.

Sign in to the new account once so Windows creates its profile folder, then remove the original Microsoft-account profile from Other users if you no longer need it. Copy anything you want to keep first, because removing an account deletes its files.

Surface laptop on a wooden desk, ready to set up Windows 11 without a Microsoft account

How do I use "Domain join instead" on Windows 11 Pro?

On Windows 11 Pro, choose Set up for work or school when setup asks how you will use the device, open Sign-in options and select Domain join instead. Setup then asks for a local user name and password. This option exists for business deployments, so it is not offered on Windows 11 Home.

  1. Start setup from official installation media and continue to the How would you like to set up this device? screen.
  2. Choose Set up for work or school and select Next.
  3. On the sign-in page, select Sign-in options.
  4. Choose Domain join instead.
  5. Enter a name for the account, create a password and answer the three security questions.

Despite the label, the PC is not joined to any domain. You simply finish with a standalone local administrator account, and you can join a real Active Directory domain later from Settings > Accounts > Access work or school.

Cause and effect: this route depends on the edition embedded in your product key or digital licence. If setup installs Home because that is what the firmware key says, the work-or-school screens will not appear. A genuine Windows 11 Pro key unlocks this path along with BitLocker, Group Policy and Remote Desktop hosting, and our Pro vs Home comparison explains the other differences.

Can Rufus or an answer file create a local account?

Yes. Rufus, a widely used free USB tool, can write an official Windows 11 ISO with options to remove the online Microsoft account requirement and create a named local account. Alternatively, an autounattend.xml answer file on the USB can define a local account, which is the method IT teams use for repeatable deployments.

Using Rufus

  1. Download the official Windows 11 ISO from Microsoft and the latest Rufus from rufus.ie.
  2. In Rufus, select your USB drive and the ISO, then select Start.
  3. In the Windows User Experience dialogue, tick Remove requirement for an online Microsoft account.
  4. Optionally tick Create a local account with username and type the name you want.
  5. Select OK, let Rufus write the drive, then install Windows from it.

Rufus does not modify Windows itself; it adds setup instructions alongside the unmodified Microsoft files. Never use "pre-activated" or debloated ISOs from file-sharing sites to achieve the same result. Our full walkthrough on creating a Windows 11 bootable USB covers both Rufus and the Media Creation Tool.

Using an answer file

An answer file is an XML document that Windows Setup reads automatically when it is named autounattend.xml and placed in the root of the USB drive. The LocalAccounts section defines the user, password and group membership, as described in Microsoft's LocalAccounts unattend reference.

This approach suits technicians imaging several PCs. For a single home PC, Rufus or switching after setup is simpler and less error-prone, because a small XML mistake can stop setup part-way through.

Does a local account affect Windows activation?

A local account does not stop Windows activating. Activation is tied to the device's hardware and product key, not to how you sign in. The difference appears later: only a Microsoft account can link a digital licence to your identity, which is what lets the Activation troubleshooter reactivate Windows after a motherboard replacement.

If you stay on a local account, keep your product key somewhere safe. After major hardware changes you can re-enter it under Settings > System > Activation > Change product key, which our guide to activation error 0x803FA067 after a hardware change explains step by step.

Microsoft's article on reactivating Windows after a hardware change describes the linked-account route. Linking is optional, and you can add it later from the Activation page if you change your mind.

Should you use a local account or a Microsoft account?

A local account suits people who want privacy, an offline PC, a shared family machine or a tidy user-folder name. A Microsoft account suits people who want OneDrive backup, settings sync, online password recovery, BitLocker key backup and easy licence reactivation. You can switch between the two at any time from Settings > Accounts > Your info.

  • Local account pros: no email needed, no cloud sign-in at the lock screen, works fully offline.
  • Local account cons: no online password reset, no automatic OneDrive or settings sync, device encryption recovery keys are not backed up to your Microsoft account.
  • Middle ground: keep a local Windows login and sign in to the Microsoft Store, Outlook or OneDrive only inside those apps when you need them.

Whichever you choose, start from a properly licensed installation. Every method here works with a genuine Windows 11 Home licence or a Pro key, and the related guides below cover installation and activation in full.

Frequently asked questions

Does OOBE\BYPASSNRO still work in Windows 11?

Not on current installation media. Microsoft removed the BypassNRO script in 2025 and later blocked the ms-cxh:localonly command and related registry tricks. Some older ISOs may still accept them, but they are unreliable and may stop working after updates. Use the supported methods in this guide instead.

Can I set up Windows 11 Home without internet?

Standard Windows 11 Home setup expects an internet connection and a Microsoft account. The practical offline options are installation media prepared with Rufus's local-account settings or an answer file. Otherwise, connect briefly, finish setup online and then switch to a local account in Settings.

Will switching to a local account delete my files?

No. Switching through Settings > Accounts > Your info converts the same profile, so desktop files, documents and installed apps stay where they are. Files stored only in OneDrive remain online, and anything set to sync will stop syncing until you sign in to OneDrive again.

Is using a local account against Microsoft's licence terms?

No. Local accounts are a standard, documented Windows feature, and Microsoft publishes its own instructions for switching to one. Your licence depends on owning a genuine product key or digital licence for the edition installed, not on the type of account you sign in with.

Is Domain join instead available on Windows 11 Home?

No. The Set up for work or school path and its Domain join instead option only appear when setup installs Windows 11 Pro, Enterprise or Education. Home users should switch to a local account after setup or prepare their USB with Rufus.

Related guides

Links in this guide

Link Type Why it helps
Check Windows 11 version and update Internal Shows which build your installation media and PC are running
Windows 11 Pro key Internal Edition that offers the Domain join instead option
Windows 11 Pro vs Home Internal Compares Pro-only setup and management features
Create a Windows 11 bootable USB Internal Full Rufus and Media Creation Tool walkthrough
Activation error 0x803FA067 Internal Reactivating after hardware changes without a linked account
Windows 11 Home licence Internal Genuine licence for home installations
Switch between local and Microsoft accounts External Microsoft's official steps for changing account type
Rufus External Official download page for the USB creation tool
LocalAccounts unattend reference External Microsoft documentation for answer-file local accounts
Reactivating Windows after a hardware change External How a linked Microsoft account helps reactivation
Installation, Local account, Microsoft account, Windows 11, Windows 11 pro