compact defrag Windows 2008 Active Diretory database

compact defrag Windows 2008 Active Diretory database

Stop active directory services.

ntdsutil
activate instance ntds
files
compact to c:\temp
copy “c:\temp\ndts.dit” c:\windows\NTDS\ntds.dit
del c:\windows\NTDS\*.log

Start active directory services.

Leave a Reply

Your email address will not be published. Required fields are marked *

eleven + eight =

This site uses Akismet to reduce spam. Learn how your comment data is processed.