- Select a category.
Allow UI Automation redirection
This policy setting determines whether User Interface (UI) Automation client applications running on the local computer can access UI elements on the server.
UI Automation gives programs access to most UI elements, which lets you use assistive technology products like Magnifier and Narrator that need to interact with the UI in order to work properly. UI information also allows automated test scripts to interact with the UI.
Remote Desktop sessions don't currently support UI Automation redirection.
If you enable or don't configure this policy setting, any UI Automation clients on your local computer can interact with remote apps. For example, you can use your local computer's Narrator and Magnifier clients to interact with UI on a web page you opened in a remote session.
If you disable this policy setting, UI Automation clients running on your local computer can't interact with remote apps.
Registry Information
| Vendor | Microsoft |
|---|---|
| Product | Terminal Server |
| Category | Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection |
| Applies to | Computer Configuration |
| Supported on | Windows 10 0 21H2 NOSERVER |
| Registry Key | [HKLM]SOFTWAREPoliciesMicrosoftWindows NTTerminal Services |
| Value Name | EnableUiaRedirection |
| Type | REG_DWORD |
| Enabled value | 1 |
| Disabled value | 0 |
Registry File (.reg)
Windows Registry Editor Version 5.00
; Enable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"EnableUiaRedirection"=dword:00000001
; Disable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"EnableUiaRedirection"=dword:00000000PowerShell
# Enable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "EnableUiaRedirection" -Value 1 -Type DWord
# Disable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "EnableUiaRedirection" -Value 0 -Type DWord 