RE: bulk creation of user passwords

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mark Simpson (MarkSimpson_at_discussions.microsoft.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 10:37:01 -0700

I use a simple batch file with the line: net user <username> <password> (look
in the help commands for net user) which I created in excel entering the
users surname copied directly from the roll.

"Scott" wrote:

> I'd be happy to share what I wrote for creating users
> from a CSV at this school. Send me an email at
> sjohnson_AT_edina.k12.mn.us and I'll forward the script.
>
> Scott
>
> >-----Original Message-----
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >We are a secondary school with a need to create ~250 new
> users from a
> >csv file. We run windows 2003 server.
> >
> >We have worked out how to get them onto the system using
> csvde, but we
> >really like to set up their passwords for them in
> advance (they are all
> >aged 11 so they won't pick good passwords if they pick
> them themselves).
> >
> >I'd appreciate any information of how we might do this;
> I can create a
> >batch file with passwords in it, but dont' know how to
> apply them to our
> >users. We can do it as a separate step to the csvde
> stage with no
> >problem if he have to.
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.2.5 (MingW32)
> >Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
> >
> >iD8DBQFBLab5qmlxlf41jHgRAq3NAJ9Gj982+gg2XPjGaLmRVLZEeCIqh
> wCdGUzt
> >eIvr98WiWmPOtDlNVr534Tw=
> >=KPWd
> >-----END PGP SIGNATURE-----
> >.
> >
>



Relevant Pages

  • RE: 2000 user accounts update
    ... You can do this with CSVDE. ... If your domain allows blank passwords or if you are prepared to ... Create an CSV file and add the LDAP attributed that you want to create. ... intRow = intRow + 1 ...
    (microsoft.public.windows.server.general)
  • Re: Changing user password
    ... > net user jsmith turkey ... > net user tmiller coaster ... >>I have 3 user accounts on my PC. ... >> change the account passwords without going to control panel etc etc. ...
    (microsoft.public.scripting.vbscript)
  • Re: Bulk import of users
    ... issues regarding passwords. ... csvde is designed for csv files. ... Both tools have command ...
    (microsoft.public.windows.server.scripting)
  • Re: how to change all domain user account passwords at once
    ... One way is you could create a simple batch file and run it on your domain ... controller first so you have a rollback plan "just in case" anytime you are ... The above will not change any "local" user acount passwords on domain ... We need to change all of our domain user account ...
    (microsoft.public.security)
  • Re: Change all my Local Admin passwords automatically...
    ... You can use the command "net user username new password" in a batch file to ... run as a "startup" script for a group of computers in an Organizational Unit ... You can use Computer Management to change passwords on ...
    (microsoft.public.win2000.security)