setting up users with a vbscript - TechRepublic
General discussion
April 1, 2002 at 03:08 AM
kevin

setting up users with a vbscript

by kevin . Updated 24 years, 3 months ago

I have been trying to use vbscript to automate setting up of users. I am setting up a local account on the system.

This code works great for setting up the username and Full Name
**************************
Set objUser = ComputerUsers.Create(“User”, UserAccount)
objUser.FullName = UserFullName
*****************************
however now I also nee to configure the part in the account that are the options..
User must change password at next logon
and..
Password never expires.

Any help on this is greatly appreciated!
Kevin

This discussion is locked

All Comments