Net User command Question

  • Thread starter Thread starter ThERiZla
  • Start date Start date
T

ThERiZla

Hi,

I want create account with net user command.
I want to know if there is a parameter to specifie in which group you
want create the account ?
If it's not possible, how I can change the group of the user on
command prompt.

Thanks
 
Hi ThERiZla,

It would be a two step process. First you create your user, and then you
add that user to the group(s) of your choice, or add a group to that user's
group listing, however you want to look at it.

net user jack jackspassword /add
net localgroup administrators jack /add

That would create a user named jack, give him a password of jackspassword,
and then stick him in the administrators group.

See these help commands at the command prompt:

net help user
net help localgroup

Also, for command prompt operations, .win2000.cmdprompt.admin is good group.

Ray at home
 
Back
Top