PrepAway - Latest Free Exam Questions & Answers

Which four actionsshould you perform in sequence?

You need to perform an offline defragmentation of an Active Directory database.
Which four actionsshould you perform in sequence?
(To answer, move the appropriate four actions from the list of actions to the answer area and arrange them in
the correct order.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

Reference:
http://technet.microsoft.com/en-us/library/cc794920.aspx
Compact the database file to a local directory or remote shared folder, as follows:
1. Open a Command Prompt as an administrator.
2. At the command prompt, type the following command, and then press ENTER: net stop ntds
3. Type Y to agree to stop additional services, and then press ENTER.
4. At the command prompt, type ntdsutil, and then press ENTER.
5. At the ntdsutil prompt, type activate instance ntds, and then press ENTER.
6. At the ntdsutil prompt, type files, and then press ENTER.
7. If you are compacting the database to a local drive, at the file maintenance: prompt, type compact
to <drive>:\ <LocalDirectoryPath>(where <drive>:\ <LocalDirectoryPath> is the path to a
location on the local computer) and then press ENTER.
8. If defragmentation completes successfully, type quit, and then press ENTER to quit the file maintenance:
prompt. Type quitagain, and then press ENTER to quit Ntdsutil.exe.
(…)
Note
You should make a copy of the existing Ntds.dit file if at all possible, even if you have to store that copy on a
secured network drive. If the compaction of the database does not work properly, you can then easily restore
the database by copying it back to the original location. Do not delete the copy of the Ntds.dit file until you have
at least verified that the domain controller startsproperly. If space allows, you can rename the original Ntds.dit
file to preserve it. Avoid overwriting the originalNtds.dit file.
9. Manually copy the compacted database file to the original location, as follows: copy
“<temporaryDrive>:\ntds.dit” “<originalDrive>:\<pathToOriginalDatabaseFile>
\ntds.dit”
Ntdsutil provides the correct paths to the temporary and original locations of the Ntds.dit file.
(…)
10. Restart AD DS. At the command prompt, type the following command, and then press ENTER: net
start ntds


Leave a Reply