Discussion Locked

setting up users with a vbscript

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

1 reply

This discussion is closed to new replies.