Share via

SetWindowDisplayAffinity bad usecase

Anonymous
2024-04-09T20:58:03+00:00

Hey,

We have a classroom of exam computers that are monitored by the class admin through a remote feed that uses the Windows API to take screenshots at specified intervals. Some students have found that if they execute an app with SetWindowDisplayAffinity(logo_hwnd, WDA_EXCLUDEFROMCAPTURE), it will be invisible to any monitoring tool except physical cameras, thus allowing them to cheat, which is bad. Can a computer administrator execute some command to disable this function? Maybe there is methods to take a screenshot ignoring this setting.

Sincerely, Marius

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2024-04-10T09:26:47+00:00

Hello Romenas,

Thanks for visiting Microsoft Community.  

I wish I could handle your problem, however, the issues on Windows API is out of reach of the response support community. It is more suitable for publishing on Microsoft Learn (English only), you can click on "Ask a question", there are experts who can provide more professional solutions in that place.Here is aLINK to the forum where you can raise specific scenarios and share your idea to help solve the problem.Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding!

Best wishes

Lyla Liu - MSFT |Microsoft Community Support Specialist

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful