- User ID
- 1
- Joined
- 7 Jan 2019
- Messages
- 1,768
- Reaction score
- 145
- Points
- 63
If you’re installing Windows 11 or Windows 10 and reach the “Is this the right country or region?” screen, you can create a local user account and bypass the Microsoft account requirement easily. Here’s how to do it step by step.
Step-by-Step Guide
- Open Command Prompt
Press Shift + F10 (or Fn + Shift + F10 on laptops) to open the Command Prompt window. - Create a Local User Account
Run the following commands — replace YourUserName with your preferred username:
Bash:net user "YourUserName" * /add net localgroup administrators "YourUserName" /add net user "YourUserName" /active:yes net user "YourUserName" /expires:never net user "Administrator" /active:no net user "defaultUser0" /delete - Clean Up Default Account Entries
Type regedit to open the Registry Editor and go to:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE - Delete these registry entries:
- DefaultAccountAction
- DefaultAccountSAMName
- DefaultAccountSID
- Skip the Machine OOBE
Rename LaunchUserOOBE to SkipMachineOOBE, then set its value to 1. - Restart Windows Setup
Type this command to reboot immediately:
shutdown /r /t 0 - After restarting, continue the normal setup process — your new local account will appear.