IT Employment

General discussion


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
Password never expires.

Any help on this is greatly appreciated!

This conversation is currently closed to new comments.

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 ...


Check here for some help:;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

Related Discussions

Related Forums