This form does not yet contain any fields.
    Login
    « I have an irrational dislike of the new "friendly"-sounding IVR systems. | Main | More for-do loop genius. »
    Monday
    Feb252008

    How cool is dnscmd?

    I didn't realize until today that you can use dnscmd to create application partitions - I'm sure that every other DS person on the planet already knew that, but I didn't.  And it's just so much friggin' easier than the ntdsutil syntax.

    First we create the application partition:

    dnscmd DC1 /createdirectorypartition CustomDNSPartition.shutuplaura.com

    This automatically adds DC1 as a replication partner of the CustomDNSPartition NC.  Next we add 2 more DCs to the custom partition:

    dnscmd DC2 /enlistdirectorypartition CustomDNSPartition.shutuplaura.com

    dnscmd DC3 /enlistdirectorypartition CustomDNSPartition.shutuplaura.com

    Then you trigger the KCC on all 3 servers to create NTDS connections for the new NC, and then run a repadmin /showrepl against each DC to confirm that it's replicating.

    All that's left is to change the replication scope of the zone in question over to the new NC you just created, and voila!

    Reader Comments

    There are no comments for this journal entry. To create a new comment, use the form below.

    PostPost a New Comment

    Enter your information below to add a new comment.

    My response is on my own website »
    Author Email (optional):
    Author URL (optional):
    Post:
     
    All HTML will be escaped. Hyperlinks will be created for URLs automatically.