使用install-addsdomain在林中创build第二个域

我有一个域ludwig.example.com,并试图使用install-addsdomain创build一个域amadeus.example.com。

我正在运行这个命令:

install-addsdomain -newdomainname amadeus.example.com -parentdomainname ludwig.example.com -domaintype treedomain 

我作为一个本地pipe理员运行这个,有点惊讶我没有得到任何关于ludwig域拒绝访问的错误我以为命令将不得不联系。

事实上,这个命令只是告诉我,有几个DNS相关的警告,永远不会终止。 服务器保持在任何域之外。

我究竟做错了什么?

您希望使用-Credential (Get-Credential CORP\EnterpriseAdmin)-newdomainname amadeus.example.com -parentdomainname ludwig.example.com -domaintype treedomain之前提供父域企业pipe理员凭据-newdomainname amadeus.example.com -parentdomainname ludwig.example.com -domaintype treedomain

以下是Microsoft的完整示例:

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

资源