New method to skip logging in to Microsoft account and create local account when Windows 11 is started for the first time¶
Original link: https://www.itylq.com/create-local-account-for-win11.html
Release date: 2025-03-31 Migration time: 2026-03-21
In order to force users to log in with a Microsoft account, Microsoft has deleted the BypassNRO script in the latest version of Windows 11... Below, we provide the latest method to skip logging in to a Microsoft account and create a local account during the first boot boot of the computer.
-
In the OOBE login user account interface, press Shift+F10 to open the CMD window;
-
Enter the command start ms-cxh:localonly and press Enter;
-
In the Microsoft account management window that opens automatically, create a local user account;)

- Enter your username and password and continue to the next step of booting.
Tips: This method is only valid for Windows 11 Home and Professional editions.
This article was moved from WordPress to MkDocs