Step 1: Prepping Active Directory to be moved
- Log in to the primary domain controller as domain or enterprise administrator
- In Server Manager, navigate to Tools > Services
- Once mmc loads, right click on Active Directory Domain Services and click stop
- When asked if it’s okay to stop associated services, click Yes to continue.
Step 2: Moving the Active Directory database
- Right click on start button and click on Command Prompt (Admin)
- Once command prompt is visible, type ntdsutil and press enter
- Next type activate instance ntds and press enter
- Then type files and press enter
- In files maintenance the command to move the db is required. As mentioned earlier, the need to move the database to E:\ADDB. Type the following command to enable the move: move db to E:\ADDB
Note: Remember to use quotations (“”) should the path contain a space
- Once the database files are successfully moved, type the following command to move the logs: move logs to E:\ADDB
- Once the move has successfully completed, Return to the initially used services.mmc and start Active Directory Domain Servicesstopped in Step 1