What should you do?

An Active Directory databaseis installed on the C volumeof a domain controller.
Youneed to move the Active Directory database to a new volume.
What should you do?

An Active Directory databaseis installed on the C volumeof a domain controller.
Youneed to move the Active Directory database to a new volume.
What should you do?

A.
Copy the ntds.dit file to the new volume by usingthe ROBOCOPY command.

B.
Move the ntds.dit file to the new volume by usingWindows Explorer.

C.
Move the ntds.dit file to the new volume by running the Move-item command in Microsoft Windows
PowerShell.

D.
Move the ntds.dit file to the new volume by usingthe Files option in the Ntdsutil utility.

Explanation:
Answer.Move the ntds.dit file to the new volume by usingthe Files option in the Ntdsutil utility.
http://technet.microsoft.com/en-us/library/cc816720%28v=ws.10%29.aspx
Move the Directory Database and Log Files to a Local Drive
You can use this procedure to move Active Directorydatabase and log files to a local drive.
When you move the files to a folder on the local domain controller, you can move them permanently or
temporarily. Move the files to a temporary destination if you need to reformat the original location, or move the
files to a permanent location if you have additional disk space. If you reformat the original drive, use the same
procedure to move the files back after the reformatis complete. Ntdsutil.exe updates the registry when you
move files locally. Even if you are moving the files only temporarily, use Ntdsutil.exe so that the registry is
always current.
On a domain controller that is running Windows Server 2008, you do not have to restart the domain controller in
Directory Services Restore Mode (DSRM) to move database files. You can stop the Active Directory Domain
Services (AD DS) service and then restart the service after you move the files to their permanent location.
To move the directory database and log files to a local drive:
..
7. At the ntdsutil prompt, type files, and then press ENTER.
8. To move the database file, at the file maintenance: prompt, use the following commands:
….
Further information:
http://servergeeks.wordpress.com/2013/01/01/moving-active-directory-database-and-logs/
Moving Active Directory Database and Logs
Step 1
Start the server in Directory Services Restore Mode
Windows Server 2003/2008 Directory Service opens its files in exclusive mode. This means that the files
cannot be managed while the server is operating as a domain controller. To perform any files movement
related activities using ntdsutil, we need to startthe server in Directory Services Restore Mode.
To start the server in Directory Services Restore mode, follow these steps:
Restart the computer.
After the BIOS information is displayed, press F8.
Use the DOWN ARROW to select Directory ServicesRestore Mode, and then press ENTER.

Log on with your local administrative account and password. (Not Domain Administrative account)

Note: using service control (SC.exe) you can verifyquickly ntds services are running or stopped. In command
prompt type SC query ntds

Step 2
How to Move Active Directory Database and Logs
You can move the Ntds.dit data file to a new folder. If you do so, the registry is updated so that Directory
Service uses the new location when you restart the server.
To move the data file to another folder, follow these steps:
Click Start, click Run, type ntdsutil in the Open box, and then press ENTER.

At the Ntdsutil command prompt, type activate instance ntds, and then press ENTER.

At the Ntdsutil command prompt, type files, and then press ENTER.

At the file maintenance command prompt, type move DB to <new location> (where new location is an
existing folder that you have created for this purpose) and then press ENTER.
In this case, the new location for database is C:\AD\Database

Now to move logs , at the file maintenance command prompt, type move logs to <new location> (where new
location is an existing folder that you have created for this purpose) and then press ENTER. In our case, the
new location for database is C:\AD\Logs

To quit file maintenance, type quit. Again to Ntdsutil, type quit to close the prompt
Restart the computer. AD database and Logs are moved successfully to new location.



Leave a Reply 0

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