At the first setup screen instead of answering any of the questions press Shift + F10
CMD will open
Type these commands line by line and hit enter after each line.
Replace Username with your desired username.
Beware case sensibility. defaultUser0 must be written exactly like this
|
1 2 3 4 5 6 7 |
net user Username /add net localgroup administrators Username /add net user Username /active:yes net user Username /expires:never net user administrator /active:no net user defaultUser0 /delete regedit |
This opens registry editor, navigate to
|
1 |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE |
Delete “DefaultAccountAction”, “DefaultAccountSAMName”, and “DefaultAccountSID”
Right-click on
“LaunchUserOOBE” and rename it to “SkipMachineOOBE”
and make sure the value is set to “1”.
Close registry editor and type “shutdown /r /t 0”
