Forum Discussion
Registry setting to exclude specific processes from UI Automation
Currently, Windows does not provide a registry setting to disable UI Automation (UIA) for specific processes, since UIA is a system-wide accessibility framework and one misbehaving app can unfortunately interfere with others. While there isn’t a “DisableUIAutomation” flag like Image File Execution Options, possible workarounds include using the Application Compatibility Toolkit to apply shims, isolating the problematic app in a VM or sandbox, or filtering it out in your own automation logic to avoid hangs. More advanced methods to suspend UIA providers within a target app exist but are unsupported and fragile. If this issue is critical, the best path is to raise it with Microsoft via Developer Support or the Feedback Hub so it can be considered for future implementation.