Topic Last Modified: 2013-06-19

Use the Disable-CsAdForest cmdlet to reverse the forest preparation step.

Caution:
If you run the Disable-CsAdForest cmdlet in an environment where you also have a previous version of Lync Server deployed, the global settings for the previous version will also be deleted.

To use cmdlets to reverse forest preparation

  1. Log on to a computer that is joined to a domain as a member of the Domain Admins group in the forest root domain.

  2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.

  3. Run:

    Copy Code
    Disable-CsAdForest [-Force] [-GroupDomain <FQDN of the domain in which universal groups were created>]
    

    For example:

    Copy Code
    Disable-CsAdForest -Force -GroupDomain contoso.net
    

    The Force parameter specifies whether to force running the task. If this parameter is not present, the command will not run if even one domain in the forest is still prepared for Lync Server 2013. If the Force parameter is specified, the action will continue regardless of the state of other domains in the forest.

    If you do not specify the GroupDomain parameter, the default value is the local domain.

See Also