Detect active RDP connections in Python
Jul 5, 2022
I was searching a whole internet for this type of code and was unable to find anything easy and usable. Unfortunately Windows does not have any API for that neither Python any module so you have to rely on Windows tool.