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

AD DS configuration operations fail

· 52CE 我爱测

Describes an issue in which you receive a domain controller configuration error in Windows Server 2012.

This article provides help to an error (The service cannot be started) that occurs when Active Directory Domain Services (AD DS) configuration fails.

Original KB number:   2737880

Symptoms

In Windows Server 2012, one of the following AD DS configuration operations fails:

  • Configuring a new domain controller by using Server Manager or the AddsDeployment Windows PowerShell module
  • Removing AD DS from an existing domain controller by using Server Manager or the AddsDeployment Windows PowerShell module
  • Cloning a virtualized domain controller by using dccloneconfig.xml

When the configuration fails, you receive the following error message:

The service cannot be started, either because it is disabled or it has no enabled devices associated with it.

Additionally, you see that the Dcpromoui.log file contains the following line of text:

Enter GetErrorMessage 80070422

Cause

This issue occurs because an administrator configured the "startup type" for the DS Role Server service (DsRoleSvc) to disabled. You can confirm this by using the Services.msc snap-in to examine the Startup type list on the General tab.

By default, the DS Role Server service is installed during AD DS role installation and is set to the Manual startup type.

Resolution

To resolve this issue, make sure that the DS Role Server service is not disabled. To do this, use Services.msc or Sc.exe to set the startup type to Manual and to let the DS Role Server operations start and stop the service on demand. For example, run the following command from an Administrator elevated command prompt:

sc.exe config dsrolesvc start= demand

Note: The space after the "start=" argument is intentional.

More information

This behavior is by design.

The DS Role Server service is new to Windows Server 2012 and is used to install or remove Active Directory or to clone domain controllers.

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)

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

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