• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

Enable or disable a Global Catalog role on a DC

Dimitris Tonias by Dimitris Tonias
January 19, 2018 - Updated on April 21, 2024
in Management
Reading Time: 2 mins read
A A
0
Share on FacebookShare on Twitter

When we promote a Windows Server 2016 to a Domain Controller, it will also set to have the role of the Global Catalog (GC) server as a default. Unless of course, you uncheck the corresponding option in the Configuration Wizard. Which of your Domain Controllers are GCs? It’s very easy to check it out.

In the following steps, we’ll see how to enable and disable a Global Catalog server using both the graphical user interface and PowerShell. In addition, if we enable a GC, we’ll see how to check if it’s ready to use in the Active Directory infrastructure.

Using the GUI

After you connect to DC, open the Active Directory Sites and Services console. Expand the Sites container until you find the DC you want to check. Right-click NTDS Settings and then click Properties.

Enable or disable a Global Catalog role on a DC

Here, on the General tab, click Global Catalog to activate the role or uncheck it to disable it.

Enable or disable a Global Catalog role on a DC

Using PowerShell

To enable the Global Catalog on a DC, use the following command and change values according ​​to your infrastructure.

Set-ADObject "CN=NTDS Settings,CN=Fabrikam-DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=Fabrikam,DC=COM" -Replace@{options='1'}

Set-ADObject "CN=NTDS Settings,CN=Fabrikam-DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=Fabrikam,DC=COM" -Replace@{options='1'}

Alternatively, with one variation you can simply type the name of the DC as shown below.

Set-ADObject -Identity (Get-ADDomainController DC02).ntdssettingsobjectdn -Replace @{options='1'}

Set-ADObject -Identity (Get-ADDomainController DC02).ntdssettingsobjectdn -Replace @{options='1'}

For both cases, the option options = ‘1‘ refers to the activation of the Global Catalog and the option options = ‘0‘ to disable it.

Global Catalog readiness check

As a typical next step, once you have activated the Global Catalog, it is good to check its readiness. A GC is “advertised” on the network and assumes the role of GC only when replication is completed.

To do this using the graphical user interface, type LDP in the search bar and open the corresponding tool. Click on the Connection menu and then Connect. Here, make sure the port is set to 389 and click OK.

Enable or disable a Global Catalog role on a DC

In the text that appears, find the isGlobalCatalogReady value and if it has the TRUE value then your GC is ready.

Enable or disable a Global Catalog role on a DC

Alternatively, you can check the GC readiness through the command line. Type the following command by changing the values ​​with your own.

nltest /server:<servername> /dsgetdc:<domainname>

nltest /server:<servername> /dsgetdc:<domainname>

Enable or disable a Global Catalog role on a DC

If the GC record is displayed in the Flags it means again that your GC is ready.

Tags: Domain ControllerGlobal CatalogPowerShellWindows Server 2016
ShareTweetPin
Previous Post

Determine if a DC is a Global Catalog (GC) server

Next Post

[Fix] An unexpected error occurred in the WSUS snap-in

Related Posts

Approve updates in WSUS 2016
Management

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016
Management

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016
Management

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016
Management

The initial configuration of WSUS 2016

Install WSUS in Windows Server 2016
Management

Install WSUS in Windows Server 2016

Error opening Report Viewer on WSUS 2016
Management

Error opening Report Viewer on WSUS 2016

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.