1

I have an application made in Visual Studio 2013 and I use Task Scheduler to run .exe version. Task is set to work every day whether user is logged on or not. Created Task Scheduler will work on the day when is created but when I turn off PC and tomorrow turn on PC in Task Scheduler for my task there is nothing in 'Next Run Time' and task doesn't running my application. If I open task and just confirmed OK it will start again to work.

fixer1234
  • 28,064
SeaSide
  • 13

1 Answers1

1

Have a look at this topic : Run interactive task even if user is not logged on Windows

This methods automatically logs in, runs the task, and locks the machine right after.

Else, if you are simply looking to run the application on boot after logging on, why not place it in Window's startup folder?

C:\Users\YOUR-USER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Start-up

Create a shortcut of your exe and drop it in the above directory - the .exe will run once Window boots up.

Carrein
  • 1,542