Locate and manage windows who are stubborn about showing up in screen recording tools
This source code is supplied for educational usage only. You should only attempt this on software you explicitly have permission to test on.
The author additionally strongly advises against running this program against any tool with an anticheat or antidebug; it is not at all subtle. I'm serious, don't even run this on a different process if an anticheat is watching your system, they will almost certainly flag you either way.
The author does not accept liability for any actions taken with this software.
- Build the DLL and exe files. Ensure they're output to the same directory.
- You might have to set "use multi-byte character encoding" in your compiler settings
- As an administrator, run Displayinator.exe, argument usage is below
Locate and manage window Display Affinity values
Usage:
Displayinator [OPTION...]
-l, --list-processes List processes with a non-zero display affinity
value
-p, --pid arg The PID of the process whose display affinity you
wish to set to zero
-f, --filename arg The name of the image file whose display affinity
you wish to set to zero (eg explorer.exe)
-h, --help Print usage
Some windows can set a flag on themselves so that they don't show up in screen shares or in screenshot tools, etc. - this utility finds those windows, and makes it so that they are visible to these tools.
Copyright 2025 Bentechy66
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.