nullifier
Thành viên
- Tham gia ngày
- 17/10/2022
- Bài viết
- 8
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 the 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.
Note: if OOBE\BYPASSNRO returns a "command not found" error, skip ahead to the next method in this how-to.
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
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.
1. Follow the Windows 11 install process until you get to the Sign in screen.
2. Hit Shift + F10. A command prompt appears.
3. Enter start ms-cxh:localonly at 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 process and you'll be using the local account you created.
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.
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.
Note: if OOBE\BYPASSNRO returns a "command not found" error, skip ahead to the next method in this how-to.
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

11. Complete the rest of the install process as 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 called start ms-chx:localonly that does something similar. Here's how you use it.1. Follow the Windows 11 install process until you get to the Sign in screen.
2. Hit Shift + F10. A command prompt appears.
3. Enter start ms-cxh:localonly at 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 process and 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.
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.