718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

Microsoft Dynamics CRM uses the closest domain controller based on how your active directory topology is setup.  This process usually works great and is the preferred method of running CRM. There is zero downtime if one domain controller fails, as CRM will use another domain controller automatically.  However, there are cases when we need to temporarily tell CRM to only use a single domain controller, and in today’s blog, we will show you how to use PreferredDc to manually control which domain controller to use. Let’s get started!


You may be wondering why we would need this. Here are a few reasons:

  • AD sites and services in dns are messed up.
  • A domain controller is malfunctioning, but not down.
  • A domain controller is up, but extremely slow.
  • The AD environment has replication issues.

To force CRM to only use a single active directory domain controller:

1. Create the key: HKLM\Software\Microsoft\MSCRM

2. Set your RegDword to: PreferredDc

3. Specify the full dns name of the domain controller.

That’s it! The above key works in Microsoft Dynamics CRM 3.0/4.0/2011/2013/2015/2016 and will most likely work in CRM 2017.

That’s all for the blog today! You can get tips and tricks like this one daily by subscribing to our blog, and check out our upcoming CRM events!

Happy CRM’ing!

Avatar for JoeCRM


Joe CRM is a CRM superhero who runs on pure Microsoft Dynamics CRM adrenaline. As the face of PowerObjects, Joe CRM’s mission is to reveal innovative ways to use Dynamics CRM and bring the application to more businesses and organizations around the world.