Export & Import Active Directory Users
Export & Import Active Directory Users
1. Here all my users are in one OU, if that OU has ‘nested OU’s within it that’s OK.
Example
4. Now open the CSV File with Excel, the second line will probably be the OU, you
can leave this here if you want but if your target OU is different (or Like me you
prefer to create it manually), then delete row 2 (Don’t delete Row 1!).
5. You do not need all the columns, delete all the columns EXCEPT,
DN
objectClass
ou
distinguishedName
name
cn
sn
givenName
displayName
sAMAccountName
userPrincipalName
So when complete it should look like the following;
6. Change any details in the LDAP path that are different for the new domain.
7. You may also need to change the domain name that’s listed on the
userPrincipleName.
10. By default they will be disabled, but you can bulk enable them.
11. At this point all the users have no password, this can also be bulk set.
Windows – Reset all User Passwords in an OU