如何导出和导入AD用户、组和组成员资格?
你好, 我想使用 csvde 将我的 Active Directory 用户、组和组成员身份从一个 DC 复制到另一个 DC,其中除了域和计算机的名称外,这些计算机是相同的。 请注意,每个服务器都是一个 DC,并且它本身是域的唯一成员。 我用于导出的命令是:
csvde -f C:\exportAD.csv -m -n -o "primaryGroupID,lockoutTime" -j C:\Logs\
然后编辑 csv 文件,删除几行不会导入的行,并更改域和计算机名称,然后使用以下命令将其导入到第二台计算机上:
csvde -i -f C:\exportAD.csv -k -j C:\Logs\
但是,这不是组成员身份存在于原著中。
有什么想法吗?
-弗林克
Hallo,
I want to copy my Active Directory Users, Groups and Group Memberships from one DC to another using csvde, where the machines are identical except for the only the name of the Domain and Machine.
Note that each server is a DC and itself is the only member of the domain.
The command I am using for export is:
csvde -f C:\exportAD.csv -m -n -o "primaryGroupID,lockoutTime" -j C:\Logs\
I then edit the csv file, deleting a few lines which will not import, and changing the Domain and Machine name, then import it on the second machine using:
csvde -i -f C:\exportAD.csv -k -j C:\Logs\
However, this does not the group memberships present in the original.
Any ideas?
-Frink
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个问题已在 https 中得到解答://serverfault.com/questions/181211/how-to-export-and-import-ad-users-groups-and-group-membership/229181#229181
This has been answered in https://serverfault.com/questions/181211/how-to-export-and-import-ad-users-groups-and-group-membership/229181#229181