svortevik Posted June 7, 2005 Share Posted June 7, 2005 I Use this command in my cmd file.net user John asdf1234 /addnet localgroup Administrators John /addnet accounts /maxpwage:unlimitedIt makes the account, but not as an administrator.So what is wrong? Link to comment Share on other sites More sharing options...
bledd Posted June 7, 2005 Share Posted June 7, 2005 Net LocalGroup "Administrators" /Add USERNAME Link to comment Share on other sites More sharing options...
svortevik Posted June 7, 2005 Author Share Posted June 7, 2005 Like this? net user John asdf1234 /addnet localgroup Administrators John /addnet accounts /maxpwage:unlimitedNet LocalGroup "Administrators" /Add John Link to comment Share on other sites More sharing options...
bledd Posted June 7, 2005 Share Posted June 7, 2005 no just the line I put in Link to comment Share on other sites More sharing options...
enuffsaid Posted June 7, 2005 Share Posted June 7, 2005 svortevik,are you using a localized version of Windows? Link to comment Share on other sites More sharing options...
svortevik Posted June 7, 2005 Author Share Posted June 7, 2005 I`m using an norwegian versjon of win xp pro sp2 Link to comment Share on other sites More sharing options...
enuffsaid Posted June 7, 2005 Share Posted June 7, 2005 (edited) And what's the Norwegian name for "Administrators"?For example, in Dutch, Administrators are "Beheerders." Try using that in you command file; and I mean the Norwegian name for Administrators, not "beheerders" ofcoarse.If you don't know, open up:Computer Management > Local Users and Groups > Groupsand see what the admin group is named.Hope that helps,'nuff Edited June 7, 2005 by enuffsaid Link to comment Share on other sites More sharing options...
svortevik Posted June 7, 2005 Author Share Posted June 7, 2005 Thank you so much:)Maybe you can help me with one last thing.I try to make wpi.cmd start at the end of my windows instal, but it just wont start. In my runonce.cmd I have this comand at the end, but it is no use:--start %cdrom%\wpi.cmdWhat comand do I have to use so make my wpi start when windows is don, but before I come to my log on screen. Link to comment Share on other sites More sharing options...
Noise Posted June 7, 2005 Share Posted June 7, 2005 Anyone know of a way to set "Password Never Expires" in the cmd file for the new account? And no, it's not the "/PASSWORDCHG:NO" command. Link to comment Share on other sites More sharing options...
svortevik Posted June 7, 2005 Author Share Posted June 7, 2005 Anyone know of a way to set "Password Never Expires" in the cmd file for the new account? And no, it's not the "/PASSWORDCHG:NO" command.<{POST_SNAPBACK}>I think this part is for "password never expires".net accounts /maxpwage:unlimited Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now