Hello! I've got the same issue and have resolved it with following steps:
First try to run LCSDiscover.vbs script from OCS Resource Kit:
cscript.exe LCSDiscover.vbs /Action iscoverLCSGlobalSettings /Provider:GC
/File:Globalsettings.xml
in my case it showed this error:
ERROR: More than one global container found in the forest
Then I found duplicate "Global Settings" object using Ldp.exe:
1. Start Ldp.exe.
2. Click Connection, and then click Connect.
3. Type the server name of the domain controller that you want to connect
to, and the port (389).
4. Click Connection, and then click Bind.
5. Click Browse, and then click Search.
6. Type in Base DN: domain DN (example: DN=contoso,DN=com)
7. Type in Filter: (cn=Global Settings)
8. Select Scope: Subtree
9. Click Run
I have got something like:
***Searching...
ldap_search_s(ld, "DC=contoso,DC=com", 2, "(cn=Global Settings)", attrList,
0, &msg)
Result <0>: (null)
Matched DNs:
Getting 2 entries:
>> Dn: CN=Global Settings,CN=RTC Service,CN=Microsoft,CN=Machine,CN={...},CN=Policies,CN=System,DC=contoso,DC=com
>> Dn: CN=Global Settings,CN=RTC Service,CN=Microsoft,CN=System,DC=contoso,DC=com
The right one container is CN=Global Settings,CN=RTC
Service,CN=Microsoft,CN=System,DC=contoso,DC=com, the second one is wrong
RESOLUTION:
Delete the additional "Global Settings" container with adsiedit.msc