Robuta

https://fleexlab.blogspot.com/2015/04/remote-desktop-surprise.html Fleex's Lab: Remote Desktop Surprise: WTSGetActiveConsoleSessionId Possibly Unreliable Native Windows developers should be aware that it's possible for zero (only seen from service), one, or multiple users to be logged onto a c... remote desktoplabsurprisepossiblyunreliable