[BM]Crusher Posted June 12, 2004 Posted June 12, 2004 worked fine with SP1... what did they change in SP2 so that it wouldn't work?I execute this through cmdlines.txtIt creates the account, but only as a member of Users and not Administrators@echo offnet user "Username" password /addnet localgroup Administrators "Username" /addREGEDIT /S autologon.reg
[BM]Crusher Posted June 12, 2004 Author Posted June 12, 2004 no replies?does that mean no one else has had problems created administrative accounts under SP2 RC1? (build 2096 i think)
Alanoll Posted June 12, 2004 Posted June 12, 2004 or maybe no has actually tried? I kno I haven't I'm waiting the 3-6 months for the final you may wish to see if they changed the NET USER command.
wolfshade Posted June 12, 2004 Posted June 12, 2004 i didn't try it too i'm waiting for final hmmm... there is an app called renuser in the sticky:threads of interest for download and u can do this :renuser administator "username" although u might know it:http://www.msfn.org/board/index.php?showtopic=18439
[BM]Crusher Posted June 14, 2004 Author Posted June 14, 2004 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
wolfshade Posted June 14, 2004 Posted June 14, 2004 ...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
[BM]Crusher Posted June 14, 2004 Author Posted June 14, 2004 once windows is installed i can go to computer management and add the user to the administrators group
wolfshade Posted June 14, 2004 Posted June 14, 2004 (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 /addAfter 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 flagIf u have a window domain controler u might want to use:net group groupname username /add Edited June 14, 2004 by wolfshade
Alanoll Posted June 14, 2004 Posted June 14, 2004 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 accounttechnically....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
[BM]Crusher Posted June 14, 2004 Author Posted June 14, 2004 yeah i knew of that technicality... but... it creates the account? it just won't add it to the admin group 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 June 14, 2004 Posted June 14, 2004 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now