Sorry about the last truncated post...PEBKAC (Problem Exists Between Keyboard & Computer)...
Jeff, CLS @echo off ECHO. ECHO Create User Account Whatever... net user Whatever whatevermypasswordis /add net localgroup Guests Whatever /add net accounts /maxpwage:unlimited net user Whatever /active:no ECHO. EXIT James -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D. Team EITC Sent: Tuesday, 28 June 2005 10:39 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: Command line to create a local account What would be the syntax in a batch files that I could create a local account. Assign it a password and disable the account. Also the account needs to be part of the guest group and password be required for it. I got an idead but trying to do it in as little commands as possible. Jeff List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/