On "Power-Troubleshooter" event in Task Scheduler not triggering

2

I am attempting to run an event via Task Scheduler in order to restart my trackpad driver (code to do so below) every time my system wakes up, as a troubleshooting measure. However, in Task Scheduler, I am having some issues.

If I run the program manually via Task Scheduler it works perfectly and shows up in the event's history. However, giving it the change to try and execute itself after the "Power-Troubleshooter" event is triggered - it just doesn't work. And I need to find out why.

There is no history in the Task Scheduler that shows the event was ever performed, it's just blank. However, I can see in Event Viewer the event 'Power-Troubleshooter' was called. Below are all my configurations:

Task Scheduler - General
Task Scheduler - Triggers
Task Scheduler - Action
Task Scheduler - Settings

And finally, the actual event that is being triggered in Event Viewer:

Event Viewer - Event

It's important to note this only works when I run as administrator, for some reason it just does not like it when I select my profile to run the Task on.

Any pointers as to getting this working would be appriciated.

Polymer

Posted 2017-10-28T05:05:10.040

Reputation: 143

Have you enabled the administrator account? I use WinAero: the down-load link is hard to find, but the software is good. Alternatively, this link shows how to do it manually.

– AFH – 2017-10-28T09:26:01.513

Yeo! Admin account is active. – Polymer – 2017-10-28T09:37:43.283

Answers

0

Found the answer here! Turns on, there are actually two listed event 'Source's with BOTH names being "Power-Troubleshooter". Annoying, however, switching to the second one yielded perfect results!

So if anybody else is having this issue, give that a try!

Polymer

Posted 2017-10-28T05:05:10.040

Reputation: 143

I can see only one event source called "Power-Troubleshooter" under System. Where is the other? – tubbie – 2019-05-22T10:04:45.613