Topic Last Modified: 2012-10-29
You can use Setup or Lync Server Management Shell cmdlets to prepare the forest. The cmdlet that prepares the forest is Enable-CsAdForest.
After you prepare the forest, you must verify that global settings have been replicated before running domain preparation.
To use Setup to prepare the forest
-
Log on to a computer that is joined to a domain as a member of the Enterprise Admins group for the forest root domain.
-
From the Lync Server 2013 installation folder or media, run Setup.exe to start the Deployment Wizard.
-
Click Prepare Active Directory, and then wait for the deployment state to be determined.
-
At Step 3: Prepare Current Forest, click Run.
-
On the Prepare Forest page, click Next.
Note: Forest Preparation allows you to choose where to place the Universal Groups for Lync Server 2013. Choose a location that is consistent with the requirements of your organization. -
On the Executing Commands page, look for Task status: Completed, and then click View Log.
-
Under the Action column, expand Forest Prep, look for a <Success> Execution Result at the end of each task to verify that forest preparation completed successfully, close the log, and then click Finish.
-
Wait for Active Directory replication to complete, or force replication to all domain controllers listed in the Active Directory Sites and Services snap-in for the forest root domain controller, before running domain preparation. Force replication between the domain controllers in all Active Directory sites to cause replication within the sites to occur within minutes.
To use cmdlets to prepare the forest
-
Log on to a computer that is joined to a domain as a member of the Domain Admins group in the forest root domain.
-
Install Lync Server Core components as follows:
-
From the Lync Server 2013 installation folder or media, run Setup.exe to start the Lync Server Deployment Wizard.
-
If you are prompted to install the Microsoft Visual C++ Redistributable, click Yes.
-
The Lync Server 2013 Setup dialog box prompts you for a location to install the Lync Server files. Choose the default location or Browse to a location of your choice, and then click Install.
-
On the License Agreement page, check I accept the terms in the license agreement, and then click OK. The installer installs the Lync Server 2013 Core Components.
-
-
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
-
Run:
Copy Code Enable-CsAdForest [-GroupDomain <FQDN of the domain in which to create the universal groups>]
For example:
Copy Code Enable-CsAdForest -GroupDomain domain1.contoso.com
If you do not specify the GroupDomain parameter, the default value is the local domain. If universal groups were created previously in a domain that is not the default domain, you must specify the GroupDomain parameter explicitly.
-
Wait for Active Directory replication to complete, or force replication to all domain controllers listed in the Active Directory Sites and Services snap-in for the forest root domain controller, before running domain preparation.
-
Verify that forest preparation was successful. Run:
Copy Code Get-CsAdForest
This cmdlet returns a value of LC_FORESTSETTINGS_STATE_READY if forest preparation was successful.