Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / Installing Windows 11 25H2 with a Local Account (without a Microsoft Account)

October 9, 2025

Installing Windows 11 25H2 with a Local Account (without a Microsoft Account)

When you perform a clean installation of Windows 11 (or the latest Windows 10 builds), the Setup wizard prompts you to sign in with your online Microsoft Account (MSA). If your computer is on a network isolated (disconnected) from the Internet, you don’t have a Microsoft account, or you don’t want to use one, you simply won’t be able to sign in to your device during the Windows 11 setup process.

In Windows 11 21H2, a Microsoft account was only required for the Home edition. This edition’s system requirements clearly state that an internet connection and a Microsoft account are necessary. However, starting with Windows 11 22H2, the option to create a local account is also missing by default in the Pro edition. In this article, we will show you several ways to install Windows 11 25H2 with a local account (without a Microsoft account).

A local user account is a classic offline Windows account that is created and stored locally on the device and does not require an Internet connection for setup or use. The password hashes of these users are stored locally in the Security Accounts Manager (SAM) database.

If you have an internet connection when installing Windows 11 25H2 but would prefer not to use a Microsoft account, there are specific steps you can follow to create a local account instead.

  1. Select the option to join the computer to the domain. (Set up for work or school).setup win11 for work or school with local account
  2. On the Microsoft account sign-in screen, click Sign-in options to view the available options. windows 11 oobe: signin options
  3. Select Domain-join insteaddomain join instead
  4. You will then be prompted to create a new local account and set a password for it. An actual connection to the Active Directory domain is not required for this.
  5. Create local account while setup Windows 11

However, this method of bypassing the Microsoft account requirement only applies to Windows 11 Pro and Enterprise editions (not Home).

In Windows 11 22H2, it was possible to skip the step of connecting a Microsoft account online by entering the name of a fake user account. For example, [email protected] with password test. If a Microsoft account (MSA) does not exist, Windows Installer will prompt you to create a local user account. However, starting with Windows 11 version 24H2, this method no longer works.  How to create a local account on Windows 11 setup? 

In Windows 11 25H2, another option has appeared that allows you to continue the installation with a local account:

  1. To open the command prompt on the Windows Out-of-Box Experience (OOBE) screen, press Shift+F10 (or Fn+Shift+F10 on some laptops).
  2. Run the command: start ms-cxh:localonly
  3. You will be redirected to the local account creation screen. Specify the new username and password, and you will be logged into Windows 11 with a local account. start ms cxh localonly on OOBE to create a local user

If your computer is connected to an isolated network (without an Internet connection), there is an alternate option to install Windows 11 with a local account:

  1. If your computer isn’t connected to the Internet, the Windows Out Of Box Experience (OOBE) wizard won’t allow you to complete the installation of Windows 11 25H2 without a network connection. This step only contains a button to load network adapter drivers. There is no option to skip the network check and continue installation with a local accountbypass internet connection to install Windows 11
  2. You can bypass this screen. Press Shift+F10 to open the command prompt.
  3. Run the oobe\bypassnro command and your computer will restart automatically. (This command bypasses the OOBE requirement to check network availability, Bypass Network Requirement Oobe).
    OOBE Setup Windows 11 without Internet 
    This command actually creates the BypassNRO registry parameters and then restarts the computer. This registry entry can be created manually: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f  
  4. Now OOBE skips the network connection check, and the I don’t have Internet button will appear. Click it, click Continue with limited setup, and you will be able to create a local Windows user.
    windows 11 i don't have internet

During the OOBE phase, advanced users can manually create a local Windows user.

  1. To do this, create a new local Windows user account using the command prompt (press Shift+F10): net user MyLocalAdm /add *
  2. Set a user password
  3. List local groups: net localgroup
  4. Find the name of the built-in Administrators group (the name of the built-in Administrators group may vary in localized versions of Windows 11)
  5. The next step is to add your user to the Administrators group: net localgroup administrators MyLocalAdm /addcreate local user cmd using net use and add to admins
  6. Run: oobe\msoobe.exe
  7. The computer will reboot.
  8. The Windows 11 login screen will appear with a list of users. It will display the name of the local user that you created and defaultuser0. Click on your user account and enter the passwordsign-in windows11 with a local account
    After signing in to Windows, disable the defaultuser0 account to hide it from the login screen.disable defaultuser0

You can also create an autounattend.xml answer file and copy it to the root directory of your Windows 11 installation USB stick.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
</settings>
</unattend>

The installer will apply this answer file and prompt you to create a local Windows user. Enabling the HideOnlineAccountScreens and HideWirelessSetupInOOBE options causes the steps for specifying a Microsoft account and checking for network availability during the Out-Of-Box Experience (OOBE) to be skipped.

Create local account while setup Windows 11

It is possible to apply the same parameters via the command line on the OOBE screen, rather than via the answer file: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v HideOnlineAccountScreens /t REG_DWORD /d 1 /f && reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v HideWirelessSetupInOOBE /t REG_DWORD /d 1 /f && shutdown /r /t 0   apply HideOnlineAccountScreens and HideWirelessSetupInOOBE registry options

If you use the Rufus tool to create a Windows 11 installation USB stick, you can enable the following options when writing the installation image:

  • Remove requirements for an online Microsoft account
  • Create a local account with username

This also allows you to skip the Microsoft Account prompt in Windows Setup and install Windows 11 using a local account.

rufus: remove online ms account requirement and create a local user

There is also an option to install Windows 11 without the TPM chip and other checks (Remove requirement for 4Gb+ RAM, Secure Boot and TPM 2.0).

Updated on 10 September 2025. I found information suggesting that Microsoft has blocked all methods of creating local accounts on the Out-of-Box Experience (OOBE) screen (including the commands start ms-cxh:localonly and oobe\bypassnro ) in the latest Windows 11 Insider Preview Build (26120.6772, released on 6 October 2025).  These and other known methods of bypassing Microsoft account registration no longer work in the latest Windows 11 builds. This change is likely to be rolled out to the Windows 11 GA channel soon.

Local-only commands removal: We are removing the known mechanisms for creating a local account from the Windows Setup experience (OOBE). Although these mechanisms were often used to bypass the Microsoft account setup process, they also skipped critical setup screens. This could result in users exiting the Out-of-Box Experience (OOBE) with a device that is not fully configured for use. Users will need to complete OOBE with an internet connection and a Microsoft account to ensure that the device is set up correctly.
0 comment
4
Facebook Twitter Google + Pinterest
Windows 11
previous post
Recovering Files from BitLocker Encrypted Drive
next post
How to Reset Active Directory Domain Admin Password

Related Reading

How to Repair EFI/GPT Bootloader on Windows 10...

March 16, 2024

How to Restore Deleted EFI System Partition in...

March 11, 2024

How to Allow Multiple RDP Sessions on Windows...

March 15, 2024

How to Run Program without Admin Privileges and...

June 8, 2023

Wi-Fi (Internet) Disconnects After Sleep or Hibernation on...

March 15, 2024

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Fix: Can’t Extend Volume in Windows

March 11, 2024

How to Delete Old User Profiles in Windows

March 15, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • How to Delete a Windows Service via CMD or PowerShell

    October 16, 2025
  • Resource Fair Sharing in Windows Server Remote Desktop Services (RDS)

    October 6, 2025
  • How to Disable (Enable) Credential Guard in Windows 11

    October 6, 2025
  • Wrong Network Profile on Windows Server after Reboot

    September 30, 2025
  • How to Get Windows 10 Extended Security Updates After End-Of-Life

    September 24, 2025
  • Blocking NTLM Connections on Windows 11 and Windows Server 2025

    September 23, 2025
  • Windows Stucks at ‘Getting Windows Ready, Don’t Turn Off Computer’

    September 15, 2025
  • Clean Up ETL Log Files in ProgramData

    September 9, 2025
  • Fix: Slow Startup of PowerShell Console and Scripts

    September 3, 2025
  • DPI Scaling and Font Size in RDP (RDS) Session

    August 27, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Allow Multiple RDP Sessions on Windows 10 and 11
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
  • Fixing ‘The Network Path Was Not Found’ 0x80070035 Error Code on Windows
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top