In Windows computer we can add users to a group mebership from command line. We can use net localgroup command for this.
For example to add a user to administrators group, we can run the below command. In the below example I have taken username as John.
»» Read more...
net localgroup group_name UserLoginName /add
For example to add a user to administrators group, we can run the below command. In the below example I have taken username as John.