Link to home
Start Free TrialLog in
Avatar of tonygoodchild
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?
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

If this is a domain then you need to be entering domain accounts in Active Directory not local accounts on the PCs.

You can use DSadd to add users to the domain - see http://www.computerperformance.co.uk/Logon/DSadd_add_user.htm
Avatar of tonygoodchild
tonygoodchild

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
Avatar of Farhan Kazi
Farhan Kazi
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial