如何修改 Active Directory 林的逻辑删除生存期
Summary: Active Directory 林的逻辑删除生存期表示该林中域控制器 (DC) 允许的最大复制间隔。如果 DC 无法在逻辑删除生存期内与合作伙伴进行复制,则禁用复制。 本文说明了修改逻辑删除生存期的过程。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
- 在林中的 DC 上,启动 ADSI Edit (adsiedit.msc)。
- 如果 ADSI Edit 控制台的左窗格中未列出配置分区,请按照以下步骤连接到该分区:
- 右键单击左窗格中的 ADSI 编辑标头,然后选择 连接到...。
- 选择标有 Select a well known Naming Context的单选按钮:
- 从单选按钮下方的下拉菜单中,选择 Configuration。
- 单击 OK 进行连接。
- 展开左侧窗格中的 Configuration 。可能需要先左键单击Configuration,然后才能将其展开。
- 展开 CN=Configuration... 文件夹。
- 展开 CN=Services。
- 选择 CN=Windows NT。
- 在中心窗格中,右键单击 CN=Directory Service ,然后选择 Properties。
- 在属性窗口的“属性编辑器”选项卡中,向下滚动到 tombstoneLifetime 属性并选择它。
- 单击 编辑 按钮。
- 该属性的值表示逻辑删除生存期(以天为单位)。键入所需的值,然后单击 OK。
- 再次单击 确定 以关闭属性窗口。
- 关闭 ADSI Edit。新值将复制到林中的所有其他 DC。
Additional Information
墓碑生存期是整个森林的属性。无法为林中的各个域配置它。
Active Directory 林的逻辑删除生存期通常为 180 天。这是自 Windows Server 2003 R2 SP2 以来创建的所有林的默认值。它也是 Windows Server 2003 SP1 和 SP2 中的默认值。
如果 tombstoneLifetime 属性的值显示为 <未设置>,则林的墓碑生存期为 60 天。这是在 Windows 2000 Server、Windows Server 2003 RTM 和 Windows Server 2003 R2 RTM 和 SP1 中创建的所有林的默认值。
当林中的 DC 升级到较新的操作系统版本或提升功能级别时,逻辑删除生存期不会自动增加。必须手动修改它。
逻辑删除生存期表示 DC 的系统状态备份的最长可用寿命。还原早于逻辑删除生存期的 DC 的备份会导致还原的 DC 无法与任何合作伙伴进行复制。
不建议在生产环境中使用较短的逻辑删除生存期。逻辑删除生存期越短,在自动禁用复制之前,检测和解决复制问题的时间就越短。
Active Directory 林的逻辑删除生存期通常为 180 天。这是自 Windows Server 2003 R2 SP2 以来创建的所有林的默认值。它也是 Windows Server 2003 SP1 和 SP2 中的默认值。
如果 tombstoneLifetime 属性的值显示为 <未设置>,则林的墓碑生存期为 60 天。这是在 Windows 2000 Server、Windows Server 2003 RTM 和 Windows Server 2003 R2 RTM 和 SP1 中创建的所有林的默认值。
当林中的 DC 升级到较新的操作系统版本或提升功能级别时,逻辑删除生存期不会自动增加。必须手动修改它。
逻辑删除生存期表示 DC 的系统状态备份的最长可用寿命。还原早于逻辑删除生存期的 DC 的备份会导致还原的 DC 无法与任何合作伙伴进行复制。
不建议在生产环境中使用较短的逻辑删除生存期。逻辑删除生存期越短,在自动禁用复制之前,检测和解决复制问题的时间就越短。
Affected Products
Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2008 Server R2, Microsoft Windows 2008 Server Service Pack 2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2Article Properties
Article Number: 000213101
Article Type: How To
Last Modified: 09 Dec 2024
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.