Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain and am trying to create a domain using install-addsdomain.

I am running this command:

install-addsdomain -newdomainname -parentdomainname -domaintype treedomain

I am running this as a local administrator and was a bit surprised I didn't get any errors regarding access denied on the ludwig domain I thought the command would have to contact.

In fact the command just tells me that there are a few DNS-related warnings and never terminates. The server remains outside any domains.

What am I doing wrong?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You want to use the -Credential (Get-Credential CORP\EnterpriseAdmin) to supply the parent domain enterprise administrator credentials before the -newdomainname -parentdomainname -domaintype treedomain

Here is the full example from Microsoft:

C:\PS>Install-ADDSDomain -Credential (Get-Credential CORP\EnterpriseAdmin1) -NewDomainName child -ParentDomainName -InstallDNS -CreateDNSDelegation -DomainMode Win2003 -ReplicationSourceDC -SiteName Houston -DatabasePath "D:\NTDS" -SYSVOLPath "D:\SYSVOL" -LogPath "E:\Logs" -NoRebootOnCompletion


share|improve this answer
I was wondering why the command ran away without wondering why it didn't have the credentials it needed. – Andrew J. Brehm Apr 9 '13 at 23:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.