WindowsAppSDK: UI Access is not supported for Desktop AppX processes

Describe the bug Cant use .MSIX packaging for WinUI3 Desktop apps that uses UIAccess. When launching the app an error “the request is not supported” pops up, and the app fails to launch.

The following error is observed in event viewer: 0x80070032: Cannot create the process for package fd6e7c45-f095-4b47-a46a-71657af65eae_1.0.0.0_x64__0dbdf1n3n58kt because UI Access is not supported for Desktop AppX processes. [LaunchProcess]

Steps to reproduce the bug

Steps to reproduce the behavior: Package any Winui3 App with UIaccess = True Install apps .msix Run app Error Occurs

Expected behavior it works

Version Info OS: Windows 11 Build 22489.1000

NuGet package version: WindowsAppSDK 0.1.0-prerelease3

Windows version Saw the problem?
Insider Build (xxxxx) Yes
May 2020 Update (19041) Yes
November 2019 Update (18363) Yes
May 2019 Update (18362) Yes
October 2018 Update (17763) Yes

Additional context This is a major problem as it prevents apps that require UIaccess = True from using .MSIX packaging, commonly assistive technologies apps.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 5
  • Comments: 39 (11 by maintainers)

Most upvoted comments

Hi @riverar, Thanks for the suggestion, unfortunately that doesn’t work either, still get the same UI Access is not supported for Desktop AppX processes error. This is the list of capabilities I’m currently using.

  <Capabilities>
    <rescap:Capability Name="runFullTrust" />
    <rescap:Capability Name="uiaccess" />
    <rescap:Capability Name="allowElevation"/>
    <rescap:Capability Name="uiAutomation"/>			
   </Capabilities>