Active Directory recovery

NTDS.dit corruption should be recovered from replication or system state before lossy database repair is considered.

Active Directory database corruption can stop Directory Services, trigger Jet errors, or break replication. The safest recovery path depends on other healthy domain controllers, system-state backups, transaction logs, SYSVOL, and the storage fault that caused the damage.

Understand the symptom

Database consistency is not the same as directory correctness.

WHY

What is happening

NTDS.dit is an ESE database tied to logs, system state, replication metadata, security identifiers, and SYSVOL. Microsoft warns that Ntdsutil or Esentutl lossy repair can delete data and introduce unsupported conditions. A healthy replica or system-state recovery is generally preferable when available, while storage errors must be addressed before trusting a repaired copy.

What you may see

Symptoms that change the recovery path.

01

Directory Services cannot start

LSASS or NTDS reports initialization failure and the domain controller shuts down or enters recovery mode.

02

Jet checksum or page errors

ESE detects a damaged database page, long-value tree, log, or underlying I/O result.

03

Replication errors persist

The local database cannot read or write an object needed for replication.

04

Unexpected recovery loops

Transaction recovery cannot bring the database into a consistent usable state.

Protect the source

Actions that can make the situation worse.

01

Hard repair deletes records

Lossy repair may remove pages or objects and does not guarantee a supportable directory.

02

Log deletion loses transactions

EDB logs can be required to bring the database to a consistent state.

03

Reintroducing a damaged DC spreads problems

A locally repaired database can contain logical omissions or replication inconsistencies.

Do this now

Safe steps before evaluation.

01

Isolate the affected domain controller

Stop repeated boots, replication, cleanup, and repair attempts while healthy DC availability is confirmed.

02

Preserve complete system state

Keep NTDS.dit, logs, registry, SYSVOL, boot files, event logs, backups, and VM snapshots together.

03

Record directory context

Document FSMO roles, domain and forest, other DCs, backup dates, error codes, storage events, and prior commands.

04

Protect the underlying storage

Image a failing disk, RAID, VM datastore, or volume before ESE integrity or repair operations.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Directory recovery assessment

NEPFOSYS maps database, logs, SYSVOL, backups, replication topology, roles, and storage condition.

02

Protected database acquisition

The affected system state and storage are preserved before repair or extraction.

03

Priority data and handoff validation

Recoverable directory data or system files are evaluated with the customer's AD administrator or Microsoft-supported path.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Should I run esentutl /p immediately?

No. Microsoft describes lossy repair as a last resort because it can delete data and create further problems. Check healthy replicas and system-state recovery first.

What files belong with NTDS.dit?

Preserve its transaction logs and checkpoints, registry, SYSVOL, system-state backup, event logs, VM or disk state, and encryption details.

Can a repaired database be returned directly to production?

Not without directory and replication validation. Database-level consistency alone does not prove that directory objects and relationships are correct.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case