Change the 'life cycle' of tombstone objects in Active Directory
TipsMake.com - In the previous article , we showed you how to recover deleted components in Active Directory, which is related to the life cycle properties of tombstone objects. Technically this lifetime must be set longer than the fixed latency between domain controllers. The period of time between tombstone removals must be at least equal to the maximum delay when the process spreads through the forest layer. Because the 'validity' period of the tombstone life cycle is based on when the object was actually deleted, not the time the server received the specific tombstone signal through the replication process, and all the tombstone of 1 objects are collected on multiple servers at the same time. If the tombstone has not been replicated on a specific Domain Controller , that DC will not record the process of deleting the corresponding data. And this is also the main reason why we cannot restore the Domain Controller from any backup that is older than the lifetime of the tombstone .
By default, the Active Directory lifetime tombstone time is 60 days, and users can completely change depending on their needs. Specifically, the tombstoneLifetime attribute of the CN object = Directory Service in the configuration phase must be changed, and this object is fixed at:
Note that the longer this lifetime, the greater the percentage of deleted objects left in the system directory when disconnecting the DC than it is to remove it completely from the DC online. In addition, the lifetime of the tombstone will not change automatically when the user updates Windows Server 2003 to SP1 , but can be done manually later. The new forest layers that come with Windows Server 2003 SP1 will have a default lifetime parameter of 180 days.
You can check the default lifetime attribute with the command:
dsquery * "cn = Directory Service, cn = Windows NT, cn = Services, cn = Configuration, dc =" -scope base -attr tombstonelifetime
In fact, there are many ways to change this parameter, and the simplest way is to use ADSIEdit .
Method 1: use ADSIEdit:
This is part of the Windows 2003 Support Tools, and if you want to use ADSIEdit , you must install Support tools directly on the computer or Domain Controller . In addition, to complete the steps below, the account in use must be a member of the Enterprise Admins group .
To view or change the attribute value section with ADSIEdit , type ADSIEdit.msc in the Run field and type Enter . Then move to:
with the ForestRootDN is the Distinguished Name of the Active Directory Forest Root domain. For example, if your domain name is kuku.co.il , the DN section will be:
DC = kuku, DC = co, DC = il
Right-click and select Properties :
In the Properties window displayed, scroll down to the tombstoneLifetime section, click Edit :
Change the required Tombstone Lifetime Period parameter then click OK :
Click OK and close ADSIEdit again. When we see properties on the cn = Directory Service section, cn = Windows NT, cn = Services, cn = Configuration , if no value is set, it means that the default value is valid. And any value the user enters into the Edit Attribute box replaces the default parameter when pressing the Set button.
Method 2: use LDIF file:
First, open Notepad and create a text file with the content:
dn: cn = Directory Service, cn = Windows NT, cn = Services, cn = Configuration, changetype: modify replace: tombstoneLifetime tombstoneLifetime: -
Note that you must not forget the - in the last line. With the Distinguished Name is the Active Directory Forest Root domain . For example, if the domain name is kuku.co.il , the DN part will be:
DC = kuku, DC = co, DC = il
Then, save this file to tombstoneLifetime.ldf . Open Command Prompt and type the command:
Quite simple and easy, wish you success!
You should read it
- Deploy Domain System On Windows Server 2003 Active Directory
- Microsoft stopped supporting Windows Server 2003 in the middle of next year
- Turn off the domain password request feature in Windows Server 2003
- Install Windows Server 2003 and create a backup server
- Install DNS server and Domain Controller in Windows Server 2003
- Windows Server 2003 died after July 14
- How to install Active Directory on Windows Server 2019
- Transfer from Linux Mail Server to Exchange Server 2007 (Part 1)
May be interested
- Top 10 security settings after installing Active Directoryinstalling active directory is not too difficult, but once you have installed it, there is quite a bit of work to do. the first thing in active directory configuration is its security settings. there are many areas you need to consider and many settings need to be changed in preparation for protecting actions in the starboard
- Instructions for installing Active Directory on Windows Server 2008microsoft active directory provides a centralized solution, managing and storing network resource information across the entire domain. in addition, active directory using domain controllers is responsible for storing and distributing storage for all users in the system, and setting up windows server 2008 as the domain controller role.
- How to enable RSAT for Active Directory in Windows 10this tutorial introduces 3 methods to enable active directory in windows 10. to be exact, it is not to activate active directory in windows 10 because you cannot install ad in windows 10. you can only enable rsat for active directory in windows 10 only.
- How to install Active Directory in Windows Server 2012in this article, we will learn how to install active directory in windows server 2012 r2.
- Prepare Active Directory for Exchange 2007 (Part 3)in the previous two sections, we took the first necessary action when preparing active directory to receive exchange 2007, which is the process of preparing the legacy exchange permission.
- Prepare Active Directory for Exchange 2007 (Part 1)before installing exchange 2007 you need to learn some steps to take to prepare an active directory environment to receive exchange 2007.
- How to check which Domain Controller holds the FSMO role in Active Directorythis tutorial illustrates how to test the fsmo role in server 2016. the 5 fsmo roles in active directory include: rid master, pdc emulator master, infrastructure master, domain naming master, schema master.
- Prepare Active Directory for Exchange 2007 (Part 2)in part one, we went over the first four steps to take to prepare the active directory schema to receive exchange 2007.
- Extend the Active Directory schema capabilities in Exchange Server 2007in this article, i will show you how to extend exchange server 2007's microsoft active directory schema and why active directory schema extensions are necessary.
- Configure the Lightweight Directory Service service - Part 3in this article, i will show you the procedure for creating an appropriate ad lds instance and application directory partition.