Jump to content

Recommended Posts

Posted

worked fine with SP1... what did they change in SP2 so that it wouldn't work?

I execute this through cmdlines.txt

It creates the account, but only as a member of Users and not Administrators

@echo off
net user "Username" password /add
net localgroup Administrators "Username" /add
REGEDIT /S autologon.reg


Posted

or maybe no has actually tried? I kno I haven't :) I'm waiting the 3-6 months for the final :rolleyes:

you may wish to see if they changed the NET USER command.

Posted

change the net command? why would they do that the buggers?

another question: it wouldn't be because the computer name is the same as the account name i am creating? the account gets created, but it won't change to an admin account

Posted

...check the sintax again must be something ... i cannot test cuz i don't have sp2

...can u add the user manually to administartors group? Then u absolutely can do it from DOS console with "net"

...dunnow but i'm having a similar problem:

since i can't remove the administrator account i can disable it :

net user administrator \active:no

...but i dunnow what side effects it will have cuz in repair console for example it asks for admin what will it happen then?

...and most importantly what effect will it hav eif i disable it first thing while in cmdlines.txt

Posted (edited)

thats really strange...

The actual sintax would be(but i'm sure u know allready):

net user username {password} /add /active[no/yes] /passwordchg:[no/yes] /passwordreq:[no/yes]

net localgroup administrators username /add

After any /add comes a list of options i don't fully know.

Basically this should do it unless sp2 changed the fact that u can add users to localgroups.

Maybe there is a app like "net" included in sp2 especially for this(or updated for sp2 at least).

U can test adding users from cmd console so what is the error message?

BTW u might want to try the /DOMAIN flag

If u have a window domain controler u might want to use:

net group groupname username /add

Edited by wolfshade
Posted
Crusher,Jun 13 2004, 11:50 PM] change the net command? why would they do that the buggers?

another question: it wouldn't be because the computer name is the same as the account name i am creating? the account gets created, but it won't change to an admin account

technically....

you're not supposed to have a Account name the same as the original admin name, workgroupd name, domain name, system name, or any other accounts. Of course that's if you create using Windows or OOBE. Dunno about NET

Posted

yeah i knew of that technicality... but... it creates the account? it just won't add it to the admin group :rolleyes:

maybe i should go sit down at a pc that has sp2 and try to create an admin account using net command... :)

Guest zippy
Posted

net user /add "nobody"
net localgroup "Administrators" /add "nobody"
RENUSER "nobody" "MACHINENAME"

i've tried on command prompt and worked. not sure on T-12.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...