Active Directory : Add Users with a Batch2017/02/07
If there are many user accounts you must add on AD, then Add them with a Batch. This is an example.
|||Create a text file and write users you'd like to add on AD with full name like follows.|
|||Create a batch file like follows (it's an example, modify if you want).
The batch loads the user-list file created in  and add them into OU:Hiroshima-OU:Development01.
The users's password are set temporarily as their full name and they must change it for initial logon.
|||The default password policy denies passwords which username is included, so change policy temporarily
(after adding users, Do not forget to go back to default policy to protect trivial password).
Run [Tools] - [Group Policy Management].
|||Right-Click [Default Domain Policy] and select [edit...].|
|||Open [Password Policy] like follows.|
|||Open [Password must meetcomplexity requirements] and turn to Disabled temporarily.|
|||After few minites later, Run a batch created in  to add Users. After finishing Users, Do not forget to turn to Enabled for [Password must meetcomplexity requirements].|
|||User Accounts are just added with a batch.|