Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • 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

  • maxresdefault
    How to delete Organizational Unit in Active Directory Windows Server
  • Connect to FTP Server
    Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding Windows Server
  • ghfg 1
    Handy WSUS Commands: Windows Server Update Services Commands, WAUACLT, PowerShell and USOClient Windows Server
  • fdsdsd
    Configuring DHCP Scope: Post-deployment of Dynamic Host Configuration Protocol Windows Server
  • fghj
    MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot Windows Server
  • Ping commands
    Ping from Source IP Address from all environments Mac

More Related Articles

maxresdefault How to delete Organizational Unit in Active Directory Windows Server
Connect to FTP Server Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding Windows Server
ghfg 1 Handy WSUS Commands: Windows Server Update Services Commands, WAUACLT, PowerShell and USOClient Windows Server
fdsdsd Configuring DHCP Scope: Post-deployment of Dynamic Host Configuration Protocol Windows Server
fghj MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot Windows Server
Ping commands Ping from Source IP Address from all environments Mac

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

Veeam Vanguard

  • increaseEmailsize
    Email Size Limits: Boost for High Profile Users in Exchange 2010 Network | Monitoring
  • CloudFrontAWS
    Serve Private S3 Bucket Contents Via CloudFront AWS/Azure/OpenShift
  • Manually resize your partition
    KB5034439 Windows Update Error: Resize WinRE Partition Windows Server
  • Remove Orphaned VHR Repository
    Unable to Remove Orphaned VHR Repository v2 from VBR v13 Backup
  • adobeacrobat reader
    Workaround for there were no pages selected to print or the documents could not be printed from Adobe Acrobat Reader JIRA|Confluence|Apps
  • ntp server testen
    Enable or disable Linux System’s Clock Sync with NTP Server Linux
  • yxxycx yx
    How to change the Default First-Site-Name in Active Directory Windows Server
  • ReasonsforBitLockerRecovery
    Reasons for BitLocker Recovery Prompt: Query the number of BitLocker recovery request Windows

Subscribe to Blog via Email

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

Join 1,821 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 Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.