Hi,
I installed rds on a Windows Server 2016 and a Remote Desktop Application (exe)
User are in remote desktop user group.
The user is allowed to start an rds application through a rdp file from a client computer.
The User is not allowed to Logon to the desktop of the server.
I need a script/ mechanism which check's weather (1) the User logon via starting my application or (2) logon on Windows desktop.
In Case the user starts to logon the desktop (2) if have to refuse/stop/hinder the logon
(i see, that in case the user logon starting my application(1), rdshell.exe ist running)
Perhaps there are other, easier indicators for deciding where the Logon comes from.
Any ideas?
Thank you in advanced