I am utilizing Remote Desktop services (Terminal Services) on a Server 2019 VM. I need to be able to get the Client’s name from terminal services as I can’t use Client HostName or IP address as that is the same for all clients as it reports the RDS Server info. I need to differentiate between the clients to auto-login certain default users on certain clients.
I am hoping I can get this info in Python behind the scenes but not sure where to look.
I have done this in another unnamed SCADA package before - but they have built-in script
TseGetClientNodeName( ) - which returns the terminal services client name.