Rashmi Purbey

Rashmi Purbey

  • NA
  • 3
  • 1.4k

want to join to domain using specific Domain controller.

Jul 6 2015 6:35 AM
I developed a .net wondows application to add computer to domain.The Domain which I want to join computers have 10 Domain controllers(DC).
 
while adding computer to prestage area , I check the nearest DC and Add computer to that DC.but while joining to domain using 'JoinDomainOrWorkgroup '. I don't have option to pass DC . and this results the creation of one more computer object in some DC with same name... while replication either of one computer object get renamed(get appended with GUID)
 
How to avoid this problem.???