I would like to create a notification for a user in case he is connected remotely and black screen is not enabled. I know the user sees the option in his session "Actions" bar but I would like to be able to programmatically tell them "hey, you forgot to enable black screen".
I did find the option to enable black screen via registry and reload settings via —ReloadSettings cmd option, but this works only for new sessions and the problem is there are situations (more specifically times of day) during which I do not want black screen to be active because both the remote and local user are watching what's happening. This creates a situation where I cannot have black screen enforced all the time and a user might've created a session before the "enable black screen for new sessions" is set.
So my idea is to create a scheduled check during the "periods when black screen should be active" that would check if black screen is active and if not, notify the user. But I have found no way to detect if black screen is actually active. Is there a way?
Using TeamViewer 15.63 for Windows.