Link to home
Start Free TrialLog in
Avatar of Albert Widjaja
Albert WidjajaFlag for Australia

asked on

How to check KCC configuration is set on Windows Server 2012 R2 and Server 2003 before decommissioning DC/GC?

Hi,

Can anyone pelase assist me with how to check the KCC configuration in both version of Windows Server 2003 and 2012 R2 ?

Because the Automatic recalculation and AD Sites link conenction somehow cannot be established so I had to manually create the link from each of my 72 site offices to my newly created domain controller and if I forgot to create the link to my new DC, somehow AD replication didn't work.

This KB article: https://support.microsoft.com/en-us/kb/242780 it is for configuring KCC values on Windows Server 2003

Thanks.
Avatar of Albert Widjaja
Albert Widjaja
Flag of Australia image

ASKER

This is the error and the event logged daily in my existing domain controller (2012 R2):

Log Name:      Directory Service
Source:        Microsoft-Windows-ActiveDirectory_DomainService
Date:          2/06/2015 8:33:22 AM
Event ID:      1311
Task Category: Knowledge Consistency Checker
Level:         Error
Keywords:      Classic
User:          ANONYMOUS LOGON
Computer:      HQDC01.domain.com
Description:
The Knowledge Consistency Checker (KCC) has detected problems with the following directory partition.
 
Directory partition:
CN=Configuration,DC=domain,DC=com
DC=ForestDnsZones,DC=domain,DC=com
DC=DomainDnsZones,DC=domain,DC=com
DC=domain,DC=com

 
There is insufficient site connectivity information for the KCC to create a spanning tree replication topology. Or, one or more directory servers with this directory partition are unable to replicate the directory partition information. This is probably due to inaccessible directory servers.
 
User Action
Perform one of the following actions:
- Publish sufficient site connectivity information so that the KCC can determine a route by which this directory partition can reach this site. This is the preferred option.
- Add a Connection object to a directory service that contains the directory partition in this site from a directory service that contains the same directory partition in another site.
 
If neither of the tasks correct this condition, see previous events logged by the KCC that identify the inaccessible directory servers.



Log Name:      Directory Service
Source:        Microsoft-Windows-ActiveDirectory_DomainService
Date:          2/06/2015 8:33:22 AM
Event ID:      1865
Task Category: Knowledge Consistency Checker
Level:         Warning
Keywords:      Classic
User:          ANONYMOUS LOGON
Computer:      HQDC01.domain.com
Description:
The Knowledge Consistency Checker (KCC) was unable to form a complete spanning tree network topology. As a result, the following list of sites cannot be reached from the local site.
 
Sites:
CN=BranchOffice1,CN=Sites,CN=Configuration,DC=domain,DC=com
CN=SiteOffice1,CN=Sites,CN=Configuration,DC=domain,DC=com
CN=DataCenter,CN=Sites,CN=Configuration,DC=domain,DC=com
SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Will,

so how to enable the automatic KCC calculation so that I can delete those manually created ADSite Link safely ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will, is there any other way to quickly check if the KCC setting is/was disabled ?
THe LDP.exe way is for old Win2003 andhard to use.
ok, as per this KB article: https://technet.microsoft.com/en-us/library/dd723682%28v=ws.10%29.aspx

1. Open Active Directory Sites and Services: On the Start menu, point to Administrative Tools, and then click Active Directory Sites and Services.
2. In the console tree, expand Sites, and then select the site for which you want to enable the KCC.
3. In the details pane, right-click the NTDS Site Settings object for the selected site, and then click Properties.
4. In NTDS Site Settings Properties, on the Attribute Editor tab, select the options attribute, and then click Edit.
the value in my new HQDC01 is <not set>

does that means it is automatic KCC is enabled ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks !