Having trouble performing an Offline Defrag on AD Database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Trying to defrag my Windows 2000 SP4 AD database on a DC and I'm getting an
error a third of the way into it. I run ntdsutil and then try to "compact to
d:\addb" and it throws an error saying


Operation terminated with error -1601 (JET_errRecordNotFound, The key was
not found)

The command line that this uses appears to be:

C:\winnt\system32\esentutl.exe /d "c:\winnt\ntds\ntds.dit" /8 /o
/l"c:\winnt\ntds" /s"c:\winnt\ntds" /t"d:\addb\ntds.dit" /!10240 /p


Anyone got any ideas?
 
Trying to defrag my Windows 2000 SP4 AD database on a DC and I'm getting an
error a third of the way into it. I run ntdsutil and then try to "compact to
d:\addb" and it throws an error saying


Operation terminated with error -1601 (JET_errRecordNotFound, The key was
not found)

The command line that this uses appears to be:

C:\winnt\system32\esentutl.exe /d "c:\winnt\ntds\ntds.dit" /8 /o
/l"c:\winnt\ntds" /s"c:\winnt\ntds" /t"d:\addb\ntds.dit" /!10240 /p


Anyone got any ideas?


Try NTDSUTIL.EXE.

See tip 2635 » How do I defragment the Active Directory database?
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
As mentioned in my post, I did try ndtdutil.exe originally, which threw the
error. I finally just demoted the DC and then dcpromo'd it back in as the
easiest fix. The troubleshooting was going nowhere.
 
Back
Top