如何在ACTIVE DIRECTORY中恢复已删除的对象(墓碑)? [英] How to restore deleted objects (tombstones) in ACTIVE DIRECTORY?

查看:112
本文介绍了如何在ACTIVE DIRECTORY中恢复已删除的对象(墓碑)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想使用c sharp从活动目录中删除已删除对象容器中的已删除对象。有没有任何教程 可用吗?

I want to restore the deleted object from the Deleted Object container from the active directory using c sharp. Is there any tutorial  available for that?

推荐答案

可能有教程,但基本上还原AD对象不是那很难,你将不得不将逻辑分解为你的程序。一旦您能够在AD中找到已删除的对象,您将需要执行以下操作

There might be tutorial out there, but basically restoring AD object is not that difficult, you will have to break down the logic into your program. Once you are able to locate the deleted object in AD, you will need to do following


  1. 设置IsDeleted值为False
  2. 更改相对可分辨名称(RDN)并删除AD键入的任何gibbrish
  3. 将对象移回上一个父级(OU) 

 

所有这些都可以一次完成一个。查看此网站:  http://www.codeproject.com/KB/system/everythingInAD.aspx

All of these can be done but one at a time. Review this website: http://www.codeproject.com/KB/system/everythingInAD.aspx

 


这篇关于如何在ACTIVE DIRECTORY中恢复已删除的对象(墓碑)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆