安装Lync 2013过程中遇到的第一个报错

安装Lync 2013, 首先要去做的就是prepare AD Forest. 在使用向导的时候会遇到报错如下:

Prepare Forest Active Directory setting exection failed on an unrecoverable error
Command execution failed: Value cannot be null.
Parameter name: InstanceToDelete

截图如下:

image

 

解决方法就是手动执行下面的命令:

Enable-CsAdForest -GroupDomain <AD Domain FQDN> -GroupDomainController <DC FQDN> -GobalCatalog <GC FQDN>

我的例子:

Enable-CsAdForest -GroupDomain midrange.mine -GroupDomainController dc1.midrange.mine -GobalCatalog dc1.midrange.mine

 

参考资料

==========================

Lync Server 2013 Forest Prep Issue - Task execution failed (Object reference not set to an instance of an object)

http://lyncuc.blogspot.com/2014/01/lync-server-2013-forest-prep-issue-task.html

原文地址:https://www.cnblogs.com/awpatp/p/4581101.html