jethredge Posted February 20, 2006 Share Posted February 20, 2006 In my install I use cmdline to set up users on the machine. All users show as administrators but also as users also. I want each user added to be admin only. Also even with the maxpwage line added, I still have to check Password never expires box on each user account. Any ideas??? Jim E.net user jethredge xxxxxx /addnet localgroup Administrators jethredge /addnet accounts /maxpwage:unlimited net user jwilkinson xxxxxx /addnet localgroup Administrators jwilkinson /addnet accounts /maxpwage:unlimited net user jmason xxxxxx /addnet localgroup Administrators jmason /addnet accounts /maxpwage:unlimited EXIT Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted February 20, 2006 Share Posted February 20, 2006 (edited) To set the expiring of passwords globally use the following line:net accounts /maxpwage:unlimitedDon't know, how to set this for a single user.You only have to run this command once, cause it's set per machine, but you should take care to run this command before creating the new users.The other users are members of the groups users and administrators, because when they are created, they are added to the users group and then you add them to the administrators group. So you just have to remove the new created administrators from the users group with the, so e.g.net user jmason xxxxxx /addnet localgroup Administrators jmason /addnet localgroup users jmason /delete Edited February 20, 2006 by Doc Symbiosis 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