Re: how to create local user accounts on W2k via script?
From: JesseH (Jesseh55454_at_yahoo.nospam.com)
Date: 06/09/04
- Next message: Dante: "Runas"
- Previous message: Patrick J. LoPresti: "Re: 'Log on as a service' local policy"
- In reply to: Jerold Schulman: "Re: how to create local user accounts on W2k via script?"
- Next in thread: Mike: "Re: how to create local user accounts on W2k via script?"
- Reply: Mike: "Re: how to create local user accounts on W2k via script?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 9 Jun 2004 15:47:37 -0500
>From remote server or desktop, if you are an admin...
loop through this:
psexec \\SomeWin2Kserver net localgroup myLocalGroup /add domain\username
change myLocalGroup and domain\username to whatever you need.
"Jerold Schulman" <Jerry@jsiinc.com> wrote in message
news:uosec09knm2c0ogau2tuj32vpcpajau20c@4ax.com...
> On Wed, 9 Jun 2004 15:25:04 -0500, "Mike" <flakrat-noSP-am@hotmail.com>
wrote:
>
> >Does anyone know of a way to create local user accounts via a script? (by
> >local I mean the local Windows 2000 accounts, not Active Directory
> >accounts).
> >
> >What I'm trying to do is, I have test servers that I'm having to
reinstall
> >the OS and apps on several servers every week or so.
> >I have a 100 or so local user accounts that I have to create each time I
> >rebuild the box.
> >
> >I'd like to create a script that reads an array, table, or cvs file with
all
> >of the account ids, passwords, etc... and then creates the accounts.
> >
> >Any ideas or if this is even possible with local accounts?
> >
> >Thanks,
> >
> >Mike
> >
> Use tip 2815 in the 'Tips & Tricks' at http://www.jsiinc.com to lookup the
"NET
> USER" and "NET LOALGROUP" commands.
>
>
> Jerold Schulman
> Windows: General MVP
> JSI, Inc.
> http://www.jsiinc.com
- Next message: Dante: "Runas"
- Previous message: Patrick J. LoPresti: "Re: 'Log on as a service' local policy"
- In reply to: Jerold Schulman: "Re: how to create local user accounts on W2k via script?"
- Next in thread: Mike: "Re: how to create local user accounts on W2k via script?"
- Reply: Mike: "Re: how to create local user accounts on W2k via script?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|