Removing old OCS 2007 R1 Servers that no longer exist

Another old email I dug out dated back in 5/22/2009:

We ran into an issue with removing old R1 servers that were taken offline and no longer racked after migrating to OCS R2. As it turns out, there’s no easy way to remove these references to the servers even if you were to try to select the “force remove” checkbox by right clicking the node.

The following is how to do it manually (provided by Microsoft support):

1. Execute:

Ldifde -f rtc.txt -d “CN=RTCService,CN=Services,CN=Configuration,DC=yourDomain,DC=com” -p subtree -t 3268

(This command is based on the assumption that the OCS global settings have been moved to the Configuration container.

2. The following will generate a report in the current working folder.

3. Open rtc.txt and find all the references that reference the old server.

4. Open ADSIEdit and connect to the Configuration container.

5. Manually remove the entries found in the RTC.txt file.

I find the best way to locate it is to simply do a find on the old server names such as: someOldserver and anotherOldServer.

image

Now if only Microsoft created a script to do this manually so we don’t have to go through all of these steps to remove it.