Help Needed With Vista Business Task Scheduler

Urbane.Tiger

New Member
I want to start a program when ever a User Account becomes the active account and to stop the program (using TaskKill) when a User Account ceases to be the active account

To start the program I set up a scheduled task (Start) triggered by User Logon, User Local Connect and User Unlock. To stop the program I set up a scheduled task (Stop) triggered by User Local Disconnect and User Lock.

The program is not started when triggered by a Logon trigger but it is started on a Local Connect or User Unlock triggers.

The difference is manifested in the events that are logged - these are the events logged (presented as a stack - ie last event at top of stack)

Code:
[FONT=Courier New]
Logon      Connect      Task Category                  Op  Code
---Event Id---
102                     Task Completed                   (2)
201                     Action Started                   (2)
129           129       Created Task Process             Info
200           200       Action Started                   (1)
100           100       Task Started                     (1)
319           319       Engine Received Message          (1)
119           120       Task Triggered                   Info
[/FONT]


It seems that those last two events actually terminate the program - can anyone explain what's happening here, and how I can fix it.
 
Last edited:

My Computer

System One

  • CPU
    Intell 8200
    Motherboard
    ASUS P%PKL
    Memory
    4G
    Graphics Card(s)
    ATI 2400 PRO
    Hard Drives
    1 x 74G WD Raptor 10K
    1 * 500G WD SATAII
gDay Raj

Has the password changed for the account that the task was created under?
Yep - from "password" to nuthin - what is the significance of password change

Also what does the Windows Applications/System logs say?

Application logging is Off - I could turn it on, but whether I can interpret it is moot, probably need to contact developer.

Where do I find the system logs.

Will not be able to do much until middle of next week as system is being sent up country 2mora AM my time (GMT+10) and I wont follow it 'til next tuesday.

tks urbane.tiger
 

My Computer

System One

  • CPU
    Intell 8200
    Motherboard
    ASUS P%PKL
    Memory
    4G
    Graphics Card(s)
    ATI 2400 PRO
    Hard Drives
    1 x 74G WD Raptor 10K
    1 * 500G WD SATAII
Back
Top