A game of cat and mouse is going on with Windows 11 and local accounts. The most recent solution which was to press SHIFT-F10 during the MS Account setup screen is now blocked (on this new HP all-in-one I just bought anyway). You can see it trying to open the command prompt but it’s not working.
Instead I pressed a special function key on my keyboard that opened the display broadcast prompt, and from that I clicked “More Settings” to open the settings dialog. Then on that screen I pressed Windows + R to get a run dialog, and in the run dialog I tried to run CMD but could not because this shitty computer had Windows delivered in “S” mode. So instead I just ran the command ms-cxh:localonly directly in the run box and it worked.. the local account setup screen appeared and I was able to set up a local account.
After logging in with my local account, I see I’m in “S” mode and I’m like WTF is that.. basically I can’t run anything that does not come exclusively from the Microsoft Store. Bullshit. I went to disable it, but you have to “GET” this feature by logging in with an MS account. Bullshit. I found this guide on how to disable it without all that;
Go to: Settings → System → Recovery
Click Advanced Startup and then Restart Now button
Allow the machine to reboot to Recovery Mode
In Recovery Mode click: Troubleshoot → Advanced Options → Command Prompt
FYI: If you have a password setup on your Windows it may ask you for that password in one of the following steps
In the Command Prompt window type: regedit and hit Enter
Click on HKEY_LOCAL_MACHINE
With HKEY_LOCAL_MACHINE selected go to the top menu and select File → Load Hive
A window will appear asking you the location of the desired registry hive.
Important: The System32 open in this window is from Recovery Mode’s registry hive, but we need to load the installed Windows registry hive, so we need to navigate to that registry hive’s location, which is a file called System on the C drive, in the Windows folder. So, click on This PC and navigate to the following file:
C:\Windows\System32\Config\System
Name this Hive anything, since it is just temporary, such as InstalledWindows
Now click and expand the HKEY_LOCAL_MACHINE. You will see a folder called InstalledWindows. Expand it and browse to the following registry:
HKEY_LOCAL_MACHINE\InstalledWindows\ControlSet001\Control\CI\Policy
Double click on SkuPolicyRequired and change value from 1 to 0
FYI: Value of 0 will switch your Windows out of the S Mode and back to the regular Windows Home/Professional. To switch back to S Mode again, just change this value back to 1
Scroll back and collapse the InstalledWindows Hive. While the InstalledWindows hive is still selected, go to the top menu and click File → Unload Hive
Close registry editor and Command Prompt, click Turn off your PC
Restart your PC. Check in Setting → System → About. Your PC will be out of the S Mode. Or it will now be in S Mode if you were switching back.

