Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

2008 batch import and export of R2 AD accounts

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. Import

1. Create a new EXCEL table under the following figure category and save it in CSV format

2. Open CMD and import CSV file

Script download address

It is recommended that the account in the script be set to 514, that is, the account is disabled

Later, change the password in batch through the production of bat (for example, net user over qwert123 changes the password of over to qwert123)

Finally, select all accounts and right-click-- "enable accounts", OK.

Because csvde cannot import passwords, first disable the password complexity in the policy, and change the minimum character to 0.

Csvde-I-f C:\ hey.csv-k-j C:\

-I: specified as import mode, default is export mode

-f: specify the path and file name to import

-k: ignore errors such as existing, restriction conflicts, and attributes

3. Check the attributes for detection

2. Export

Csvde-f c:\ daochu.csv-r "(objectClass=user)"-d "OU=yuangong,DC=fdwxyjy,DC=com-u

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 249

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report