How to find out which server in domain is Global Catalog – Windows Server 2012 R2

What is Global Catalog ? The global catalog is a distributed data repository that contains a searchable, partial representation of every object in every domain in a multi domain [easyazon_link identifier=”1782175997″ locale=”US” tag=”wn0d5-20″]Active Directory[/easyazon_link] Domain Services (AD DS) forest. The global catalog is stored on domain controllers that have been designated as global catalog servers and is distributed through multimaster replication. Searches that are directed to the global catalog are faster because they do not involve referrals to different domain controllers.

Here are 3 ways how you can quickly find out all your Global catalog servers in [easyazon_link identifier=”0321228480″ locale=”US” tag=”wn0d5-20″]Active Directory[/easyazon_link] domain in [easyazon_link identifier=”178439307X” locale=”US” tag=”wn0d5-20″]Windows Server 2012 R2[/easyazon_link]:

By using dsquery:

C:\>dsquery server -isgc -domain  "ad.contoso.com"
# RESULT
"CN=HQDC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ad,DC=contoso,DC=com"
"CN=HQDC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ad,DC=contoso,DC=com"
"CN=AWSDC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ad,DC=contoso,DC=com"

By using nslookup:

C:\>nslookup gc._msdcs.ad.contoso.com
# RESULT
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
primary name server = 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
0.0.0.0.0.0.0.ip6.arpa
responsible mail addr = (root)
serial = 0
refresh = 28800 (8 hours)
retry = 7200 (2 hours)
expire = 604800 (7 days)
default TTL = 86400 (1 day)
Server: UnKnown
Address: ::1

Name: gc._msdcs.ad.contoso.com
Addresses:172.18.2.224
10.0.144.163
172.18.2.229

As well the last option to find out quickly is via GUI in your [easyazon_link identifier=”0735682550″ locale=”US” tag=”wn0d5-20″]Windows Server 2012 R2[/easyazon_link] DC in few steps:

  1. Open Active Directory Sites and Services.
  2. In the console tree, expand the Sites container, expand the site of the domain controller you want to check, expand the Servers container, and then expand the Server object.
  3. Right-click the NTDS Settings object, and then click Properties.
  4. On the General tab, if the Global Catalog box is selected, the domain controller is designated as a global catalog server.

In case you are interested how to Add or Remove Global Catalog – here is KB Article – Add and Remove Global Catalog.

[easyazon_image align=”none” height=”160″ identifier=”178439307X” locale=”US” src=”http://blog.technotesdesk.com/wp-content/uploads/2015/05/51gnIFGGd2L._SL160_1.jpg” tag=”wn0d5-20″ width=”130″]

Leave a Reply