question

ToddGilbey-1447 avatar image
0 Votes"
ToddGilbey-1447 asked GraceHE-MSFT answered

Literally stumped - why does the Task Scheduler start an application, but doesn't start the application?

Right, I'm sorry but this is absolutely the most stupidest thing I have ever come across.

I have create a Task Scheduler entry where a third-party application starts up whenever my system starts up, & regardless as to weather the user is logged in or not.

Upon testing this - before I log in I hear the sound the application makes when it starts, great, but when when I log in, the Application is not there to greet me.

I'm sorry but when I tell Task Scheduler to start an application upon system start-up, that is what I expect it to do, not "announce" it has started up then decide "actually, I'm not going to start up at all...."

Absolutely stupid.

83989-startup-window.png


windows-10-general
startup-window.png (19.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Castorix31 avatar image
0 Votes"
Castorix31 answered ToddGilbey-1447 commented

See MSDN doc at : Task Security Context :

You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered.
To do this, select the radio button labeled Run whether user is logged on or not .

If this radio button is selected, tasks will not run interactively.





· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello, thank for your answer, however, as you can see in the screenshot, the "Run whether user is logged on or not" has been selected.

0 Votes 0 ·

It is what the docs says : if it is selected, the task will not run interactively.

0 Votes 0 ·

As I stated, I'm Windows 2019 Data Centre & this is for Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows Vista, but you know what, seeing as something that should be as simple as breathing turn into a total idiotic sanity sell-off because God Forbid should Microsoft just make things simple, going to hire someone.

I'm sorry but it should just be easy. You tell the Task Scheduler to start an application regardless as to weather the user has logged on or not. What would you reasonable expect to have happen?

  • You power up

  • The application starts

  • you login

  • Oh hey, look at that, it's the application, there, ready and waiting!

But oh no, because we have to go through some entire rigmarole, which starts off with it doing something completely unexpected, you try something new, still doesn't work, you read through some documentation, which probably won't work either.

I'm done, someone else can deal with this. Sick to death of this!


0 Votes 0 ·

As Castorix31 said, the task runs, but NOT INTERACTIVELY
The documentation is clear

0 Votes 0 ·

Whilst you may enjoy perusing though documentation at your leisure all day - which is absolutely fine if that's what you enjoy, not knocking that at all - but I don't have time, if I tell a programme to do something, I don't want any fuss, faff or otherwise. If I tell a programme to do something, it does it.

Simple,
Finished,
Onto the next task.

This is not an awkward, disobedient five-year-old ill-disciplined child, we're dealing with her, it's a piece of software. It's as simple as that.

If people love knowing about the software architecture of Windows, fine, but that's not me. I have an extremely short fuse when it comes to this sort of thing. It's either going to be simple, or it get's picked up and thrown against the wall....

0 Votes 0 ·
Castorix31 avatar image
0 Votes"
Castorix31 answered simonberrurier-7045 commented

A workaround =>

As explained above, Task Scheduler without User Login : Not interactive applications (without GUI)

To launch an application with a GUI without User Login :

Type
[Win] + R
(execute dialog box)
Type :
shell:common startup
(global StartUp folder)
Then you can add there a shortcut to your app, which will be executed without logged on User and will appear after you log on
(tested on Windows 10 1909)

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bored now, not interested.

Done with it.

0 Votes 0 ·

People spend their time to help newbies like you and this sort of immature answer is just pathetic

0 Votes 0 ·
GraceHE-MSFT avatar image
0 Votes"
GraceHE-MSFT answered

Hi,
Thank you for posting your query. According to your description, here are some hints for you.

Task schedulers start a task and shows running, but nothing happens
https://docs.microsoft.com/en-us/answers/questions/76050/task-scheduler-start-a-task-and-shows-running-but.html

Best Regards,
Grace

---If the suggestions above are helpful, please ACCEPT ANSWER. Really appreciate. This will also help others with similar issue to find this post quickly. ---

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.