Decommissioning OCS: Lessons Learned…

Matt Ellis
Mar 20, 2018 · 2 min read

Note: I wrote this back in November 2014, but I got rid of my Wordpress site and wanted to move it over to Medium. It was still getting some interest so was worth reposting.

I have recently spent some time decommissioning our legacy OCS 2007 R2 servers and pools from our Lync 2013 environment. I thought I’d put a few hints and tips together as a guide for others that have to do it. This basically covers the stuff I had to spend time figuring out. Hopefully it helps people not to have to spend time on it…

First off, I generally followed the procedures outlined on TechNet. The only problem I found with TechNet is that there are a few places where it either contradicts itself or isn’t quite as detailed as it needs to be.

General Guide

I used this link and a general guide to decommissioning the server roles. It’s not complete or entirely correct though so should be used as a starting point:

Deactivating Roles

When deactivating roles use the order stipulated here:

Failing to deactivate Conferencing Attendant

Depending on what you’ve read you may have already move the conference directories from OCS to Lync. If so, you’re going to have a problem when it comes to deactivating the Conference Attendant on your pool(s).

To get around this you need to temporarily move the conference directory back to OCS, deactivate it and then move it back again.

To do this, in the Lync Management Shell find the old OCS conference directory by running the folowing:

Get-CsConferenceDirectory | Select Id, ServiceId

You’re likely to see which one was the OCS conference directory as there will be more than one conference directory for your Lync pool you moved it to. The OCS one is likely to be the lower numbered ID.

To move it back run the following:

Get-CsConferenceDirectory -Identity [Number_Found_Above] | Move
CsConferenceDirectory -TargetPool [The_OCS_Pool_You_Want_To_Decom]

Now deactivate the Conferencing Attendant.

You can then move the Conference Directory back using the following command:

Get-CsConferenceDirectory -Identity [Number_Found_Above] | Move-CsConferenceDirectory -TargetPool [The_New_Lync_Pool]

Uninstalling Components

When uninstalling the various OCS components from Add or Remove Programs use the order stipulated here:

Error uninstalling OCS Web Components

When trying to uninstall the Web Components you may see the following error:

To fix this you just need to logon as the local Administrator account for the server and remove it. Simple.

Details can be found here:

Think that’s it for the moment. If I remember anything else I’ll add it.

365 UC

Stories from the world of UC by a bunch of UC professionals…

Matt Ellis

Written by

Unified Communications Architect, Pompey fan, burger eater, coffee drinker...

365 UC

365 UC

Stories from the world of UC by a bunch of UC professionals…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade