windows cmd add new user as administrator code example
Example: add user cmd windows 10
//Add user
net user username password /ADD
//Add user account to the domain
net user username password /ADD /DOMAIN
//Add user to administrators
net localgroup administrators [username] /add