WhyAreYouHere

Job ID: 31972075

Budget: $250 – $750 AUD

Summery: I need to detect when people are connecting to a machine using RDP or Console login and Display a window requesting the reason and a check code.
If the check code is not valid (Formula to be supplied) the session is disconnected/closed.
Thoughts: The utility should be started when the machine starts and registers with Windows (using WTSRegisterSessionNotification). It can then listen for the WM_WTSSESSION_CHANGE message. When it detects a Login / Connection to the machine (Direct or RDP) displays the window prompting the user for a reason for connecting to the machine (server / workstation). Writes this information to the event log.
Ability to display custom Message Full Screen and if window is closed without reason, disconnect / sign out the user (depending on connection type).
This is less about security (they have access) and more about Audit. I also don't want to sign out existing sessions in case they just type the code wrong (maybe 3 attempts before disconnect). A separate script already monitors the event logs for similar messages and alerts sysadmin.