Press Shift + F10 and type
net.exe user {username} {password} /add
net.exe localgroup Administrators {username} /add
cd oobe
msoobe.exe && shutdown.exe -r
or
Old method (seems that it doesn't work anymore)
OOBE/BYPASSNRO
or
start ms-chx:localonly
windows