REDIRECT Active Directory database

Source: Internet
Author: User

REDIRECT Active Directory database

The default location for the Active Directory database is the "c:\windows\ntds" directory, which you can redirect to another disk if you plan to allocate insufficient disk space during the initial deployment of AD DS, or if you are concerned about Active Directory database security. This system problem and later restore, are more convenient than the C disk.

Most people give 2008&2012 system to allocate C disk space will be above 80-100g, in this case, do not redirect partition also become, as long as a good backup can. You can do this yourself, not everyone will do so, the following pictures are I or friends of the company to see reluctant to give a map of the C space! If you really encounter figure 1 this situation, want to do their own steadfast, the role is turned out, kill this, reinstall it, redirected directory has not saved the machine.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/4B/wKiom1bPJniB4FmsAAGRhkdNSMA009.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiom1bpjnib4fmsaagrhkdnsma009.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/4A/wKioL1bPJumh-DEbAAEJNNX66cM800.jpg "style=" float: none; "title=" 10.jpg "alt=" Wkiol1bpjumh-debaaejnnx66cm800.jpg "/>

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7C/4A/wKioL1bPJurxq2J-AAFfdH3hVGM922.jpg "style=" float: none; "title=" 11.jpg "alt=" Wkiol1bpjurxq2j-aaffdh3hvgm922.jpg "/>

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/7C/4A/wKioL1bPJuyBLIY0AAH3IyicRHA258.jpg "style=" float: none; "title=" 12.jpg "alt=" Wkiol1bpjuybliy0aah3iyicrha258.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/7C/4B/wKiom1bPJnyjNIcrAAEoN-YfiZo771.jpg "style=" float: none; "title=" 13.jpg "alt=" Wkiom1bpjnyjnicraaeon-yfizo771.jpg "/>

Let's get down to the chase

1.1 redirect Active Directory database to stop the AD DS Service, log on to a read-write domain controller by using a domain administrator, enter the command:net stop NTDS

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/7C/49/wKioL1bPI17T_d65AAIjzBWneI0651.jpg "title=" 1.jpg " alt= "Wkiol1bpi17t_d65aaijzbwnei0651.jpg"/>

1.2 input ntdsutil, enter tool

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M00/7C/4B/wKiom1bPIvqCVDTtAAA2Bbt_q28307.jpg "title=" 2.jpg " alt= "Wkiom1bpivqcvdttaaa2bbt_q28307.jpg"/>

1.3 activating the NTDS instance:activateinstance NTDs. Input? View Help

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7C/49/wKioL1bPI3ShfuvOAADL12wqYh4143.jpg "title=" 3.jpg " Width= "730" height= "Wuyi" border= "0" hspace= "0" vspace= "0" style= "width:730px;height:51px;" alt= " Wkiol1bpi3shfuvoaadl12wqyh4143.jpg "/>

1.4 Enter files and switch to file maintenance mode. Input? View Help

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/7C/4B/wKiom1bPI1_gxCAhAAKXUTq4umo539.jpg "title=" 4.jpg " alt= "Wkiom1bpi1_gxcahaakxutq4umo539.jpg"/>

1.5 at the file maintenace command prompt, use movedb to D:\NTDS(the command is case-insensitive) to move the database under "D:\ntds"

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/4B/wKiom1bPI2zQ4bO3AAMNdua-zbU822.jpg "title=" 5.jpg " alt= "Wkiom1bpi2zq4bo3aamndua-zbu822.jpg"/>

1.6 at the file maintenace command prompt, move the log file to "D:\ntds" using Move Logs to D:\NTDS

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/7C/49/wKioL1bPI-fwVEt_AAJQHfax4DE194.jpg "title=" 6.jpg " alt= "Wkiol1bpi-fwvet_aajqhfax4de194.jpg"/>

1.7 input two times quit quit ntdsutil tool, start AD DS domain service, enter command:Net Startntds

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7C/49/wKioL1bPI_6z4Q_HAACY6Net1ZI081.jpg "title=" 7.jpg " alt= "Wkiol1bpi_6z4q_haacy6net1zi081.jpg"/>

1.8 moved from "C:\Windows\NTDS" to "D:\NTDS"

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/7C/49/wKioL1bPJBKzHaM4AAMcgzqBqWE899.jpg "title=" 8.jpg " Width= "730" height= "445" border= "0" hspace= "0" vspace= "0" style= "width:730px;height:445px;" alt= " Wkiol1bpjbkzham4aamcgzqbqwe899.jpg "/>


This article is from the "Zhao Dongwei Learning record" blog, so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1745133

REDIRECT Active Directory database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.