Active Directory Cookbook (2024)

Solution

Using a graphical user interface

  1. Open the Active Directory Sites and Services snap-in.

  2. Browse to the NTDS Settingobject for the domain controller you want to replicate to.

  3. In the right pane, right-click on the connection object to the domaincontroller you want to replicate from and select Replicate Now.

Using a command-line interface

The following command will perform a replication sync ofthe naming context specified by<NamingContextDN> from<DC2Name> to<DC1Name>:

> repadmin /replicate <DC1Name> <DC2Name> <NamingContextDN>

The Windows 2000 version of repadmin has adifferent syntax to accomplish the same thing. Here is the equivalentsyntax:

> repadmin /sync <NamingContextDN> <DC1Name> <DC2GUID>

Using VBScript

' This code initiates a replication event between two DCs' for a naming context' ------ SCRIPT CONFIGURATION ------strDC1Name = "<DC1Name>" ' e.g. dc1 strDC2Name = "<DC2Name>" ' e.g. dc2strNamingContextDN = "<NamingContextDN>" ' e.g. dc=rallencorp,dc=com' ------ END CONFIGURATION ---------set objIadsTools = CreateObject("IADsTools.DCFunctions")intRes = objIadsTools.ReplicaSync(Cstr(strDC1Name),_ Cstr(strNamingContextDN),_ Cstr(strDC2Name), 0, 0)if intRes = -1 then Wscript.Echo "Error: " & objIadsTools.LastErrorTextelse WScript.Echo "Replication intitiated from " & strDC2Name & _ " to " & strDC1Nameend if

Discussion

Each solution shows how ...

Get Active Directory Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Active Directory Cookbook (2024)
Top Articles
Indiana University-Bloomington (IU) Supplemental Essay Guide: 2021-2022
States with the Highest and Lowest SAT Scores in 2023
Ups Customer Center Locations
Section 4Rs Dodger Stadium
Parke County Chatter
PontiacMadeDDG family: mother, father and siblings
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
Encore Atlanta Cheer Competition
How to Type German letters ä, ö, ü and the ß on your Keyboard
Palace Pizza Joplin
Best Pawn Shops Near Me
Sitcoms Online Message Board
fltimes.com | Finger Lakes Times
Pro Groom Prices – The Pet Centre
No Strings Attached 123Movies
Craigslist Apartments In Philly
Louisiana Sportsman Classifieds Guns
Lazarillo De Tormes Summary and Study Guide | SuperSummary
Invert Clipping Mask Illustrator
CANNABIS ONLINE DISPENSARY Promo Code — $100 Off 2024
Schedule 360 Albertsons
China’s UberEats - Meituan Dianping, Abandons Bike Sharing And Ride Hailing - Digital Crew
97226 Zip Code
Walgreens Tanque Verde And Catalina Hwy
Phoebus uses last-second touchdown to stun Salem for Class 4 football title
Yisd Home Access Center
Highmark Wholecare Otc Store
Obituaries Milwaukee Journal Sentinel
Inkwell, pen rests and nib boxes made of pewter, glass and porcelain.
Greensboro sit-in (1960) | History, Summary, Impact, & Facts
Finding Safety Data Sheets
13301 South Orange Blossom Trail
Pulitzer And Tony Winning Play About A Mathematical Genius Crossword
Bridgestone Tire Dealer Near Me
Blush Bootcamp Olathe
Moonrise Time Tonight Near Me
Colin Donnell Lpsg
Moses Lake Rv Show
Netherforged Lavaproof Boots
Gold Nugget at the Golden Nugget
Magicseaweed Capitola
Why Gas Prices Are So High (Published 2022)
The Minneapolis Journal from Minneapolis, Minnesota
Culver's of Whitewater, WI - W Main St
Skyward Marshfield
Mississippi weather man flees studio during tornado - video
Actor and beloved baritone James Earl Jones dies at 93
Ups Authorized Shipping Provider Price Photos
Upcoming Live Online Auctions - Online Hunting Auctions
Freightliner Cascadia Clutch Replacement Cost
Unity Webgl Extreme Race
Cbs Scores Mlb
Latest Posts
Article information

Author: Golda Nolan II

Last Updated:

Views: 5692

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.