I have an application developed on vb.net and I want to put it to run automatically on a server when I boot the system, so I'm using the windows task scheduler.
The problem is that if I open the application manually (without using the task scheduler) the application form is displayed, but if the task scheduler executes it or forces it to run from it, no application opens form, although the process appears in the task manager and the application does what it should ..
Any idea where the problem might come from?
Edit
I have tried to create a .bat that opens the program, and that the task scheduler opens that .bat instead of the program directly, but the same thing still happens.
Edit 2
It seems that when you schedule the task to start even if no user starts a session, it runs as a service. That seems the reason why no form is shown.
I leave the question open in case someone comes up with something new but seems to have no solution.