DesktopBridge app - Full trust process not launched when background execution disabled

Jos Huybrighs 136 Reputation points
2021-09-18T11:40:02.33+00:00

I got feedback from users that my Windows Store app fails to launch the win32 process when background execution of apps is disabled in Windows.
The app is a DesktopBridge app with a UWP app that is launched when the user opens the app, and the win32 part (a winforms process without UI) is launched when the user clicks a button in the UI of the UWP app.

When they enable background execution in Windows Settings / Privacy / Background-apps everything works as expected.

Is this an expected behavior? I thought enabling background-apps is only for my own background tasks that have to be registered by the UWP app.

Universal Windows Platform (UWP)
{count} votes