Friday, August 20, 2010

Add user to group from command line

We can add users to a group from command line too. We can use net localgroup command for this.

For example to add user John to administrators group we can run the below command.

net localgroup administrators John /add


REF:http://www.windows-commandline.com

1 comment:

  1. the content is picked from my blog as it is. Request you to remove this. thanks.

    ReplyDelete