Hi Matt and Niels, I dont think that you need a perl script to do so. After creating the accounts I use the command line net accounts /maxpwage:unlimited
try "net accounts /help" on cmd for an explanation The only bad thing is that this will set the PW-limits for all accounts. But thats OK for me. Mit freundlichen Grüßen / Best regards Tobias Schneider -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niels S. Richthof Sent: Sunday, May 22, 2005 5:40 PM To: unattended-info@lists.sourceforge.net Subject: [Unattended] Problems creating user Hi! I am trying to create a user with this command: todo.pl "net user itcampus password /add /expires:never /active:yes /fullname:\"itCampus GmbH\" /comment:\"Account fuer Fernzugriff\"" (on windows 2000 servers installed by Unattended) The "net user" command is valid according to the documentation output of "net help user". The command creates the user with the password, and sets fullname and comment correctly. But - the "password never expires" flag is NOT set. Any ideas what is wrong? Thanks! cu Niels -- A: Weil es die Lesbarkeit des Textes verschlechtert. F: Warum ist TOFU so schlimm? A: TOFU F: Was ist eins der groesste Aergernisse in E-Mails? ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info