Search code examples
vb.netrdpkill-processterminal-services

Vb.net kill process


I've a problem to resolve that is: I need to kill some process when a user disconnect (not logg off) his rdp session.

This is an app which makes an established connection that is running for ever if the user forget logging off his Windows Rdp session and what i need is to kill it.

Thanks in advance


Solution

  • Create an application that does the following:

    Use task scheduler to run this application every few minutes with administrative permissions.