Create Admin Account

  • Thread starter Thread starter Marcelo López
  • Start date Start date
M

Marcelo López

I need to create an administrator account through command line
I created the user using net user /ADD
But the account generated is a limited one.

So i want to use the net group username usergroup / ADD

(i guess this is the way) to assignthe user to the Administrators Group.

But i get a message that says " you can only do it on a win domain
controller". I tried using the /DOMAIN but ith didn't work

How should i assign the admin permissions to my new user ?

Regards



Marcelo López
Infocorp.
Latin America

PD: i'm using Win2000 and WinXp (my app has to run in both os)
 
In said:
I need to create an administrator account through command line
I created the user using net user /ADD
But the account generated is a limited one.

So i want to use the net group username usergroup / ADD

(i guess this is the way) to assignthe user to the Administrators
Group.

But i get a message that says " you can only do it on a win domain
controller". I tried using the /DOMAIN but ith didn't work

How should i assign the admin permissions to my new user ?

Group membership is either a local group ("localgroup") or a domain
group ("group")

NET LOCALGROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname name [...] {/ADD | /DELETE} [/DOMAIN]
 
Back
Top