By default, you must log in with a Microsoft account in order to install Windows 11 and go through the box (OOBE) setup process that triggers either as part of installation or the first time you turn on a new Windows PC. It seems like Microsoft really wants you to log in to Windows 11 using its account system, both so it can track you and so you can get benefits such as synchronizing your wallpaper and preferences across different computers.
However, there are many reasons why you would want to install Windows 11 using a local account only. Maybe you want to install Windows 11 with a local (non-Microsoft) account because you are installing the OS on a child's PC or on a PC that you plan to sell, give to a friend or donate to a charity (without giving other people access to personal data). Or perhaps you just like your privacy and don't want to create an account with Microsoft in the first place.
Whatever your reason for doing so, it's easy to install or set up Windows 11 without using a Microsoft account. Below, we'll show you 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. We've tested these methods on the latest major Windows 11 version, 24H2, and they work.
How to Install Windows 11 Without a Microsoft Account
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.
Now's the time to cut off the Internet. However, before you do, you need to issue a command that prevents Windows 11 from forcing you to have an Internet connection.
2. Hit Shift + F10. A command prompt appears.
3. Type OOBE\BYPASSNRO to disable the Internet connection requirement.
The computer will reboot and return you to this screen.
4. Hit Shift + F10 again and this time Type ipconfig /release. Then hit Enter to 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 setup if 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 username you want to use for your local Windows 11 account and click 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 process as you normally would.
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.
1. Download the Windows 11 ISO file for Windows 11 from Microsoft. For more detail, see our how to download a Windows 11 ISO file article.
2. Insert a USB Flash drive you 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 launch Rufus version 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 drive from the menu in Rufus if it's not already selected.
5. Click Select and 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 on and click 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 OK if 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 setup until you reach the "choose a country" screen.
10. Hit Shift + F10 to enter the command prompt.
11. Type ipconfig /release to kill the Internet connection.
12. Close the command prompt.
13. Click "I don't have Internet" when prompted.
14. Enter your username and password when prompted. Note that you can leave the password field blank if you want to boot directly to the desktop with no password required.