Notice: Due to size constraints and loading performance considerations, scripts referenced in blog posts are not attached directly. To request access, please complete the following form: Script Request Form Note: A Google account is required to access the form.
Disclaimer: I do not accept responsibility for any issues arising from scripts being run without adequate understanding. It is the user's responsibility to review and assess any code before execution. More information

Move ADDS Databases

Step 1: Prepping Active Directory to be moved
  1. Log in to the primary domain controller as domain or enterprise administrator
     
  2. In Server Manager, navigate to Tools > Services
     
    Move_Active_Directory_001
     
  3. Once mmc loads, right click on Active Directory Domain Services and click stop
     
    Move_Active_Directory_002
     
  4. When asked if it’s okay to stop associated services, click Yes to continue.
     
    Move_Active_Directory_003

Step 2: Moving the Active Directory database
  1. Right click on start button and click on Command Prompt (Admin)
     
    Move_Active_Directory_004
     
  2. Once command prompt is visible, type ntdsutil and press enter
     
    Move_Active_Directory_005
     
  3. Next type activate instance ntds and press enter
     
  4. Then type files and press enter
     
    Move_Active_Directory_006
     
  5. 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
     
    Move_Active_Directory_007
     
  6. Once the database files are successfully moved, type the following command to move the logs: move logs to E:\ADDB
     
    Move_Active_Directory_008

      
    Move_Active_Directory_009
     
  7. Once the move has successfully completed, Return to the initially used services.mmc and start Active Directory Domain Servicesstopped in Step 1
Previous Post Next Post

نموذج الاتصال