Install-AddsDomainController cmdlet returns parameter set error for RODC

Article translations Article translations
Article ID: 2737535 - View products that this article applies to.
Expand all | Collapse all

Symptoms

You use the Windows Server 2012 AddsDeployment Windows PowerShell module to create a new read-only domain controller (RODC). To do this, you use a pre-created (also known as "unoccupied" or "staged") RODC computer account. In this case, you receive an error message that resembles the following: 
Install-ADDSDomainController : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ install-addsdomaincontroller -DomainName corp.contoso.com -Credential (get-crede ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Install-ADDSDomainController], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.DirectoryServices.Deployment.PowerShell.Commands.Install
ADDSDomainControllerCommand

Cause

This issue occurs when you specify arguments that are already populated on the pre-created RODC account to the install-addsdomaincontroller configuration.

Resolution

When you use the install-addsdomaincontroller -useexistingaccount commands with pre-created RODC accounts, do not specify the following arguments:
-readonlyreplica
-installdns
-donotconfigureglobalcatalog
-sitename

More information

This behavior is by design.

Properties

Article ID: 2737535 - Last Review: September 7, 2012 - Revision: 8.0
Applies to
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Standard
Keywords: 
KB2737535

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com