Look like it can be batched with addusers.exe:

http://support.microsoft.com/kb/180546/EN-US/

ADDUSERS.EXE /c addusers.dat

Filename: ADDUSERS.DAT

[Users]
User Name,Full name, Password, Description, HomeDrive, Homepath, Profile, Script

[Global]
Global Group Name, Comment, UserName, ...

[Local]
Local Group Name, Comment>, UserName, ...


So this should work:

"
[Users]
FBestertester,Fester Bestertester,changethispassword,humble schlep #1,,,Fester, ZBestertester,Zester Bestertester,changethispassword,humble schlep #2,,,Zester,

[Local]
Users,,FBestertester,ZBestertester,"


Thane Sherrington (S) wrote:
I've been trying to use the net users command to add users to XP via the command line:

net users "Fester Bestertester" /add

The user appears in the Control Panel users applet, but it's a limited account, and I can't get it to create a user directory in Documents and Settings. Does anyone know how to get it to do a complete creation of a user from the command line in WinXP?

T


Reply via email to