GeGeek

I don’t reinvent the wheel, I just link to it.

Microsoft

LocalAccount Microsoft Bypass2026

LocalAccount Microsoft Bypass2026

If you’re having issues trying to add a local account to Windows 11 and can’t bypass the normal way start ms-cxh:localonly follow these steps below to setup a local account.

At the password stage, leave it blank as it may cause an error.

Since Microsoft is removing a lot of ways to bypass a local account, follow these steps. Go through the setup of Windows 11 until you get to the Sign-In screen, enter the following commands until you see The command completed successfully.

 

Commands

1. Press and hold either Shift + F10 or Fn + Shift + F10 to open the command prompt.
2. net user “TheNameYouWant” * /add

Typing a password may cause an error when we reboot the machine, so for now leave it blank.

Type a password for the user:
Retype the password to confirm:
The command completed successfully.

3. net localgroup administrators “TheNameYouWant” /add
The command completed successfully.

4. net user “TheNameYouWant” /active:yes
The command completed successfully.

5. net user “TheNameYouWant” /expires:never
The command completed successfully.

6. net user “Administrator” /active:no
The command completed successfully.

7. net user “defaultUser0” /delete
The command completed successfully.

8. net user – press enter – You should see the new account you created added to Windows along side Administrator / DefaultAccount / Guest / WDAGUtilityAccount

9. Open the registry by typing regedit

10. Navigate to this location

11. HKEY_LOCAL_MACHINE >> SOFTWARE >> MICROSOFT >> WINDOWS >> CurrentVersion >> OOBE

12. In the right hand panel, delete the following 3 values

13. DefaultAccountAction, DeaultAccountSAMName, DefaultAccountSID

14. Look for LaunchUserOOBE and right click to rename to SkipMachineOOBE, once renamed, right click and modify and make sure the value is set to 1 then press ok.

15. Close registry

16. Type the following in the command prompt to reboot the machine.

17. shutdown /r /t 0

18. The machine will now reboot and it will log straight into Windows, looking at the desktop.

 

There you’ve it, a local account created.