This page looks best with JavaScript enabled

On-Prem AD User Creator Utility - Update 21.09.20

Configurable Script For Creating On-Prem Active Directory User Accounts

I’ve completly re-written this utility to make it easier and simpler to use. You can now configure multiple groups for the users to be added to on creation and the sam account names are generated randomly from the names list CSV file.
The utility is intended to create a lot of users very quickly. By default user names are firstname and a three digit number and passwords are also generated randomly by the script. If your environment has different requirements, edits will be needed to the code.

Change Log

2021-09-20: Version 21.09.20

  • Added code to make sure sam account name will never be more than 19 characters, due to the deafult sam account name length being 20 characters.

2021-09-15: Version 21.09.15

  • Completey rewritten to streamline the user creation process.
  • User passwords are now randomly generated.
  • Added option to add users to multipule groups.
  • Utility will find groups based on the AD name. No more having to specify the whole DN.
  • Added ASCII banner art when run in the console.
  • Added option to disable the ASCII banner art.
  • Added an option to specify the Port for SMTP communication.


On-Prem AD User Creator Utility can be downloaded from:

See the full documentation available here.

Support My Work

Please consider supporting my work:

  • Sign up using Patreon.
  • Support with a one-time payment using PayPal.

If you’d like to contact me, please leave a comment, send me a tweet or DM, or you can join my Discord server.


Share on
Support the author with