Task Scheduler - scheduled task to run as SYSTEM not fire

1

Following the answer here:

How can I run a scheduled task as SYSTEM

I have created task to be run using SYSTEM account Task to be run on System account

But it does not start on scheduled time.

When I change it from system to my account it runs without problems

Why? Is it because "Run only when user is logged on" option checked? ( on the scheduled time I am logged to computer ). But this option is greyed - I can not change it.

user3057544

Posted 2017-02-15T07:42:46.947

Reputation: 111

You might want to check the event log for the task scheduler under "Application and Service Logs" -> "Microsoft" -> "Windows" -> "Task Scheduler". – Adwaenyth – 2017-02-15T08:10:52.647

event claims: "Task Scheduler succesfully finished for ... [my task]". But the scheduled program didn't start. – user3057544 – 2017-02-15T08:38:57.963

It most likely did - in the SYSTEM user context. That means you will not see any window popup, because it wasn't launched in your own user context. In the task manager, you might see the application running in the system user context. – Adwaenyth – 2017-02-15T08:44:18.843

Ok - you are probably right. But what if this application is for example AutoItScript, which runs another program and is clicking on its UI? Will it works correct? – user3057544 – 2017-02-15T08:49:40.147

Answers

0

Don't know if SYSTEM user actually gets a real user space generated to begin with - let alone window rendering. I think any UI related tasks might be troublesome.

Adwaenyth

Posted 2017-02-15T07:42:46.947

Reputation: 171