C# Application (MSIX installation): Startup Task before User Login?

Copper Contributor

Hello,

i have a question regarding auto-start an application:

I have a C# WPF Application, packaged as an MSIX installation.
And i successfully setup a StartUp Task via entry in the Manifest.
That works fine - after user logs in, the app is started automatically.

 

But as an additional feature we would need to be able to auto-run the app BEFORE user logs in.
After Windows startup, before user login.

Is there a way to do so?
I didn't find a solution until now...

 

Creating a scheduled task for example i found to be not possible, because i can only run a regular .exe file, but no installed application.

 

Thank you for help!

Best regards
Emanuel

1 Reply
MSIX apps require the user to be logged in. However...

MSIX apps may contain windows services. These services are deployed at the system level, and may be set to AutoStart (before the user logs in). So if you can code it as a service, you might get it to work.

But what is it that you really want this startup task to do?