Business critical applications such as Exchange and Lync are very tightly integrated with Active Directory. Many preparation steps are required to introduce these application or even when you’re migrating to the newer version. Most of the times professionals see, few changes like installation or removal are required frequently for small branch site deployments. Let’s start with removal process of Lync server Standard Edition deployment from existing Lync infrastructure. There are few pre-requisites for uninstallation of Lync server required which should be performed before uninstallation process.
Below is the step by step process for Lync Standard Edition Server uninstallation:
1. Move/Disable/Remove all Lync users from existing Lync Standard Edition Server.
2. Delete/Move Conference directories.
Open Lync Management Shell
Run Get-CsConferenceDirectory and note down the Identity which are associated with Lync SE pool.
To remove run Remove-CsConferenceDirectory –Identity <Identity Number>
3. Remove other components which are associated
-
Delete all Contact objects enabled for Lync Server Enterprise Voice features by using Lync Server Management Shell.
- If the Lync Server 2010 response groups have been migrated to a Lync Server 2013 deployment, do not remove the contact objects of the migrated response groups. If response groups have been migrated, skip the document “Remove Response Group Service Workflow Contact Objects” that is listed in the “Documentation” column. For more information, see http://technet.microsoft.com/en-us/library/jj204854.aspx.
- If the Lync Server 2010 response groups have been migrated to a Lync Server 2013 deployment, do not remove the contact objects of the migrated response groups. If response groups have been migrated, skip the document “Remove Response Group Service Workflow Contact Objects” that is listed in the “Documentation” column. For more information, see http://technet.microsoft.com/en-us/library/jj204854.aspx.
- Remove Enterprise Voice routes by using Lync Server Control Panel.
- Remove all Call Park orbits by using Lync Server Control Panel.
- Remove all tables for Enterprise Voice unassigned phone numbers.
- Back up the Location Information service database.
- Back up the custom music on hold file.
- Delete Enterprise Voice routes.
- Reassign the public switched telephone network (PSTN) gateway.
4. Cross verify, Lync Standard Edition server which you are going to uninstall is empty.
5. Open Lync Topology builder and delete the server from topology.
6. Delete the Lync site if there is no Lync server or other components are not associated with existing deployment.
7. Publish the topology.
8. Open Lync server 2013 deployment wizard and run “Install or Update Lync Server System”
9. Run “Setup or Remove Lync Server Components”.
10. Once components are uninstalled successfully then remove associated certificates.
11. Cross verify the uninstallation.
12. Open SQL server studio manager and remove all the databases from all three instances RTC, RTCLOCAL & LYNCLOCAL.
13. Uninstall SQL Server Express Edition from control panel.
14. Uninstall Lync Server components and other pre-requisites.
I hope you have enjoyed the uninstallation process. Please feel free to write you views or any observation which you find at the time of uninstallation process.