Windows 2008

NTDSUTIL is a commandline utility that can make an Install From Media disk IFM to install a new domain controller.
To use ntdsutil (after you have installed the windows backup service) type:

ntdsutil:activate instance NTDS
IFM:Create Sysvol full

This will be a good backup if a domain controller needs to be set up and saves some bandwidth tot setup a RODC. When you have this folders IFM you do not need to synchronise all the data.

To check the integrity of the database and perform semantic database analysis do as follows: First just compact the database with:

ntdsutil:activate instance NTDS
File Maintanance:Compact to c:\

Defragmentation Status (% complete)

0 10 20 30 40 50 60 70 80 90 100

After a defrag is made and a copy placed in c:\ntds.dit we have to copy that file over to the actual location by typing:

copy "c:\ntds.dit" "C:\Windows\NTDS\ntds.dit"
del C:\Windows\NTDS\*.log

Windows 2008

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License