Active Directory – Check communication (portqueryUI)
Active Directory – Check communication (portqueryUI)

Active Directory – Check communication (portqueryUI)

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.

portqueryui unzip of the installer files


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.

Test the connection to a Domain Controller


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.

Tom Linger

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.

回复
Kawsar Ahmed (Intaork)

Graphic Design Expert | Motion Graphics | PowerPoint Animation & Corporate Design Solutions

7 个月

Very helpful!

Manas Dash

Active Directory Architect

7 个月

Very informative

要查看或添加评论,请登录

Andreas Hartig的更多文章

社区洞察

其他会员也浏览了