Microsoft wants users to sign in with a Microsoft account, for tracking and to synchronize user settings across multiple devices.
You can bypass using a Microsoft account during the Windows 11 install process by opening a Command Prompt (Shift+F10) and typingms-cxh:localonly
Using Rufus you can create a Windows 11 install USB drive that will automatically bypass this and other requirements.
For the current release builds of Windows (as of April 2025), you may use the OOBE/BYPASSNRO method. However, for builds 26100 and 26200 and beyond (and eventually the next release build), you must use thestart ms-cxh:localonlymethod, which is similar but requires a different command.
Below are two methods: the first involves issuing some commands during the install / OOBE process. The second, which only works for a clean install, requires you to create a modified USB install disk using a free tool called Rufus.
How to Install Windows 11 Without a Microsoft Account (Current Method)
For current release builds of Windows 11 (24H2), there's a simple trick for setting up Windows 11 with a local account that involves issuing a command to keep the OOBE from requiring Internet and then cutting off Internet at just the right time in the setup process. This works the same way whether you are doing a clean install of Windows 11 or following the OOBE process on a store-bought computer.
1.Follow the Windows 11 install process until you get to the "choose a country" screen.
2. Hit Shift + F10. A command prompt appears.
3. TypeOOBE\BYPASSNROto disable the Internet connection requirement.
The computer will reboot and return you to this screen.
Note: if OOBE\BYPASSNRO returns a "command not found" error, skip ahead to the next method in this how-to.
4.Hit Shift + F10 againand this timeTypeipconfig /release.Thenhit Enterto disable the Internet. This effectively disconnects your computer from the Internet. If you're on Ethernet, you could just disconnect the plug, but this is just as easy if not easier.
5.Close the command prompt.
6.Continue with the installation,choosing the region. keyboard and second keyboard option.
A screen saying "Let's connect you to a network" appears, warning you that you need Internet.
7.Click "I don't have Internet"to continue.
8. Click Continue with limited setupif prompted. The OOBE may skip this screen and take you straight to the next step.
A new login screen appears asking "Who's going to use this device?"
9.Enter a usernameyou want to use for your local Windows 11 account andclick Next.
10. Enter a password you would like to use and click Next. You can also leave this field blank and have no password, but that's not recommended.
11.Complete the rest of the install processas you normally would.
How to install Windows 11 with a local account (Builds 26120 and beyond)
On new preview builds of Windows (and eventually the next release version), the OOBE/BYPASSNRO command has been erased and no longer works. Instead, there's a new command calledstart ms-chx:localonlythat does something similar. Here's how you use it.
1.Follow the Windows 11 install processuntil you get to the Sign in screen.
2.Hit Shift + F10. A command prompt appears.
3.Enterstart ms-cxh:localonlyat the command prompt.
A "Create a user for this PC" dialog window appears.
4.Enter a local username and password. If you enter no password, you'll have no password.
5.Complete the installation processand you'll be using the local account you created.
How to Create a Windows 11 Install Disk that Allows Bypassing Microsoft Accounts
You can also create an install disk that has the "no Internet required" setting built into the setup process.
Here's how to make a Windows 11 install disk that will let you disconnect from the Internet during setup so you can create a local account instead of using a Microsoft one.
2.Insert a USB Flash driveyou want to use as an install disk if one is not already inserted. Note that this drive will be completely erased during the process and it must be at least 8GB. If you are just installing Windows in a virtual machine, you can create an ISO file instead of writing directly to a Flash drive, but we'll assume you're not doing that here.
3.Download and launchRufusversion 4.4 or higher. There is no installation process, but you may be asked to confirm permissions by Windows User Account control.
4.Select the USB drivefrom the menu in Rufus if it's not already selected.
5. Click Selectand choose the ISO file.
6. Click Start at the bottom of the Rufus window.
A dialog box appears with a few options for bypassing Windows 11 install requirements.
7.Toggle "Remove requirement for an online Microsoft account" to onandclick OK.You may also want to toggle on the other options, which include Removing the Secure Boot / TPM 2.0 and RAM requirements (disabling these hardware requirements may not work on the latest versions of Windows 11). You can also toggle on "Create a local account with username" and enter your username here and it won't need to prompt you during installation. You can also toggle on "Set regional options to the same values as this user's" and it won't prompt you for the country or keyboard.
8. Click OKif warned that Rufus will destroy all data on the USB Flash drive. It is expected to overwrite all contents of the drive.
Rufus will take a few minutes to copy files to the USB Flash drive. When it's done, you will have a bootable Flash drive. However, you still need to disable the Internet on your computer.
9.Go through setupuntil you reach the "choose a country" screen.
10.Hit Shift + F10to enter the command prompt.
11.Typeipconfig /releaseto kill the Internet connection.
12.Close the command prompt.
13.Click "I don't have Internet"when prompted.
14. Enter your username and passwordwhen prompted. Note that you can leave the password field blank if you want to boot directly to the desktop with no password required.