Active Directory – Check communication (portqueryUI)
Andreas Hartig
Microsoft MVP Windows Server | Azure Hybrid & Migration, RCDA Trainer, CGI Luminary, Director Consulting Expert
Table of Contents
Overview
With network segmentation, domain controllers often have to configured on a firewall. How do you test, verify and document the functioniality or errors?
You often have to run tests, repeat them and document them. I like to use the Microsoft port query tool for this and add the GUI – graphical user interface – for better visibility.
The tool is available from Microsoft and allows various functions to be executed and run against DNS names of systems or IP addresses.
Download and Installation of portqueryUI
To do this, we download the programme directly from Microsoft via this link or search for ‘portqueryUI’ in the search engine of our choice.
Execute the downloaded file and accept the licence agreement. Then select the path for unpacking the files. In the example, I unzip this into my user directory under Documents on the test server.
Configuration
Then set the programme so that the domain controller to be tested is set as the destination IP and select the Domain and Trusts service.
The tool then automatically checks all relevant network ports to the domain controller and reports if certain communication does not work.
Summary on how to check Active Directory communication with Port Query
For me, an unjustly forgotten ‘treasure’ of a tool. I still like to use it and will do so again and again. For more tools to check connectivity take a look at WinMTR here.
Senior Identity & Access Management Engineer at CNG Holdings
7 个月One downside that I have discovered. RPC ephemeral ports are not checked to ensure that they are open. Yes, it will test tcp/135 and return the ports, but does not check them. There is a PS script that I found that does check them though. Wish that I had a link to it that I could port here.
Graphic Design Expert | Motion Graphics | PowerPoint Animation & Corporate Design Solutions
7 个月Very helpful!
Active Directory Architect
7 个月Very informative