a_ccedil_atilde_o_do_Dom_iacute_nio">Reverting the domain preparation
Reversing the forest preparationRemoving the Machine accountReference
Overview
This article describes the steps to revert changes to the Active Directory Domain made by Lync Server Installation Wizard.
The fqdn of the domain that is configured is
home.intranet and the Lync Server Management Shell is installed on the domain controller.
At the end of the procedure all permissions lists and groups created in Active Directory will be removed, only the changes made in
Active Directory Schema are irreversible.
Installing the Management Shell
You must install the server management tool. To do this insert the Lync Server media on the server and run the installation wizard
The wizard installs first two components the C++ 2008 Redistributable and the OCSCore Component
Accept the license terms, and then finish the installation wizard.
Reverting the domain preparation
To remove the permissions lists for the groups run the cmdlet:
Disable-CsAdDomain [-Domain < Fqdn > AD] [-DomainController < Fqdn of domain controller >] [-Force] [-GlobalCatalog <Fqdn>]
The -Force parameter indicates that the cmdlet will run Perforce.
If this option is not present the cmdlet verifies the presence of some active Front End in the domain if the server role is found the cmdlet does not run.
If the option is this removal action is taken regardless of which server roles are active in the field.
The -Verbose option is used to generate an html file with the status of the cmdlet.
The log should show the task executed successfully.
Reversing the forest preparation
To remove Active Directory Domain groups are created by the installation wizard of Lync run the cmdlet:
Disable-CsAdForest [-Force] [-GroupDomain < FQDN of the domain in which universal groups were created >]
The parameter-Forceindicates that the cmdlet will run Perforce.
If this option is not present the cmdlet verifies the presence of some active Front End in the domain if the server role is found the cmdlet does not run.
If the option is this removal action is taken regardless of which server roles are active in the field.
The option-Verboseis used to generate an html file with the status of the cmdlet.
The log should show the task executed successfully.
Removing the Machine account
To finish removing Lync Server you must remove the machine account from Active Directory.
Access the Active Directory management console, locate the Remove Server account.
With this procedure all Lync configuration are removed, except for the change in the Schema that are irreversible.
Reference
http://technet.microsoft.com/en-us/library/gg398607.aspx
This article was originally written by:
Fernando Lugão
Veltem
blog: http://flugaoveltem.blogspot.com
twitter: @ flugaoveltem