Home All Groups Group Topic Archive Search About

command line account editor

Author
9 Mar 2005 1:27 AM
Scott S.
I need to script changing Windows Login names (e.g., rename the administrator
account), and also script the setting of "account is disabled", "user must
change password at next login" and the rest of those.  This is for local
changes, not domain.

"net user" is inadequate.  The resource kit program "addusers" also is
inadequate.

Any suggestions?  Thanks!

Author
14 Mar 2005 9:34 PM
Laura E. Hunter (MVP)
You can update most (if not all) of these settings through VBScript.

Check out the TechNet Scripting Center for some ready-built code to get you
started: http://www.microsoft.com/technet/scriptcenter/default.mspx
--
Laura E. Hunter
Microsoft MVP - Windows Server Networking
All information provided "AS-IS", no warranties expressed or implied.
Replies to newsgroup only.
Show quote
"Scott S." <Scott S*@discussions.microsoft.com> wrote in message
news:D404CE69-CC0D-4197-9C5F-A31E70021B26@microsoft.com...
>I need to script changing Windows Login names (e.g., rename the
>administrator
> account), and also script the setting of "account is disabled", "user must
> change password at next login" and the rest of those.  This is for local
> changes, not domain.
>
> "net user" is inadequate.  The resource kit program "addusers" also is
> inadequate.
>
> Any suggestions?  Thanks!
>

AddThis Social Bookmark Button