tonygoodchild
asked on
Command line user configuration
Hi,
I am using the following command to add users to my Windows Server 2003
net user *username* *password* /add /passwordchg:no /fullname:*Users name* /comment:*comments*
However I would like to also set the password to never expire, and to set the Remote Access Permission of the user to "Allow Access". I can't find any options within this command, or alternatvie commands that could be used to achieve this. Are there any command options or alternatvie commands to do this?
I am using the following command to add users to my Windows Server 2003
net user *username* *password* /add /passwordchg:no /fullname:*Users name* /comment:*comments*
However I would like to also set the password to never expire, and to set the Remote Access Permission of the user to "Allow Access". I can't find any options within this command, or alternatvie commands that could be used to achieve this. Are there any command options or alternatvie commands to do this?
ASKER
Hi, no this isn't a domain, these have been set up as local users, all they are doing is connecting in to a VPN to access local resources on the server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use DSadd to add users to the domain - see http://www.computerperformance.co.uk/Logon/DSadd_add_user.htm