It only works if you don't connect to the internet. Reinstall Windows and this time don't connect to the internet before running the command. You might just be able to restart it but I think you have to reinstall Windows.
Yes, if you connected to the internet that no longer works.
On
https://www.technibble.com/forums/threads/laptop-setup-without-ms-login.90808/page-2
@mmerry posted a link:
https://answers.microsoft.com/en-us...ypassnro/4fc44554-b416-4ecb-8961-6f79fd55ae0f
I followed these steps below and didn't have to clean install, essentially force creating the local account to continue:
Johnny55
Replied on May 17, 2022Report abuse
Since according to AveYo (thanks for this) this is only temporarily integrated into Windows 11 by Microsoft,
one can assume that this command will not work for much longer. I truly hope it remains.
oobe\bypassnro
Then you can reactivate the Internet connection and add a password to the account, as well as make all other settings.
Alternative Workaround that should remain feasible, more trouble than the simple above command:
If the Internet is disabled, you start the reinstallation of Windows 11. You get to the window: "Unfortunately you have lost the Internet connection". From here it starts. Replace "User Name" with whatever you wish to use for the account:
Press Shift + F10. The command prompt opens
net.exe user "
User Name" /add
net.exe localgroup "Administrators" "
User Name" /add
cd OOBE
msoobe.exe && shutdown.exe -r
Windows will now restart and start with the other settings until Windows 11 is installed correctly with a local account.
When logging in, "The user name or password is incorrect" now appears.
Simply press OK and select the right account at the bottom left of screen. You should have one for Administrator and one for whatever name you used as "User Name" above.
Lets hope the simple oobe\bypassnro stays, as I have used both methods, and the first is by far the easiest.
Regards,