AD domain user and group management CSVDE batch creation of users

OU (Organizational Unit) creation

The OU in the domain refers to the organizational unit (Organizational Unit). The organizational unit is an AD (Active Directory, Active Directory) container in which users, groups, computers, and other organizational units can be placed. It can assign group policy settings or delegate management. The smallest scope or unit of permission. A property is the smallest scope or unit.

First open Active Directory Users and Computers

 Right click on the domain name --> New --> Organizational Unit

 Write the OU name, OK

 In this way, ou is created

 Under ou, you can also create secondary ou, tertiary ou, etc.

Create users and groups

Still right click on ou --> New --> User/Group/Other. . . can create

create user 

 user

Password strength requires a combination of numbers, symbols, uppercase letters, lowercase letters, and three of them 

 

 

create group 

 

 

 join the group

Right-click group--"Properties

 Members - "Add Members

 

 Enter the user name you want to join -- "OK to apply

 Multiple user creation and management

CSVDE: Batch import & export users

Dn "username, organizational unit, dc"

objectCalss type

SamAccountName name

userPrincipalName full name

displayname The user name displayed when logging in

Whether userAccountControl is initially enabled by the user

Dn,objectCalss,SamAccountName,userPrincipalName,displayname,userAccountControl
"cn=一,ou=sales,dc=siso,dc=com",user,yi,[email protected],一,514
"cn=二,ou=sales,dc=siso,dc=com",user,er,[email protected],二,514

Save the file as a txt or csv file and put it in the domain server

win+r      cmd

Order

csvde -i -f 路径/文件名

csvde -i -f c:/1.txt

  

In this way, users can be created in batches

Guess you like

Origin blog.csdn.net/m0_73910867/article/details/127555625