Windows 11 Home – without microsoft account

At Let’s add your Microsoft account screen, asking to sign in press Shift F10 (If you’re on a laptop that has Action Keys mode or something similar, you may need to Function Shift F10)

PowerShell
net.exe user "User Name" /add
net.exe localgroup "Administrators" "User Name" /add
# PL net.exe localgroup "Administratorzy" "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.