Perform Clean-up Tasks

Applies To: Windows Server 2008, Windows Server 2008 R2

After upgrading your Active Directory infrastructure to Active Directory Domain Services (AD DS), perform the following clean-up operations:

  • After the security descriptor propagator has finished building the single-instance store, perform an offline defragmentation of the database on each upgraded domain controller. This reduces the size of AD DS on the file system by up to 40 percent, reduces the memory footprint, and updates pages in the database to the new format. For more information, see Compact the directory database file (offline defragmentation) (


This task is relevant only when you are performing an in-place upgrade from Windows 2000 to Windows Server 2003. If you are upgrading a Windows 2000 domain controller to Windows Server 2008 (which requires an in-place upgrade from Windows 2000 to Windows Server 2003, followed by an in-place upgrade from Windows Server 2003 to Windows Server 2008), we recommend that you perform this task after your domain controller is upgraded to Windows Server 2003.

  • Create a new System State backup for at least two domain controllers in your environment. For more information about backing up AD DS, see the AD DS Backup and Recovery Step-by-Step Guide ( Be sure to label all backup tapes with the operating system version that the domain controller is running, including service packs and hotfixes.