I'm trying to automatically launch an UWP (Electron-based) application when the user logs in, so I've defined a StartupTask in the AppxManifest.xml like it is explained in this docs from Microsoft.
While this solution works as expected when Tablet Mode is off, if the user logs in with Tablet Mode enabled the application is executed, but Start Menu remains in foreground and covers my application.
Is there a way to obtain this behavior, or to force my application to gain foreground, or to enable/disable Tablet mode (in order to enable Tablet mode after the application started)?