Hi all
how do i disconnect RDP session programatically in c# or c++?
Abdul Khaliq
Use WTSDisconnectSession.
You could try running tsdiscon: http://support.microsoft.com/kb/321705