Having trouble performing an Offline Defrag on AD Database

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?
 
J

Jerold Schulman

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
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top