MSFN Forum: Adding user problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Adding user problem User added as admin and user Rate Topic: -----

#1 User is offline   jethredge 

  • Group: Members
  • Posts: 2
  • Joined: 26-January 06

Posted 20 February 2006 - 07:46 AM

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 /add
net localgroup Administrators jethredge /add
net accounts /maxpwage:unlimited
net user jwilkinson xxxxxx /add
net localgroup Administrators jwilkinson /add
net accounts /maxpwage:unlimited
net user jmason xxxxxx /add
net localgroup Administrators jmason /add
net accounts /maxpwage:unlimited

EXIT


#2 User is offline   Doc Symbiosis 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 333
  • Joined: 03-August 04

Posted 20 February 2006 - 08:46 AM

To set the expiring of passwords globally use the following line:
net accounts /maxpwage:unlimited

Don'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 /add
net localgroup Administrators jmason /add
net localgroup users jmason /delete

This post has been edited by Doc Symbiosis: 20 February 2006 - 08:48 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy