User Tools

Site Tools


computing:windows:add_users

Add Windows Users

FIXME Incomplete and needs verification

CLI

Users

Groups

Add Bulk Active Directory Users

PowerShell

https://www.youtube.com/watch?v=Wc-WQrvw2fE

https://msdn.microsoft.com/en-us/powershell/reference/4.0/microsoft.powershell.utility/import-csv

Create a users.csv file to import from with the first line:

GivenName,Surname,Name,DisplayName,SamAccountName,UserPrincipalName

users.csv

:!: Be sure to install the Windows Feature named Windows PowerShell Integrated Scripting Environment (ISE).

:!: Run the Active Directory Module for Windows PowerShell with admin privileges.

Start → Administrative Tools → Right-Click on Active Directory Module for Windows PowerShell → Run as Administrator

Test the import:

PS C:\Users\Administrator> Import-Csv .\users.csv

Import the users:

PS C:\Users\Administrator> Import-Csv .\users.csv | New-ADUser -Enabled $True -AccountPassword (ConvertTo-SecureString Pass123 -AsPlainText -force) -ChangePasswordAtLogon $True -City Tucson -State AZ

AD Bulk Admin Tool

https://sourceforge.net/projects/adbulkadmin/

This is a bulk administration tool for an AD administrator to administer a large number of Active Directory users.

You can use it to:

  • Check a large number of users
  • Create a large number of users
  • Reset a large number of users' passwords
  • Enable or disable a large number of users
  • Set a large number of users' properties
  • Check groups
  • Add users to group or remove users from group
computing/windows/add_users.txt · Last modified: 2018/08/22 08:17 by gcooper