General discussion

Locked

setting up users with a vbscript

By kevin ·
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 conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

RE: setting up users with a vbscript

by aemily In reply to setting up users with a v ...

Kevin,

Check here for some help: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q199878

Oh, and getting a copy of the O'Reilly book "Windows 2000 Administration in a Nutshell" will help you out with your problem also, there's at least 2 add user scripts in it. You might want to get the book anyway if you're admining Window 2000 boxes. The cheapest place online to get the book is at http://www.bookpool.com

Back to IT Employment Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums