您是否遇到“无法联系域的 Active Directory 域控制器(An Active Directory Domain Controller for the domain could not be contacted)”错误(’ error)?大多数用户在想将另一个Windows 工作站(Windows Workstation)添加到特定域时都会遇到此问题。当您想将另一个Windows 工作站(Windows workstation)添加到域时,基本上会出现此问题。如果我们分析它的原因,我们可以得出结论,这个错误背后有两个主要原因——DNS错误配置和DNS故障(DNS misconfiguration and DNS malfunctioning)。我们能解决这个问题吗?是的,有一些方法可以修复此错误并将另一个Windows 工作站(Windows workstations)添加到域中。
要添加另一个Windows 工作站(Windows Workstations),您需要按照以下步骤操作:
1.右键单击此 PC(Right-click on This PC)并选择属性( Properties)以打开系统属性。 ( System Properties. )
2. 系统属性窗口将打开。单击(Click)计算机名称、域和工作组设置( computer name, domain and workgroup settings)下右上角的更改设置(Change Settings)。
3.会弹出新的系统属性。(New system)点击(Click)更改(Change)按钮,如下图:
4. 单击域选项,然后添加要连接的域名,然后单击(Add the domain name)确定( OK)。单击确定后,您将看到此错误:
“无法联系到域“123xyz.com”的 Active Directory 域控制器 (AD DC)”。(“An Active Directory Domain Controller (AD DC) for the domain “123xyz.com” could not be contacted”.)
在本节中,我们将详细讨论导致此错误的因素:
-
DNS misconfiguration:此错误的主要原因是DNS misconfiguration。但是,好消息是它可以很容易地重新配置,以便您可以修复此错误。
-
DNS 服务:(DNS services:)此错误的另一个主要原因可能是DNS服务出现故障。这个问题有解决办法,重启服务即可。
修复 Active Directory 域控制器无法(Fix Active Directory Domain Controller Could)联系错误(Error)
如何修复此错误?(How to fix this error?)
现在我们将讨论修复此错误的各种方法和相关步骤。我们了解了这个错误的含义以及它是如何发生的。现在我们将了解如何修复此错误。
方法 1:添加新的 DNS 配置(Method 1: Add New DNS Configuration)
我们注意到这个错误的主要因素是DNS 配置(DNS configuration),因此如果我们添加新的DNS,这可能会解决我们的问题。为此,您需要首先登录到您要通过它添加另一个工作站的系统。此后,您需要相应地执行以下步骤:
1. 在开始菜单搜索(Start Menu Search) 栏中输入并搜索(bar type and search)控制面板(control panel),然后从搜索结果中单击控制面板。(Control Panel)
2. 导航到网络和 Internet(Network & Internet),然后单击网络和共享中心(Network and Sharing Center)打开。
3. 单击(Click on the Network)您正在使用的网络“WiFi 或以太网”。
4.将弹出状态属性,单击(Status Properties)属性(Properties)选项。
5. 从列表中选择 Internet Protocol Version 4 (TCP/IPv4),然后单击属性。(Properties.)
6. 在Internet 协议版本 4(Internet Protocol Version 4) ( TCP/IPv4 )属性(Properties)窗口中单击高级(Advanced)按钮。
7. 切换到DNS选项卡并在服务器地址框中键入(server address box)域( IP address of your domain)控制器的 IP 地址,如下所示。单击添加(Add),然后点击确定(OK)按钮。
8. 关闭所有窗口并重新启动系统。
现在再次尝试添加另一个Windows Workstation,它可能会工作。
另请阅读:修复 Windows(Also Read:) 计算机(Computer)上未找到(Found)或丢失的DLL(Fix DLL)
方法二:重启DNS服务(Method 2: Restart DNS Service)
如果上述方法(method didn)无法解决Active Directory 域控制器无法(Active Directory Domain Controller Could)联系错误,那么它可以
如果上述方法没有修复错误,则错误的原因可能不是DNS misconfiguration。另一个问题可能是DNS 服务(DNS service)的故障。已经注意到,由于DNS 服务(DNS service)在您的系统上无法正常运行,一些用户会遇到此错误。同样(Again),我们也有解决这个问题的方法。系统地按照给定的步骤通过重新启动DNS 服务(DNS service)来修复错误:
1. 按Windows Key + R打开运行(Run),然后键入“ services.msc ”并按 Enter。
2. 将打开一个服务(Services) 窗口(Window),找到DNS 客户端服务。(DNS Client service. )右键单击(Right-click )DNS 客户端(on DNS Client)并选择重新启动。(Restart.)
注意:(Note:)如果您发现没有重新启动选项(restart option)并且无法通过此方法重新启动它,您无需担心。您只需要在系统上打开提升的命令提示符(Command Prompt)即可。
3.键入(Type)以下命令并按Enter:
网络停止 dnscache(net stop dnscache)
5. 要重新启动它,请键入:
网络启动 dnscache(net start dnscache)
这样您就可以重新启动您的DNS 服务(DNS service)。完成这些步骤后,请尝试再次加入域。
另请阅读:(Also Read:) WiFi 没有(WiFi doesn)有效的IP 配置(IP configuration)错误?10种方法(Ways)来解决它!
方法 3:使用 Windows 设置连接(Method 3: Connect Using Windows Settings)
如果您仍然难以连接域,请不要担心(t worry),因为我们可以连接您想要的域并使用Windows 设置应用程序(Windows Settings app)添加您的工作站。通常,用户使用系统(System)属性将他们的工作站连接到域。不过,您可以按照以下步骤连接到域:
1. 按Windows Key + I打开设置(Setting),然后单击帐户(Accounts )选项。
2. 单击左侧面板中的“访问工作或学校”选项卡。(Access work or school)点击连接(Connect)选项。
3.设置窗口(Setup window)将打开,单击底部的“将此设备加入本地 Active Directory 域”链接。(Join this device to a local Active Directory Domain’)
4. 键入带有.local 名称 (xxx.local)(.local name (xxx.local))的域名并保存此设置。
5. 提示时输入管理员密码(admin password),然后重新启动系统。
另请阅读:(Also Read:)如何在 Windows 10 上设置 VPN
希望上述方法可以帮助您修复 Active Directory 域控制器无法联系错误( fix Active Directory Domain Controller Could Not Be Contacted error)。但是,如果您对本教程仍有疑问,请随时在评论部分(comment section)提出。
Fix Active Directory Domain Controller Could Not Be Contacted
Did you encounter the ‘An Active Directory Domain Controller for the domain could not be contacted’ error? Most of the users experience this problem while they want to add another Windows Workstation to a particular domain. This problem basically occurs when you want to add another Windows workstation to a domain. If we analyze its causes, we can conclude that there are two major reasons behind this error- DNS misconfiguration and DNS malfunctioning. Can we get this problem solved? Yes, there are ways to get this error fixed and add another Windows workstations to a domain.
To add another Windows Workstations, you need to follow the below-mentioned steps:
1. Right-click on This PC and select Properties to open System Properties.
2. A system properties window will open up. Click on Change Settings in the right corner under computer name, domain and workgroup settings.
3. New system properties will pop up. Click on Change button as shown below:
4. Click on the domain option then Add the domain name to connect and click OK. Once you will click OK, you will see this error:
“An Active Directory Domain Controller (AD DC) for the domain “123xyz.com” could not be contacted”.
Here in this section, we will discuss the factors of this error in detail:
-
DNS misconfiguration: The primary cause of this error is DNS misconfiguration. However, the good news is that it can be easily re-configured so that you can get this error fixed.
-
DNS services: Another major cause of this error could be malfunctioned DNS services. There is a solution to this problem, just restart the services.
Fix Active Directory Domain Controller Could Not Be Contacted Error
How to fix this error?
Now we will discuss various methods and associated steps to fix this error. We got to know what this error means and how it occurs. Now we will get to know how to fix this error.
Method 1: Add New DNS Configuration
As we noticed the major factor of this error is DNS configuration, therefore if we add new DNS, this might solve our problem. To do this, you need to first log on to your system through which you want to add another workstation. Thereafter, you need to follow the below-mentioned steps accordingly:
1. In the Start Menu Search bar type and search for control panel then click on Control Panel from the search result.
2. Navigate to the Network & Internet then click on Network and Sharing Center to open.
3. Click on the Network you are using “WiFi or Ethernet”.
4. A Status Properties will pop-up, Click on the Properties option.
5. Choose Internet Protocol Version 4 (TCP/IPv4) from the list and click on Properties.
6. In the Internet Protocol Version 4 (TCP/IPv4) Properties window click on the Advanced button.
7. Switch to the DNS tab and type in the IP address of your domain controller in the server address box as shown below. Click on Add then tap on the OK button.
8. Close all the windows and restart your system.
Now again try to add another Windows Workstation, it may work.
Also Read: Fix DLL Not Found or Missing on your Windows Computer
Method 2: Restart DNS Service
If the above method didn’t work in order to resolve the Active Directory Domain Controller Could Not Be Contacted error, then it could
If the above method did not fix the error, it could be possible that the cause of the error was not DNS misconfiguration. Another problem could be the malfunctioning of DNS service. It has been noted that some users experience this error due to DNS service not functioning properly on your system. Again, we have the solution to this problem as well. Follow the given steps systematically to fix the error by restarting DNS service:
1. Press Windows Key + R to open Run then type ‘services.msc’ and press Enter.
2. A Services Window will open, locate DNS Client service. Right-click on DNS Client and select Restart.
Note: If you find no restart option and unable to restart it from this method, you do not need to worry. You just need to open an elevated Command Prompt on your system.
3. Type the following command and press Enter:
net stop dnscache
5. To start it again, type:
net start dnscache
This way you can restart your DNS service. Once you are done with the steps, try joining the domain again.
Also Read: WiFi doesn’t have a valid IP configuration error? 10 Ways to Fix it!
Method 3: Connect Using Windows Settings
If you are still struggling to connect the domain then don’t worry as we can connect the domain you want and add your workstation using Windows Settings app. Usually, users connect their workstations to a domain using System properties. Nevertheless, you can connect to the domain by following the below-mentioned steps:
1. Press Windows Key + I to open Settings, then click on Accounts option.
2. Click on the ‘Access work or school’ tab in the left panel. Tap on the Connect option.
3. A Setup window will open, click on ‘Join this device to a local Active Directory Domain’ link at the bottom.
4. Type the domain name with the .local name (xxx.local) and save this setting.
5. Enter the admin password when prompt then reboot the system.
Also Read: How to set up a VPN on Windows 10
Hopefully, the above-mentioned methods will help you fix Active Directory Domain Controller Could Not Be Contacted error. But if you still have queries regarding this tutorial then feel free to ask them in the comment section.