Striker___ Posted April 2, 2004 Share Posted April 2, 2004 Im trying to creat a account with the name Andreas and has admin rights.i tried to useCLS @echo off ECHO. ECHO Adding User Name... net user Andreas /add net localgroup "Administrators" Andreas /add ECHO.It creats a user named Andreas but not with admin rights so i thought it was because im installing a swedish winxp so Administrators = Administratörer CLS @echo off ECHO. ECHO Adding User Name... net user Andreas /add net localgroup "Administratörer" Andreas /add ECHO.but that dident work eitherso what am i doing wrong? im going to try a few things but if anyone knows it would help alot maby it has something to do with the letter Ö in dos i have had problems with that before, anyone now a work around? Link to comment Share on other sites More sharing options...
enuffsaid Posted April 2, 2004 Share Posted April 2, 2004 removed Link to comment Share on other sites More sharing options...
Striker___ Posted April 3, 2004 Author Share Posted April 3, 2004 quotes was there from the beginning just copyd from the the forum some where but i solved it, if anyone have the same or similar problem just go in run cmd and use the edit yourfile.cmd and then type it in there and then save, and it will save so it runs properly Link to comment Share on other sites More sharing options...
JPamplin Posted April 4, 2004 Share Posted April 4, 2004 Can you create a user like this without a password? Does that work, and if so, does it ask you to change your password later?If you can create an Admin-class user with a blank password, that would solve a couple of problems that I'm having:I have to go back into Scheduled tasks and type in the user's password to get certain tasks to run (otherwise, it says "Could Not Start"), andI have to specify "NET ACCOUNTS /MAXPWAGE:UNLIMITED" at the beginning of my account creation batch file so that the system is fooled into never asking for a new password.Could it be that easy, to just not specify a password? X.T.Mac, Aaron, gosh, any thoughts on this?JP Link to comment Share on other sites More sharing options...
Chris Lee Posted April 4, 2004 Share Posted April 4, 2004 If you don't want a password, just don't put a password in where they're supposed to be.net user User /ADDnet localgroup Administrators User /addEXIT[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="User""DefaultPassword"="""AutoAdminLogon"="1" 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