I'm helping a friend set up their new HP laptop for home use, but I've hit a snag with installing Windows 11. We connected to the internet, and during the setup, it prompted us to log in with a Microsoft account, which my friend wants to avoid. We disconnected the router and tried using invalid credentials to bypass this step, but that just led us to an error loop with no way out. I've read that some users can bypass this by pressing Shift + F10 to access the command prompt, but that key combination isn't working for me. I also attempted to use the Win + R command but got an error about security restrictions. Is there any other way to access the command line so we can create a local account without going through the Microsoft account setup?
6 Answers
Another approach is to use Windows 10 LTSC IoT. It doesn’t require an account for installation, and you’ll get security updates until 2032.
You could use a USB drive to boot and install Windows. Download the official Windows 11 ISO, use Rufus to flash the USB, and follow the prompts to set it up without an account.
Haha, love seeing some classic tech reactions, especially when it involves Microsoft!
I’ll check my notes, but I remember getting past the Microsoft login without pressing F10. It wasn't working for me at first either.
Try holding Shift and then hitting F10 while on the setup screen. After that, you can type: start ms-cxh:localonly.
Using the normal installation media should let you use a command called BypassNRO. Just disconnect from the internet at the setup screen and press Shift + F10. Then enter this command exactly: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f and restart. After rebooting, you should be able to create a local account.
But that’s the issue—I can’t get Shift + F10 to work. I’ve seen elsewhere that Microsoft might have removed the BypassNRO option.
At the start of the setup, choose the option for "Setup for work or school." If you've already passed this, you might be able to backtrack. When asked about the Microsoft account, select the domain join option instead. This will let you create a local username and password, and you'll be done with the setup.
Just a heads up, you might not see the domain option on Windows Home. It could be easier to just complete the setup with a Microsoft account and then create a local one afterward.
Exactly, domain join is usually only on Professional versions. Home versions are pretty strict on account setups.

Where can I safely download that version? It's been tricky finding a reliable source.