why adprep is used for?
ADPREP.exe is a command-line tool that extends the Active Directory schema, and updates permissions as necessary to prepare a forest and domain for a domain controller that runs the Windows Server 2008 operating system. Note: ADPREP was also available in Windows Server 2003 and Windows Server 2003 R2.