Windows – add domain user CMD

Add domain user and put them in Domain Admins group.

net user username password /ADD /DOMAIN

net group “Domain Admins” username /ADD /DOMAIN

Add local user and put them local Administrators group.

net user username password /ADD

net localgroup Administrators username /ADD

Taken from 

Advertisements