Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » How to determine Tombstone Lifetime in Active Directory

How to determine Tombstone Lifetime in Active Directory

Posted on 02/08/202405/08/2024 Temitope Odemo By Temitope Odemo No Comments on How to determine Tombstone Lifetime in Active Directory
Banner

In this guide, i will show you How to determine Tombstone Lifetime in Active Directory. A Tombstone Lifetime will help determine how long a deleted object can be stored within an active directory. This deleted object is not fully removed from the Active Directory but is marked as a Tombstone Lifetime object. We cannot access Tombstone Lifetime by using MMC Console or the Windows directory but it exists in the Active Directory replication which makes the Tombstone Lifetime in one DC to be replicated to other DC in an AD forest. Please see how to enable and configure WinRM via GPO, and Active Directory: How to Setup a Domain Controller,

Note: Once an object is deleted, it will be deleted from all the computers throughout the Active Directory. Active Directory sets the ‘isDeleted’ attribute of the deleted object to TRUE and move it to a special container called Tombstone, which is formerly called CN=Deleted Objects.

Please take a look at the YouTube video below for more information on how to determine or change the default tombstone value.

Also, read more about how to Remove Microsoft Exchange Server: Using ADSIEdit Tool, Create New Users and Join Synology NAS to Active Directory, Service and Network Port requirements for Active Directory, Setup a Domain Controller as Recommended by Microsoft, and How to Use Active Directory Explorer from Sysinternals.

Check tombstone lifetime of Active Directory using ADSI Edit on Windows Server

Checking and changing Tombstone Lifetime is possible with ADSI Edit. ADSI Edit is an LDAP editor that manages objects in the Active Directory.

This utility tool will allow you to view objects and attributes that are not displayed in the Active Directory Management Console.

1: Open the Windows Server and click Start > Windows Administrative Tools.

How to determine Tombstone Lifetime in Active Directory - Windows Admin

2. Click on ADSI Edit.

How to determine Tombstone Lifetime in Active Directory - Adsi Edit

3. Right-click the ADSI Edit node and select Connect To.

How to determine Tombstone Lifetime in Active Directory - Connect to

4. In the Connection Settings dialog, On the Connection Point check “Select a well known Naming Context:” and select Configuration from the drop-down list.

Configuration

5. Expand Configuration <Your_Root_Domain_Name>

Configuration2

6. Expand Configuration CN=Configuration,DC=<Your_Root_Domain_Name> DC=Local

CN Configuration

7. Expand Services CN=Services 

CN Services

8. Expand Windows NT CN=Windows NT

Windows NT

9. Right-click CN=Directory Service and select Properties from the context menu.

CN Directory

10. In the CN=Directory Service Properties dialog box, navigate to the tombstoneLifetime attribute in the Attribute Editor tab

tombstone

11. The default tombstoneLifetime value here is 180. Select it and edit it to your desired figure and click OK.

The Tombstone Lifetime VALUE will be successfully changed.

Attribute value

Please see How to Back Up and Restore the Windows Registry, learn the Concept of Active Directory Computer Account, and How to add a second Domain Controller.

2. Checking and changing Tombstone Lifetime using PowerShell

Open the PowerShell terminal to change the value of your DC Tombstone Lifetime. Let’s assume that you want to change the value to 365 use the below command.

Import-Module ActiveDirectory
$ADForestconfigurationNamingContext =(GetADRootDSE).configurationNamingContext
Set-ADObject -Identity “CN=Directory Service,CN=Windows NT,CN=Services,$ADForestconfigurationNamingContext” -Partition $ADForestconfigurationNamingContext -Replace @{tombstonelifetime=’365′}
Powershell

You can use the following command to view the current value of your DC Tombstone Lifetime.

(get-adobject "cn=Directory Service,cn=Windows NT,cn=Services,cn=Configuration,dc=<Your_Root_Domain_Name>,dc=local" -properties "tombstonelifetime").tombstonelifetime
Powershell2

I hope you found this blog post on how to determine Tombstone Lifetime in Active Directory Interesting and helpful. If you have any questions do not hesitate to ask in the comment section.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Active Directory, Active Directory Domain Services, Windows Server 2016

Post navigation

Previous Post: Enabling and Configuring WinRM via GPO
Next Post: Windows PE working for Windows 11 and Windows Server 2022

Related Posts

  • Screenshot
    An error occurred while attempting to start the selected VM Virtualization
  • Implementing DHCP Server
    Comprehensive Guide to Install DHCP Server on Windows Server Windows Server
  • Add a second domain to your domain
    How to add a new Domain Controller to an Existing Domain Windows Server
  • Distributed File System DFS
    How to find Dfs Referral Path and clear Dfs referral Cache Storage
  • unnamed 1
    NSlookup Displays Error: UnKnown Default Server Windows Server
  • Fix Secure Boot certificate expiration
    Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows

More Related Articles

Screenshot An error occurred while attempting to start the selected VM Virtualization
Implementing DHCP Server Comprehensive Guide to Install DHCP Server on Windows Server Windows Server
Add a second domain to your domain How to add a new Domain Controller to an Existing Domain Windows Server
Distributed File System DFS How to find Dfs Referral Path and clear Dfs referral Cache Storage
unnamed 1 NSlookup Displays Error: UnKnown Default Server Windows Server
Fix Secure Boot certificate expiration Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • SSL on WAMPServer
    Setup VirtualHost with SSL on WAMP Server Linux
  • MicrosoftOneDrive32
    Microsoft OneDrive Setup: Files On-Demand & Key Features Backup
  • Azure Stack 1
    How to create a load balancer for Azure Stack Hub Network | Monitoring
  • How to manage user permission in AD and Synology
    Manage User Permission on Synology with Active Directory [Part 1] Reviews
  • OOTBI virtual appliance setup on Proxmox
    How to set up the OOTBI Virtual Appliance on Proxmox VE Backup
  • Troubleshooting Synology NAS Domain Join 2
    Synology NAS Domain Join: The Importance of DNS Configuration Reviews
  • server 2022
    Upgrade Windows Server 2019 to 2022 via iDRAC Windows Server
  • images copy
    How to clean packages lying around in Linux Linux

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.