Windows Server / Active Directory & Group Policy
Investigate a domain controller that is not advertising correctly
A running AD service does not guarantee the controller advertises the functions clients need. Inspect the controller's advertising test and related logs.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
dcdiag /s:DC01 /test:Advertising /v
What the results mean
The targeted test checks whether the controller advertises expected capabilities. A failed check must be interpreted with service state and the controller's intended role.
Fix the cause and check again
Read the exact DCDiag message, correlate Netlogon and Directory Service events and repair the failed dependency. Verify client discovery afterward.
Before changing production
Do not force a controller into service while recovery or initial synchronization is incomplete.