Identity & Access
Conceptual illustration: a virtual desktop display with a directory tree, a filter funnel retaining three blue domain nodes while unused gray nodes fade.

Filter Unused Domains in Horizon with vdmadmin

Legacy VMware Horizon 7/8 command workflow, now under the Omnissa Horizon name. Verify syntax, installation paths and restart requirements for your release.

A Horizon health message saying that a domain cannot be contacted needs investigation before it is hidden. An unreachable domain required by users or desktops is an infrastructure problem. A trusted domain that is intentionally outside the deployment may instead be a candidate for a reviewed domain filter.

Decide whether to repair connectivity or filter the domain

Check the Connection Serverโ€™s DNS resolution, domain-controller reachability, time synchronization and trust requirements. DNS conditional forwarders or another approved resolution path may be appropriate; a separate forward lookup zone on the local resolver is not always necessary. Determine whether the domain supplies any users, groups or desktop resources before excluding it.

Domain filtering controls the domains Horizon discovers or presents. It does not remove an AD trust and should not be treated as an independent authorization or security boundary.

Locate vdmadmin and record the current state

Open an elevated PowerShell session on an appropriate Connection Server. This is the historical VMware installation path; verify the executable location on your Omnissa release before using it:

$vdmadmin = 'C:\Program Files\VMware\VMware View\Server\tools\bin\vdmadmin.exe'
if (-not (Test-Path -LiteralPath $vdmadmin)) { throw 'Verify the installed vdmadmin path.' }
& $vdmadmin -N -domains -list
& $vdmadmin -N -domains -list -active

Save a private record of the include/exclude configuration and the reason for the proposed change. Do not publish actual domain names or screenshots from a customer or employer environment.

Exclude only the approved unused domain

& $vdmadmin -N -domains -exclude -domain EXAMPLE -add
& $vdmadmin -N -domains -list
& $vdmadmin -N -domains -list -active

EXAMPLE is a fictitious NetBIOS domain name for the documented legacy syntax, not a value to paste unchanged. Compare the result to the saved configuration. Excluding a needed domain can affect login-domain choices or resource access, so test the affected user journeys and the health display.

Apply any required restart through a maintenance plan

Follow the release-specific documentation for when the Connection Server service needs to restart. A blanket restart across all brokers is not an acceptable default: account for load balancing, new connections and the deploymentโ€™s service dependencies. Verify the filter on the relevant Connection Servers and do not assume that one healthy dashboard proves every path works.

Reverse the exclusion when required

& $vdmadmin -N -domains -exclude -domain EXAMPLE -remove
& $vdmadmin -N -domains -list

Restore the prior filter state if a required domain disappears or a tested login fails. Apply the same controlled restart/acceptance process if your release requires it. If the domain is supposed to remain active, resolve the underlying DNS/network/trust issue rather than reapplying an exclusion to make the warning vanish.

References

1 thought on “Filter Unused Domains in Horizon with vdmadmin”

Leave a Reply

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