大网数据广告活动
域与目录服务

Fail to move Windows Server to a domain

· 52CE 我爱测

Provides a solution to an issue that you receive the error message (The wizard cannot gain access to the list of domains in the forest) when you use Dcpromo.exe to move a Windows Server into an existing domain.

This article helps fix the error (The wizard cannot gain access to the list of domains in the forest) that occurs when you use Dcpromo.exe to move a Windows Server into an existing domain.

Original KB number:   259374

Symptoms

When you attempt to use Dcpromo.exe to move a Windows 2000-based, or a Windows Server 2003-based server into an existing domain, the following error message may be displayed:

Active Directory Installation Wizard

The wizard cannot gain access to the list of domains in the forest. The error is:

The specified domain either does not exist or could not be contacted. If you are using Windows Server 2008, the error message may resemble the following: Active Directory Installation Wizard

The wizard cannot access the list of domains in the forest. The error is:

The network path was not found.

Cause

This problem can occur if the server that is running the Domain Name System (DNS) service has not registered an "A" record for itself in DNS.

The SRV records for the domain controllers must be in the DNS database. If the "A" record for the DNS server is missing, the process does not succeed.

Resolution

You can add the "A" record to DNS by issuing the following command at the DNS server:

ipconfig /registerdns After verifying that an "A" record is present for the DNS server, you may receive the following error message when you attempt to continue the Dcpromo.exe process:

Active Directory Installation Wizard

The wizard cannot gain access to the list of domain in the forest. The error is:

The RPC server is unavailable.

To resolve this problem, type the following command on the server on which you try to use Dcpromo.exe. This command clears the DNS resolver cache on the computer that is running Dcpromo.exe so that it re-creates the query after the "A" record for the DNS server is registered in the DNS database.ipconfig /flushdns

This problem can also occur during the Dcpromo.exe process if the existing domain controller that is authenticating this process does not have file and printer sharing enabled on its network adapter. To resolve this issue, enable file and printer sharing on the existing domain controller until the Dcpromo.exe process is complete.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。