Setup Windows without a Microsoft Account
Microsoft forces a Microsoft account when setting up Windows. In builds of Windows 11 starting with 25H2, the OOBE\BypassNRO workaround no longer exists, due to Microsoft removing the script file that added the necessary registry keys to perform this.
Note
While the BypassNRO script required the lack of a network connection for the bypass to work, this new workflow, as of 25H2, currently does not require a lack of internet connectivity to function. This may change in the future.
-
When OOBE launches, press
Shift + F10to open a command prompt window.Info
On some computers, the function keys default to media keys, requiring the use of the
Fnkey being held to trigger the function layer. If the function keys aren'tF1throughF12as the primary function, you'll want to useShift + Fn + F10. -
Within the command prompt window, type
start ms-cxh:localonlyand pressEnter. - In the window that pops up, Enter the display name, and optionally a password for the new user.
- On most prebuilt PCs with factory customized images (HP, Lenovo, etc.), there's an additional screen asking for data collection. You can uncheck all of the boxes, or click Skip at this prompt.
- Continue setup as normal, unchecking all of the permissions, and following the rest of OOBE as was done in Windows 10 and earlier builds of Windows 11.