You are currently offline, waiting for your internet to reconnect

Install-AddsDomainController cmdlet returns parameter set error for RODC

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: 09/07/2012 22:59:00 - Revision: 8.0

Windows Server 2012 Datacenter, Windows Server 2012 Standard

  • KB2737535
Feedback