Last night, Microsoft launched a new Windows 11 beta version. In this update, Microsoft deleted the bypassnro.cmd script file in the system root directory, which is used to bypass the OOB interface and require an online login with a Microsoft account.

Microsoft made it clear that the purpose of removing this script is to ensure that all users must connect to the Internet and log in to their Microsoft account during initialization: We removed the bypassnro script from the version to enhance Windows 11 security and user experience. This move ensures that all users maintain an Internet connection and log in to their Microsoft account when completing initialization.

Originally, this script can help users easily skip the requirement that the OOBE interface must be connected to the Internet and log in to an account. They only need to use CMD to execute the command to call the script to automatically restart. After restarting, they can set up a local account without logging in to a Microsoft account.

After deleting the script in this update, it becomes more difficult for users to bypass logging into Microsoft accounts, but it is not impossible because Microsoft hides the bypassnro option in the registry, and users must manually modify the registry to enable the bypassnro function.

Image source: @Phantomofearth

The following are the steps to modify the registry:

1. Press Shift+F10 to open the command prompt (CMD) on the OOBE login Microsoft account interface.

2. Enter the command regedit in the command prompt and press Enter to open the Registry Editor.

3. Go to the following path in the registry editor:

HKLMSOFTWAREMicrosoftWindowsCurrentVersionOOBE

4. Right-click the blank space on the right side of the OOBE folder, select New DWORD 32-bit value and name it

bypassnro

5. Double-click the newly created bypassnro to change its key value from the default 0 to 1 and save it.

6. Enter the command in the command prompt window and press Enter to restart the system:

shutdown /r

If you prefer to modify by entering commands, you can also directly enter the following registry modification command in the command prompt to add, so that you do not need to manually open the registry, expand the directories one by one, add key values ​​​​and modify its data.

reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionOOBE" /v YourDWORDName /t REG_DWORD /d 1 /f

After the modification, you still need to manually enter the restart system command. After the restart, the system will have bypassnro settings, so the user will no longer be required to log in to a Microsoft account. At this time, you can create a local account and password and set up 3 security questions for retrieving the password.