I have a batch file that stops and restarts a service. I'm trying to make a task to run that when the computer wakes from sleep but it doesn't run. On the history it does say the task is completed. If I click run manually it also works.
I have the trigger as:
Begin the task: On an event
Log: System
Source: Power-Troubleshooter
I set it to run only when the user is logged on, if I use run whether user is logged on or not it gives me an error.
I have the trigger as:
Begin the task: On an event
Log: System
Source: Power-Troubleshooter
I set it to run only when the user is logged on, if I use run whether user is logged on or not it gives me an error.
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Custom build
- OS
- Windows 7 64 bit
- CPU
- i5 4690k
- Motherboard
- Asrock Z97m Pro4
- Memory
- 16gb DDR3 SDRAM DDR3 1866
- Graphics Card(s)
- ATI HD 7770
- Sound Card
- HTO Striker
- Hard Drives
- Sandisk Extreme 250gb SSD
- PSU
- Corsair CX 500
