Resolution of Active Directory Replication Error 8606 &1988

%3CLINGO-SUB%20id%3D%22lingo-sub-2754262%22%20slang%3D%22en-US%22%3EResolution%20of%20Active%20Directory%20Replication%20Error%208606%20%26amp%3B1988%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2754262%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EScenario%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDC%20is%20Virtualized%20in%26nbsp%3BVMware%2C%20I%20got%20it%20restored%20from%20Veeam%20backup%2C%20meaning%20it%20is%20not%20in%20the%20current%20state%2C%20that%20caused%20%3CA%20href%3D%22https%3A%2F%2Fbit.ly%2F3tHlhlE%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EActive%20Directory%3C%2FA%3E%20Broken%2C%20how%20could%20I%20get%20it%20fixed%3F%20I%20forced%20replication%20between%202%20DCs%20it%20failed.%20Here%20and%20there%20we%26nbsp%3Bgot%26nbsp%3Bseveral%26nbsp%3BPCs%20that%26nbsp%3Bhave%20the%20error%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E2%80%9CThe%20trust%20relationship%20between%20this%20Workstation%20and%20the%20primary%20Domain%20failed%E2%80%9D%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBased%20on%20above%20use%20case%2C%20identified%20certain%20errors.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EInvestigation%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%26nbsp%3Bfirst%2C%26nbsp%3Ba%20piece%20of%20advice%26nbsp%3Bthat%2C%26nbsp%3Byou%26nbsp%3Bshould%20never%20restore%20a%20domain%20controller%20in%20a%20multi-domain%20controller%20environment.%26nbsp%3BInstead%2C%20you%20should%20stand%20up%20a%20new%20DC%20and%20start%20replication%2C%20it%20will%20take%20time%20but%20will%20replicate%20from%20a%20fully%20healthy%20DC.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThen%26nbsp%3Bwe%20ran%20the%26nbsp%3Bbelow%20command-lets%26nbsp%3Band%20collected%20the%20logs%20for%20review.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDcdiag%26nbsp%3B%2Fv%20%2Fc%20%2Fd%20%2Fe%20%2Fs%3A%25computername%25%20%26gt%3BC%3A%5Cdcdiag.log%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Erepadmin%26nbsp%3B%2Fshowrepl%26nbsp%3B%26gt%3BC%3A%5Crepl.txt%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc1.txt%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc2.txt%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cproblemworkstation.txt%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EErrors%20Observed%20in%20DC%20Diagnostic%20Report%20%26amp%3B%20Replication%20Summary%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20found%20following%20two%20errors%20in%20DC%20diagnostic%20report%20and%20Replication%20summary%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3EActive%20Directory%20Replication%20Error%208606%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3A%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%20Insufficient%20attributes%20were%20given%20to%20create%20an%20object.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3EActive%20Directory%20Replication%20Error%201988%3A%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%20The%20local%20domain%20controller%20has%20attempted%20to%20replicate%20the%20following%20object%20from%20the%20following%20source%20domain%20controller.%20This%20object%20is%20not%20present%20on%20the%20local%20domain%20controller%20because%20it%20may%20have%20been%20deleted%20and%20already%20garbage%20collected.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3ELogging%20Conditions%20for%20Error%208606%20%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUpon%20further%20research%2C%20we%20found%20out%20that%26nbsp%3BError%208606%20is%20logged%20when%20the%20following%20conditions%20are%20true%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EA%20source%20domain%20controller%20sends%20an%20update%20to%20an%20object%20(instead%20of%20an%20originating%20object%20create)%20that%20has%20already%20been%20created%2C%20deleted%2C%20and%20then%20reclaimed%20by%20garbage%20collection%20from%20a%20destination%20domain%20controller's%20copy%20of%20Active%20Directory.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20destination%20domain%20controller%20was%20configured%20to%20run%20in%20strict%20replication%20consistency.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ECause%20of%20Error%208606%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20error%20is%20caused%20by%20one%20of%20the%20following%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EA%20permanently%20lingering%20object%20whose%20removal%20will%20require%20admin%20intervention%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EA%20transient%20lingering%20object%20that%20will%20correct%20itself%20when%20the%20source%20domain%20controller%20performs%20its%20next%20garbage-collection%20cleanup.%20Introduction%20of%20the%20first%20domain%20controller%20in%20an%20existing%20forest%20and%20updates%20to%20the%20partial%20attribute%20set%20are%20known%20causes%20of%20this%20condition.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EAn%20object%20that%20was%20undeleted%20or%20restored%20at%20the%20cusp%20of%20tombstone%20lifetime%20expiration%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EKey%20Points%20to%20Remember%20for%20Troubleshooting%20Error%208606%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20you%20troubleshoot%208606%20errors%2C%20think%20about%20the%20following%20points%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EAlthough%20error%208606%20is%20logged%20on%20the%20destination%20domain%20controller%2C%20the%20problem%20object%20that%20is%20blocking%20replication%20resides%20on%20the%20source%20domain%20controller.%20Additionally%2C%20the%20source%20domain%20controller%20or%20a%20transitive%20replication%20partner%20of%20the%20source%20domain%20controller%20potentially%20did%20not%20inbound-replicate%20knowledge%20of%20a%20deleted%20tombstone%20lifetime%20number%20of%20days%20in%20the%20past.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3ERemember%20to%20search%20for%20potentially%20lingering%20objects%20by%20object%20GUID%20versus%20DN%20path%20so%20that%20objects%20can%20be%20found%20regardless%20of%20their%20host%20partition%20and%20parent%20container.%20Searching%20by%26nbsp%3Bobjectguid%26nbsp%3Bwill%20also%20locate%20objects%20that%20are%20in%20the%20deleted%20objects%20container%20without%20using%20the%20deleted%20objects%20LDAP%20control.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20NTDS%20Replication%201988%20event%20identifies%20only%20the%20current%20object%20on%20the%20source%20domain%20controller%20that%20is%20blocking%20incoming%20replication%20by%20a%20strict%20mode%20destination%20domain%20controller.%20There%20are%20likely%20additional%20objects%20%22behind%22%20the%20object%20that%20is%20referenced%20in%20the%201988%20event%20that%20is%20also%20lingering.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20presence%20of%20lingering%20%3CA%20href%3D%22https%3A%2F%2Fbit.ly%2F3CdDCd2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eobjects%20on%20a%20source%20domain%20controller%3C%2FA%3E%20prevents%20or%20blocks%20strict%20mode%20destination%20domain%20controllers%20from%26nbsp%3Binbound%20replicating%26nbsp%3B%22good%22%20changes%20that%20exist%20behind%20the%20lingering%20object%20in%20the%20replication%20queue.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EBecause%20of%20the%20way%20that%20domain%20controllers%20individually%20delete%20objects%20from%20their%20deleted%20object%20containers%20(the%20garbage-collection%20daemon%20runs%20every%2012%20hours%20from%20the%20last%20time%20each%20domain%20controller%20last%20started)%2C%20the%20objects%20that%20are%20causing%208606%20errors%20on%20destination%20domain%20controllers%20could%20be%20subject%20to%20removal%20in%20the%20next%20garbage-collection%20cleanup%20execution.%20Lingering%20objects%20in%20this%20class%20are%20transient%20and%20should%20remove%20themselves%20in%20no%20more%20than%2012%20hours%20from%20problem%20start.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20lingering%20object%20in%20question%20is%20likely%20one%20that%20was%20intentionally%20deleted%20by%20an%20administrator%20or%20application.%20Factor%20this%20into%20your%20resolution%20plan%2C%20and%20beware%20of%20reanimating%20objects%2C%20especially%20security%20principals%20that%20were%20intentionally%20deleted.%20Resolution%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EResolution%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFor%20our%20need%2C%26nbsp%3Bto%20check%20the%20replication%20status%20in%20between%20only%202%20DCs%20(The%20affected%20one%20and%20a%20healthy%20one)%2C%26nbsp%3Bwe%20have%20also%20tried%20disabling%20%E2%80%9CStrict%20Replication%20Consistency%E2%80%9D%26nbsp%3Bthat%20prevents%20destination%20domain%20controllers%20from%20replicating%20in%20lingering%20objects%2C%20but%20it%20is%20highly%20recommended%20not%20to%20disable%20%E2%80%9CStrict%20Replication%20Consistency%E2%80%9D%2C%26nbsp%3Bthere%20can%20be%20a%20risk%20that%20lingering%20objects%20could%20be%20replicated%20to%20a%20domain%20controller%26nbsp%3Bor%20many%20where%20this%20setting%20is%20not%20enabled.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EReference%20Microsoft%20Documentation%20for%20enabling%20this%20setting%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2008-R2-and-2008%2Fcc816938(v%3Dws.10)%3Fredirectedfrom%3DMSDN%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2008-R2-and-2008%2Fcc816938(v%3Dws.10)%3Fredirectedfrom%3DMSDN%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAs%20an%20actual%20fix%2C%20we%20must%20have%20to%20remove%20the%20lingering%20objects%20from%20the%20recovered%20DC%20for%20the%20smooth%20replication.%26nbsp%3BWhile%20many%20methods%20exist%20to%20remove%20lingering%20objects%2C%20there%20are%26nbsp%3Btwo%26nbsp%3Bprimary%20tools%20commonly%20used%3A%20Lingering%20Object%20Liquidator%20(LoL)%20and%20repadmin.exe.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3ELingering%20Object%20Liquidator%20(LoL)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20easiest%20method%20to%20clean%20up%20Lingering%20Objects%20is%20to%20use%20the%26nbsp%3BLoL.%20The%26nbsp%3BLoL%26nbsp%3Btool%20was%20developed%20to%20help%20automate%20the%20cleanup%20process%20against%20an%20Active%20Directory%20Forest.%20The%20tool%20is%20GUI-based%20and%20can%20scan%20the%20current%20Active%20Directory%20Forest%20and%20detect%20and%20cleanup%20lingering%20objects.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20tool%20is%20available%20on%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D56051%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3EMicrosoft%20Download%20Center%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3ERepadmin%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E.%3CSTRONG%3EExe%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20following%20command%20in%20REPADMIN.EXE%20can%20remove%20lingering%20objects%20from%20directory%20partitions%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3ERepadmin.Exe%20%2FRemoveLingeringObjects%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERepadmin%20%2F%20RemoveLingeringObjects%20can%20be%20used%20to%20remove%20lingering%20objects%20from%20writable%20and%20read-only%20directory%20partitions%20on%20source%20domain%20controllers.%20The%20syntax%20is%20as%20follows%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ec%3A%5C%26gt%3Brepadmin%20%2Fremovelingeringobjects%26nbsp%3B%3CDEST_DSA_LIST%3E%20%3CSOURCE%20dsa%3D%22%22%20guid%3D%22%22%3E%20%3CNC%3E%20%5B%2FADVISORY_MODE%5D%3C%2FNC%3E%3C%2FSOURCE%3E%3C%2FDEST_DSA_LIST%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhere%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3E%3CDEST_DSA_LIST%3E%3C%2FDEST_DSA_LIST%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%20is%20the%20name%20of%20a%20domain%20controller%20that%20contains%20lingering%20objects%20(such%20as%20the%20source%20domain%20controller%20that%20is%20cited%20in%20the%20NTDS%20Replication%201988%20event).%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3E%3CSOURCE%20dsa%3D%22%22%20guid%3D%22%22%3E%3C%2FSOURCE%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%20is%20the%20name%20of%20a%20domain%20controller%20that%20hosts%20a%20writable%20copy%20of%20the%20directory%20partition%20that%20contains%20lingering%20objects%20to%20which%20the%20domain%20controller%20in%20%3CDEST_DSA_LIST%3E%20has%20network%20connectivity.%20The%20DC%20to%20be%20cleaned%20up%20(first%20DC%20specified%20in%20the%20command)%20must%20be%20able%20to%20connect%20directly%20to%20port%20389%20on%20the%20DC%20that%20hosts%20a%20writable%20copy%20of%20the%20directory%20partition%20(specified%20second%20in%20the%20command).%3C%2FDEST_DSA_LIST%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3E%3CNC%3E%3C%2FNC%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%20is%20the%20DN%20path%20of%20the%20directory%20partition%20that%20is%20suspected%20of%20containing%20lingering%20objects%2C%20such%20as%20the%20partition%20that%20is%20specified%20in%20a%201988%20event.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EMonitoring%20Active%20Directory%20Replication%20Health%20Daily%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20error%208606%20%2F%20Event%201988%20was%20caused%20by%20the%20domain%20controller's%20failing%20to%20replicate%20Active%20Directory%20changes%20in%20the%20last%20tombstone%20lifetime%20number%20of%20days%2C%20make%20sure%20that%20Active%20Directory%20replication%20health%20is%20being%20monitored%20on%20a%20day-to-day%20basis%20going%20forward.%20Replication%20health%20may%20be%20monitored%20by%20using%20a%20dedicated%20monitoring%20application%20or%20by%20viewing%20the%20output%20from%20the%20one%20inexpensive%20but%20effective%20option%20to%20run%20%22repadmin%26nbsp%3B%2Fshowrepl%26nbsp%3B*%20%2Fcsv%22%20command%20in%20a%20spreadsheet%20application%20such%20as%20Microsoft%20Excel.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThus%2C%20keeping%20tabs%20on%20Active%20Directory%20Health%20overall%20is%20significant.%20In%20order%20to%20do%20that%2C%20its%20important%20for%20an%20IT%20Professional%20to%20have%20an%20understanding%20of%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fbit.ly%2F3EjPtYX%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20to%20define%20Active%20Directory%20Health%3C%2FA%3E%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2754262%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eactive%20directory%20replication%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2754318%22%20slang%3D%22en-US%22%3ERe%3A%20Resolution%20of%20Active%20Directory%20Replication%20Error%208606%20%26amp%3B1988%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2754318%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20question%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2754335%22%20slang%3D%22en-US%22%3ERe%3A%20Resolution%20of%20Active%20Directory%20Replication%20Error%208606%20%26amp%3B1988%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2754335%22%20slang%3D%22en-US%22%3EHey%20Dave%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIt's%20my%20investigation%20on%20above%20error%20and%20suggested%20resolution.%20Hope%20you%20find%20it%20helpful.%20Thanks.%3C%2FLINGO-BODY%3E
Contributor

 

 

 

 

Scenario

 

DC is Virtualized in VMware, I got it restored from Veeam backup, meaning it is not in the current state, that caused Active Directory Broken, how could I get it fixed? I forced replication between 2 DCs it failed. Here and there we got several PCs that have the error: 

“The trust relationship between this Workstation and the primary Domain failed” 

 

Based on above use case, identified certain errors.

 

 

Investigation

 

So first, a piece of advice that, you should never restore a domain controller in a multi-domain controller environment. Instead, you should stand up a new DC and start replication, it will take time but will replicate from a fully healthy DC. 

 

Then we ran the below command-lets and collected the logs for review. 

 

Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log 

repadmin /showrepl >C:\repl.txt 

ipconfig /all > C:\dc1.txt 

ipconfig /all > C:\dc2.txt 

ipconfig /all > C:\problemworkstation.txt 

 

Errors Observed in DC Diagnostic Report & Replication Summary

 

We found following two errors in DC diagnostic report and Replication summary :

 

  • Active Directory Replication Error 8606: Insufficient attributes were given to create an object. 
  • Active Directory Replication Error 1988: The local domain controller has attempted to replicate the following object from the following source domain controller. This object is not present on the local domain controller because it may have been deleted and already garbage collected. 

 

 

Logging Conditions for Error 8606

 

Upon further research, we found out that Error 8606 is logged when the following conditions are true: 

 

  • A source domain controller sends an update to an object (instead of an originating object create) that has already been created, deleted, and then reclaimed by garbage collection from a destination domain controller's copy of Active Directory. 

 

  • The destination domain controller was configured to run in strict replication consistency. 

 

Cause of Error 8606

 

The error is caused by one of the following: 

 

  • A permanently lingering object whose removal will require admin intervention.

 

  • A transient lingering object that will correct itself when the source domain controller performs its next garbage-collection cleanup. Introduction of the first domain controller in an existing forest and updates to the partial attribute set are known causes of this condition. 

 

  • An object that was undeleted or restored at the cusp of tombstone lifetime expiration.

 

 

Key Points to Remember for Troubleshooting Error 8606

 

When you troubleshoot 8606 errors, think about the following points: 

 

  • Although error 8606 is logged on the destination domain controller, the problem object that is blocking replication resides on the source domain controller. Additionally, the source domain controller or a transitive replication partner of the source domain controller potentially did not inbound-replicate knowledge of a deleted tombstone lifetime number of days in the past. 

 

  • Remember to search for potentially lingering objects by object GUID versus DN path so that objects can be found regardless of their host partition and parent container. Searching by objectguid will also locate objects that are in the deleted objects container without using the deleted objects LDAP control. 

 

  • The NTDS Replication 1988 event identifies only the current object on the source domain controller that is blocking incoming replication by a strict mode destination domain controller. There are likely additional objects "behind" the object that is referenced in the 1988 event that is also lingering. 

 

  • The presence of lingering objects on a source domain controller prevents or blocks strict mode destination domain controllers from inbound replicating "good" changes that exist behind the lingering object in the replication queue. 

 

  • Because of the way that domain controllers individually delete objects from their deleted object containers (the garbage-collection daemon runs every 12 hours from the last time each domain controller last started), the objects that are causing 8606 errors on destination domain controllers could be subject to removal in the next garbage-collection cleanup execution. Lingering objects in this class are transient and should remove themselves in no more than 12 hours from problem start. 

 

  • The lingering object in question is likely one that was intentionally deleted by an administrator or application. Factor this into your resolution plan, and beware of reanimating objects, especially security principals that were intentionally deleted. Resolution 

 

Resolution

 

For our need, to check the replication status in between only 2 DCs (The affected one and a healthy one), we have also tried disabling “Strict Replication Consistency” that prevents destination domain controllers from replicating in lingering objects, but it is highly recommended not to disable “Strict Replication Consistency”, there can be a risk that lingering objects could be replicated to a domain controller or many where this setting is not enabled. 

 

Reference Microsoft Documentation for enabling this setting:

 

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc... 

 

As an actual fix, we must have to remove the lingering objects from the recovered DC for the smooth replication. While many methods exist to remove lingering objects, there are two primary tools commonly used: Lingering Object Liquidator (LoL) and repadmin.exe.

 

  • Lingering Object Liquidator (LoL) 

 

The easiest method to clean up Lingering Objects is to use the LoL. The LoL tool was developed to help automate the cleanup process against an Active Directory Forest. The tool is GUI-based and can scan the current Active Directory Forest and detect and cleanup lingering objects.

 

The tool is available on Microsoft Download Center. 

 

 

  • Repadmin.Exe

 

The following command in REPADMIN.EXE can remove lingering objects from directory partitions: 

 

Repadmin.Exe /RemoveLingeringObjects

 

Repadmin / RemoveLingeringObjects can be used to remove lingering objects from writable and read-only directory partitions on source domain controllers. The syntax is as follows: 

c:\>repadmin /removelingeringobjects <Dest_DSA_LIST> <Source DSA GUID> <NC> [/ADVISORY_MODE] 

 

Where: 

 

  • <Dest_DSA_LIST> is the name of a domain controller that contains lingering objects (such as the source domain controller that is cited in the NTDS Replication 1988 event). 

 

  • <Source DSA GUID> is the name of a domain controller that hosts a writable copy of the directory partition that contains lingering objects to which the domain controller in <Dest_DSA_LIST> has network connectivity. The DC to be cleaned up (first DC specified in the command) must be able to connect directly to port 389 on the DC that hosts a writable copy of the directory partition (specified second in the command). 
  • <NC> is the DN path of the directory partition that is suspected of containing lingering objects, such as the partition that is specified in a 1988 event. 

 

Monitoring Active Directory Replication Health Daily 

 

 

If error 8606 / Event 1988 was caused by the domain controller's failing to replicate Active Directory changes in the last tombstone lifetime number of days, make sure that Active Directory replication health is being monitored on a day-to-day basis going forward. Replication health may be monitored by using a dedicated monitoring application or by viewing the output from the one inexpensive but effective option to run "repadmin /showrepl * /csv" command in a spreadsheet application such as Microsoft Excel.  

 

Thus, keeping tabs on Active Directory Health overall is significant. In order to do that, its important for an IT Professional to have an understanding of  How to define Active Directory Health?

 

2 Replies

Is there a question?

 

 

Hey Dave,

It's my investigation on above error and suggested resolution. Hope you find it helpful. Thanks.
www.000webhost.com