Professional Documents
Culture Documents
Bulk Import Users Into Active Directory From CSV - NetworkProGuide
Bulk Import Users Into Active Directory From CSV - NetworkProGuide
Free eBook
System Administration
Not only does bulk creation of user accounts save you time it also opens Directory ASA Certificates
Relate: How to Install Remote Server Administration Tools (RSAT) for Packet Analyzer
Free eBook
Windows 10
PowerShell RDP Repadmin
Download the pre-formatted CSV sheet and PowerShell script to create
Routing RSAT RSoP SFP SolarWinds
users in active directory here.
SSH Syslog TACACS+ TFTP Ubiquiti
1. Fill in the Required Fields in the CSV Sheet VMware vSphere 6.5 WIFI
Windows 10
Start by opening the downloaded CSV sheet (or creating your own) and
filling out the required fields. These fields are: Windows Server
firstname,lastname,username,password,ou 2016 Windows Server
2019 wireshark WLC
While it’s technically possible to leave the password blank, this will result
in the user account being created in a disabled state and will require a
password be set before the account can be enabled.
https://networkproguide.com/bulk-import-users-into-active-directory-from-csv/ 2/8
4/6/22, 5:13 PM Bulk Import Users into Active Directory from CSV | NetworkProGuide
Free eBook
email,streetaddress,city,zipcode,state,county,description,office,depart
ment,telephone,jobtitle,company
Feel free to add or remove fields from the sheet. Just be sure to
remember to add or remove them from the script as well (it’s really easy).
Free eBook
Find the last block in the PowerShell script and update the “-
UserPrincipalName line (line 48) with your domain like so:
-UserPrincipalName "$Username@npgdom.com" `
.\NewADUsers.ps1
You can also edit the PowerShell script and click the play button within
PowerShell ISE if you prefer.
At this point you should either be returned to the prompt (if the script run
was successful) or receive a warning if any accounts existed already or
there were any problems with the script.
You can verify the account created by navigating to the OU you specified
in your CSV sheet and looking for the new accounts.
If you’re not the scripting type, or just prefer GUI tools (no shame in that), Free eBook
you’ll be glad to know there are quite a few free options that work great.
One of the easiest to use is SolarWinds User Import Tool which is part of
their free Active Directory Admin Tools Bundle.
Given-Name,Surname,Sam-Account-Name,Password
Click next.
You also need to be aware that any field you map from your sheet will Free eBook
become a required field in the tool. Make sure any field you map is filled
out for each user in the CSV file.
Click next.
4. Set Your OU
The next screen has a field at the top for specifying the OU you wish to
create your user accounts in. Click Set to set the OU.
Hopefully this tutorial was easy to follow and saves you time and
heartache in the future.
Get insight into Active Directory, DNS, DHCP, and your Virtual and
Applications environments without needing to mess with complex
templates or knowing a single line of code.
https://networkproguide.com/bulk-import-users-into-active-directory-from-csv/ 6/8
4/6/22, 5:13 PM Bulk Import Users into Active Directory from CSV | NetworkProGuide
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Post Comment
Earnings Disclosure
Privacy Policy
Terms of Service
https://networkproguide.com/bulk-import-users-into-active-directory-from-csv/ 7/8
4/6/22, 5:13 PM Bulk Import Users into Active Directory from CSV | NetworkProGuide
https://networkproguide.com/bulk-import-users-into-active-directory-from-csv/ 8/8